Abstract
The tert‐butyl esters of indole‐5‐carboxylic acid and related compounds such as benzofuran‐ and benzothiophene‐5‐carboxylic acid were readily accessed by reacting the appropriate carboxylic acids with tert‐butyl trichloroacetimidate. To obtain the tert‐butyl esters of the 5‐carboxylic acids of 1H‐benzotriazole and 1H‐benzimidazole, position 1 of these heterocycles had to be protected by acetylation prior to reaction with tert‐butyl trichloroacetimidate. Cleavage of the acetyl residue of the obtained intermediates by dilute aqueous NaOH in ethanol led to the desired tert‐butyl 1H‐benzotriazole‐and 1H‐benzimidazole‐5‐carboxylates.