Formic acid is a valuable chemical derived from biomass, as it has a high hydrogen-storage capacity and appears to be an attractive source of hydrogen for various applications. Hydrogen production via formic acid decomposition is often based on using supported catalysts with Pt-group metal nanoparticles. In the present paper, we show that the decomposition of the acid proceeds more rapidly on single metal atoms (by up to one order of magnitude). These atoms can be obtained by rather simple means through anchoring Pt-group metals onto mesoporous N-functionalized carbon nanofibers. A thorough evaluation of the structure of the active site by aberration-corrected scanning transmission electron microscopy (ac-STEM) in high-angle annular dark field (HAADF) mode, by CO chemisorption, X-ray photoelectron spectroscopy (XPS) and quantum-chemical calculations reveals that the metal atom is coordinated by a pair of pyridinic nitrogen atoms at the edge of graphene sheets. The chelate binding provides an ionic/electron-deficient state of these atoms prevents their aggregation and thereby leads to an excellent stability under the reaction conditions. Catalysts with single atoms have also shown very high selectivity. Evidently, the findings can be extended to hydrogen production from other chemicals and can be helpful for improving other energy-related and environmentally benign catalytic processes.