1H-Benzotriazol-1-yl methanesulfonate has been found to be an effective reagent in selective mesylation for differentiating amino groups from one another. In a molecule with both primary and secondary amino groups, mesylation only occurred at the primary amino group. When a compound contains both amino and hydroxy groups, the reagent selectively mesylated at the amino groups.