The evolution characteristic of sulfur-containing gases released from the pyrolysis of Yanzhou coal macerals under TG-151 thermobalance was on-line analyzed using Mass Spectroscopy. And the forms of sulfur in vitrinite and inertinite were systematically investigated based on the evolution behaviors of sulfur-containing gases. The results show that vitrinite has higher H_2S and COS evolution at 480 ℃ than inertinite, while inertinite has higher H_2S and COS evolution than vitrinite at 600 ℃, which indicates that vitrinite has higher organic-sulfur content and inertinite has higher pyretic-sulfur content. The different evolution behaviors of SO_2 between vitrinite and inertinite suggest that vitrinite has higher content of aliphatic sulfur and aromatic sulfur, lower pyretic-sulfur content than inertinite. And vitrinite has higher C_4H_4S and C_8H_6S evolution than inertinite, suggesting that vitrinite has more thiophene and benzo thiophene structural units directly connecting with macromolecular of coal by weak bridge bonds than inertinite. And strength and distribution of evolution of sulfur-containing gases reflects the difference in forms and content of sulfur in coal macerals, which also shows the relationship between the forms of sulfur and evolution behavior during the pyrolysis of macerals.