Diazomethane is a popular methylating agent in the laboratory, but it is too hazardous (explosive gas with a high acute toxicity) 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.