The object of the study is lignite. Analytical testing techniques, such as elemental analysis, 13C nuclear magnetic resonance (13C NMR) spectroscopy, Fourier transform infrared spectroscopy (FTIR), X-ray photoelectron spectroscopy (XPS), and high-resolution transmission electron microscopy (HRTEM), were used to acquire information on the structural parameters of lignite. The aromaticity of Xianfeng lignite is 43.57%, and the aromatic carbon structure is mainly naphthalene and anthracene/phenanthrene. The aliphatic carbon structure is dominated by cycloalkanes, alkyl side chains, and hydrogenated aromatics. Oxygen is mainly present in ether oxygen, carboxyl, and carbonyl groups. Nitrogen is mainly in the form of pyrrole nitrogen and quaternary nitrogen. Sulfur is mainly thiophene sulfur. According to the analysis results, the molecular structure model of XF lignite was constructed. The molecular formula is C184H172O39N6S2. The 2D structure was converted to a 3D structure using computer simulation software and optimized. The optimized model has a remarkable stereoconfiguration, and the aromatic lamellae are irregularly arranged in space. The aromatic rings were mainly connected by methylene, hypomethylene, methoxy, and aliphatic rings. In addition, the simulated 13C NMR spectra are in good agreement with the experimental spectra. This shows the rationality of the 3D chemical structure model.