Hydrazones are oxidized (dehydrogenation) for example with silver oxide or mercury oxide for example the synthesis of  from acetone hydrazone. Other oxidizing reagents are lead tetraacetate, manganese dioxide and the Swern reagent. Tosyl hydrazones RRC=N-NHTs are reacted with base for example triethylamine in the synthesis of crotyl diazoacetate and in the synthesis of phenyldiazomethane from PhCHNHTs and sodium methoxide.
Reaction of a carbonyl group with the hydrazine 1,2-bis(tert-butyldimethylsilyl)hydrazine to form the hydrazone is followed by reaction with the iodane difluoroiodobenzene yields the diazo compound: