A hydrocarbon containing formation may be treated using an in situ thermal process. A mixture of hydrocarbons, H
, and/or other formation fluids may be produced from the formation. Heat may be applied to the formation to raise a temperature of a portion of the formation to a pyrolysis temperature. The produced mixture may contain condensable hydrocarbons with sulfur containing hydrocarbons.