A gas heater, comprising a first cylinder body, a gas inlet, and a gas outlet, wherein the gas inlet and the gas outlet are located on two ends of the first cylinder body respectively, a porous heating body is disposed in the first cylinder body, the porous heating body is tightly attached to an inner wall of the first cylinder body through interference fit, a plurality of gas flow channels penetrating a left side and a right side of the porous heating body are disposed in the porous heating body, flow guide cones are disposed at two ends of the porous heating body respectively, a conical pipe is welded at two ends of the first cylinder body, the conical pipe is located outside the flow guide cones, a flow channel is formed in a gap between an inner wall of the conical pipe and outer walls of the flow guide cones, two ends of the conical pipe are securely connected to flange plates respectively, openings in a middle of the flange plates communicate with the flow channel to form the gas inlet and the gas outlet respectively, and an outer wall of the first cylinder body is wrapped with an electromagnetic heating and heat preservation apparatus.