X-ray absorption near-edge structure (XANES) spectroscopy is the ideal non-destructive technique for characterizing and quantifying S species in compositionally complex natural materials such as silicate glasses and minerals, coals, asphalts and asphaltenes, kerogens and humic substances. Sulfur absorption edges represent the transition of S 1 s and 2 p core electrons to unoccupied antibonding orbitals at the bottom of the conduction band. Shifts in the position of the absorption-edge feature of S K - and L -edge XANES spectra constitute a chemical ruler for oxidation state of both inorganic and organic species of S; the S K edge shifts from 2469.5 eV for chalcopyrite (2− oxidation state) to 2482 eV for gypsum (6+). However, chemical state of S in Earth materials is most readily assigned by comparing the overall XANES profile with spectra for reference compounds. Sulfur XANES spectra are reviewed for pyrite, troilite, pyrrhotite and NiAs-type Co 0.923 S and Ni 0.923 S, niningerite (MgS), oldhamite (CaS), alabandite (MnS) and cubic FeS, and sphalerite and related phases, as well as for selected solid-solutions of the monosulfides. Sulfur XANES spectra for FeS, CoS, NiS, MgS, CaS, MnS and ZnS have been simulated by multiple scattering calculations. The S K -edge XANES of transition-metal-bearing monosulfides generally show anomalous absorption consistent with hybridization of the final S 3 p σ* antibonding states with empty 3 d orbitals on the metal atoms. Various applications of S K - and L -edge XANES fingerprinting are discussed, including speciation of inorganic S in basaltic glasses, lazurite and hauyne, identification of organic functional groups of S in coals, kerogens and humic substances extracted from subtropical soils and marine sediments, and the association of sulfated sugars with calcification of coral aragonite skeletons.