We report on the first nuclear magnetic resonance (NMR) and electron paramagnetic resonance (EPR) study of the high-temperature nanodiamond-to-onion transformation. 1H, 13C NMR and EPR spectra of the initial nanodiamond samples and those annealed at 600, 700, 800 and 1800 ° C were measured. For the samples annealed at 600 to 800 ° C, our NMR data reveal the early stages of the surface modification, as well as a progressive increase in sp2 carbon content with increased annealing temperature. Such quantitative experimental data were recorded for the first time. These findings correlate with EPR data on the sensitivity of the dangling bond EPR line width to air content, progressing with rising annealing temperature, that evidences consequent graphitization of the external layers of the diamond core. The sample annealed at 1800 ° C shows complete conversion of nanodiamond particles into carbon onions.