A convenient and efficient method for the preparation of anthranilic esters and anthranilic thioesters has been developed by the treatment of N-(2-aminobenzoyl)benzotriazoles with alcohols and thiols in the presence of 4-(dimethylamino)pyridine (DMAP).