Endogas produced by the catalytic decomposition of hydrocarbon gases, for example, natural gas, is widely used to create controlled atmospheres in various chemical-thermal operations. Such protective atmospheres are created using special endogas generators, which provide them with a high content of CO and H2 and low — CO2 and H2O. The endothermic atmosphere protects the steel from oxidation, but is explosive and cannot be used at low temperatures due to the danger of carbon steel. It is shown how the composition of endogas is regulated by the dew point temperature. It is noted that by monitoring the content of free oxygen with a lambda probe, an explosion can be avoided in the retort of the endogas generator. In these more modern endogas generators, soot release is also excluded. To prevent this, the generator includes a heat exchanger with a reflecting plate, placed directly on the retort itself. Taking into account a number of requirements related to ensuring high efficiency and safety of the generator, optimization of the implemented technological processes was carried out.