Chemists have developed a safer azide-to-diazo reaction pathway for synthesizing nitrogen-rich compounds. This breakthrough enables more efficient production of pharmaceuticals, agrochemicals, and functional materials.