A controllable palladium-catalyzed intramolecular C-H activation of N-alkyl- N-arylanthranilic acids has been developed. The methodology allows selective synthesis of 1,2-dihydro-(4 H)-3,1-benzoxazin-4-ones and carbazoles from the same starting materials and palladium catalyst. The selectivity is controlled by the oxidant. Silver oxide promotes C(sp3)-H activation/C-O cyclization to provide 1,2-dihydro-(4 H)-3,1-benzoxazin-4-ones, while copper acetate contributes to C(sp2)-H activation/decarboxylative arylation to afford carbazoles. This protocol is demonstrated by its wide substrate scope and good functional group tolerance.