Nearly all hydrocarbons are generated from petroleum or natural gas processing. Hydrocarbon mixtures are separated into component fractions at scale for the commercial production of fuels and chemical feedstocks. These large-scale systems use a lot of energy and require many sub-systems with expensive adsorbents or membrane materials like zeolites, polymers, metal oxides, and carbon. Since many of these hydrocarbon mixtures have molecules with similar structures, properties, and reactivities, many of the technical challenges and associated high costs remain. Metal-organic frameworks (MOFs) hold promise for efficient and complex separations based on their desirable surface areas, tunable pore geometries, and adjustable surface functionality. To help align MOFs with challenges in hydrocarbon separations, researchers at UC Berkeley have developed thermally robust and tunable MOF materials which are capable of separating mixtures of saturated, unsaturated, and aromatic hydrocarbons. The researchers have demonstrated the purification of a four component gas-phase mixture.