text: Diazomethane is an organic chemical compound with the formula CHN, discovered by German chemist Hans von Pechmann in 1894. It is the simplest diazo compound. In the pure form at room temperature, it is an extremely sensitive explosive yellow gas; thus, it is almost universally used as a solution in diethyl ether.  The compound is a popular methylating agent in the laboratory, but it is too hazardous to be employed on an industrial scale without special precautions. Use of diazomethane has been significantly reduced by the introduction of the safer and equivalent reagent trimethylsilyldiazomethane.