text: Aryl azides may be prepared by displacement of the appropriate diazonium salt with sodium azide or trimethylsilyl azide. Nucleophilic aromatic substitution is also possible, even with chlorides. Anilines and aromatic hydrazines undergo diazotization, as do alkyl amines and hydrazines.