Abstract Selective modification of heteroatom-containing aromatic structures is in high demand as it permits rapid evaluation of molecular complexity in advanced intermediates. Inspired by the selectivity of deaminases in nature, herein we present a simple methodology that enables the NH 2 groups in aminoheterocycles to be conceived as masked modification handles. With the aid of a simple pyrylium reagent and a cheap chloride source, C( sp 2 )‒NH 2 can be converted into C( sp 2 )‒Cl bonds. The method is characterized by its wide functional group tolerance and substrate scope, allowing the modification of >20 different classes of heteroaromatic motifs (five- and six-membered heterocycles), bearing numerous sensitive motifs. The facile conversion of NH 2 into Cl in a late-stage fashion enables practitioners to apply Sandmeyer- and Vilsmeier-type transforms without the burden of explosive and unsafe diazonium salts, stoichiometric transition metals or highly oxidizing and unselective chlorinating agents.