The invention provides a gas on-line detection sampler. The sampler comprises a gas sample channel and a flow control part, and a gas sample heating and temperature control part. Thereinto, the gas sample channel comprises a sampling joint, a gas chamber, a flow regulating valve and an output switch valve; a heating chamber comprises an electrothermal core and a temperature relay which are disposed in the closed heating chamber, and a heating power line is led out in an isolating and explosion-proof manner. The sampler is directly mounted on an industrial apparatus, and is applicable to different interfaces only by changing the joint. In an operating temperature of about 60 DEG C, the sampler not only can ensure the stable output of the sample gas which is easy to be throttled and liquefied, but also can prevent air pollution and is explosion-proof, and can be directly mounted in sites with inflammable and explosive industrial gas. The sampler has various functions such as high pressure resistance, liquefaction resistance, explosion resistance, flow regulation, output switch, changeable inlet joint, low adsorption, easy purging, air pollution resistance and the like, and is widely applicable to the on-line sampling and transportation of various industrial gas below 25 MPa.