A gas generator is a device for generating gas. A gas generator may be used to drive a turbine or to create gas from a solid or liquid source when storing a pressurized gas is undesirable or impractical.
The term often refers to a device that uses a rocket propellant to generate large quantities of gas. The gas is typically used to drive a turbine rather than to provide thrust as in a rocket engine. Gas generators of this type are used to power turbopumps in rocket engines, and are used by some auxiliary power units to power electrical generators and hydraulic pumps. Other types include the gas generator in an automobile airbag, which is designed to rapidly produce a specific quantity of inert gas, and the chemical oxygen generator, which delivers breathable oxygen at a controlled rate over a prolonged period. During World War II, portable gas generators that converted coke to producer gas were used to power vehicles as a way of alleviating petrol shortages.
The V-2 rocket used hydrogen peroxide decomposed by a liquid sodium permanganate catalyst solution as a gas generator. This was used to drive a turbopump to pressurize the main LOX-ethanol propellants. In the Saturn V F-1 and Space Shuttle main engine, some of the main propellant was burned to drive the turbopump (see gas-generator cycle and staged combustion cycle). The gas generator in these designs uses a highly fuel-rich mix to keep flame temperatures relatively low.