Acetic anhydride is a common acetylation reagent and is suitable for the acetylation reaction of most hydroxyl compounds. Using acetic anhydride as the acylating agent, the product has high purity and good yield. The reaction conditions for acetyl chloride are harsh.