Carbon nanodots were applied for the first time as a new matrix for the analysis of low-molecular-weight compounds by matrix-assisted laser desorption/ionization time-of-flight mass spectrometry (MALDI-TOF MS) in both positive- and negative-ion modes. A wide range of small molecules including amino acids, peptides, fatty acids, as well as β-agonists and neutral oligosaccharides were analyzed by MALDI MS with carbon nanodots as the matrix, and the lowest 0.2 fmol limits-of-detection were obtained for octadecanoic acid. Clear sodium and potassium adducts and deprotonated signals were produced in positive- and negative-ion modes. Furthermore, the glucose and uric acid in real samples were quantitatively determined by the internal standard method with the linear range of 0.5-9 mM and 0.1-1.8 mM (R(2) > 0.999), respectively. This work gives new insight into the application of carbon nanodots and provides a general approach for rapid analysis of low-molecular-weight compounds.