Sulfonic acids can be converted to esters. This class of organic compounds has the general formula R−SO−OR. Sulfonic esters such as methyl triflate are considered good alkylating agents in organic synthesis. Such sulfonate esters are often prepared by alcoholysis of the sulfonyl chlorides:
:RSOCl + R′OH → RSOOR′ + HCl