NOVELTY - Preparation of hydrogen and liquefied natural gas involves carrying out adsorbing pretreatment of gas retort raw gas, introducing the obtained gas retort raw gas into coal gas holder for buffering, pressurizing, reacting carbon monoxide with steam to generate carbon dioxide and hydrogen, carrying out pressurization and fine desulfurization of the obtained hydrogen extracted and desorbed gas, carrying out methanation reaction of hydrogen in the desorbed gas, carbon monoxide and carbon dioxide to generate methane, drying, and liquefying methane to prepare liquefied natural gas.    USE - Preparation of hydrogen and liquefied natural gas (claimed).    ADVANTAGE - The method efficiency provides hydrogen and liquefied natural gas.    DETAILED DESCRIPTION - Preparation of hydrogen and liquefied natural gas involves carrying out adsorbing pretreatment of gas retort raw gas for removing tar and naphthalene in the gas retort raw gas, introducing the obtained gas retort raw gas into coal gas holder for buffering, pressurizing the resultant buffered raw gas, introducing the resultant pressurized raw gas to a sulfur-tolerant shift conversion reactor, reacting carbon monoxide with steam to generate carbon dioxide and hydrogen, carrying out PDS wet desulphurization of the obtained shift conversion gas to obtain byproduct sulfur and desulfurization liquid, carrying out two-stage pressure swing adsorption process of the desulfurized shift conversion gas for carbon removal and hydrogen extraction, introducing the obtained hydrogen to tar hydrogenating apparatus as a raw material, carrying out pressurization and fine desulfurization of the obtained hydrogen extracted and desorbed gas, passing the obtained gas to methanation reactor, carrying out methanation reaction of hydrogen in the desorbed gas, carbon monoxide and carbon dioxide to generate methane, drying the obtained generated gas, introducing the generated gas to cooling box and liquefying methane through mixed refrigerating agent liquefying process to prepare liquefied natural gas.