Reforming is the most widespread method to extract hydrogen from natural gas, liquefied petroleum gas and naphtha. Other processes include gasification and electrolysis.