Covalent functionalization tailors carbon nanotubes for a wide range of applications in varying environments. Its strength and stability of attachment come at the price of degrading the carbon nanotubes sp2 network and destroying the tubes electronic and optoelectronic features. Here we present a non-destructive, covalent, gram-scale functionalization of single-walled carbon nanotubes by a new [2+1] cycloaddition. The reaction rebuilds the extended π-network, thereby retaining the outstanding quantum optoelectronic properties of carbon nanotubes, including bright light emission at high degree of functionalization (1 group per 25 carbon atoms). The conjugation method described here opens the way for advanced tailoring nanotubes as demonstrated for light-triggered reversible doping through photochromic molecular switches and nanoplasmonic gold-nanotube hybrids with enhanced infrared light emission.