An efficient fluorescent nano-sensor of N-doped carbon dots for the determination of 2,4,6-trinitrophenol and other applications† N-Doped carbon dots (CDs) had been simply produced by a one-pot synthesis process using amygdalic acid and threonine. The resulting product was water-soluble and exhibited strong luminescence emission with a fluorescence quantum yield of 19.25%. The emission of CDs was obviously and selectively decreased upon adding 2,4,6-trinitrophenol (TNP).