Highly-dispersed Pt nanoparticles supported on nitrogen-modified CMK-3 mesoporous carbon (Pt/N-CMK-3) were first fabricated by a two-step impregnation route. The influences of N content on the catalyst porous structure, Pt nanoparticle size, surface properties, and interaction between Pt species and the support were investigated in detail using N2 sorption, X-ray diffraction (XRD), transmission electron microscopy (TEM), and X-ray photoelectron spectra (XPS). The N species acted as anchoring sites for the stabilization of Pt particles. Benefiting from the formation of ultrafine metal nanoparticles, the Pt/N-CMK-3 exhibited excellent catalytic activity and selectivity for the selective hydrogenation of nitro aromatics to the corresponding anilines with hydrogen. The Pt/N-CMK-3 catalyst could be reused eight times and keep its catalytic performance.