Carbonized polymer dots (CPDs), as a novel fluorescent material, have broad application prospects in the fields of bio-imaging, bio-sensors, disease diagnosis and photovoltaic devices due to their low cost, low toxicity, easy modification and little environmental impact. In this paper, folic acid (FA) modified CPDs (FA-CPDs) are synthesized from p-Phenylenediamine (p-PD) and FA molecules using a traditional one pot hydrothermal reaction in order to detect cancer cells containing a folate receptor (FR). The synthesized FA-CPDs were characterized by transmission electron microscopy, Fourier transfrom infrared spectroscopy, x-ray photoelectron spectroscopy, x-ray diffraction, UV-vis and fluorescence techniques. The red fluorescence emission is realized by doping phosphorus atoms into the carbonized polymer. Upon excitation at 513 nm, the maximum emission wavelength of FA-CPDs aqueous solution was obtained at 613 nm. Moreover, the as-prepared FA-CPDs exhibit excellent excitation-independent behavior and good stability with high quantum yield (QY) at about 30.6%. The binding of FA-CPDs with FRs on cancer cells produces target recognition and enters the cells through endocytosis. Additionally, it is worth noting that FA-CPDs have good biocompatibility and imaging in HeLa cells has been successfully achieved. Therefore, our FA-CPDs have potential applications as biocompatibility probes for cancer diagnosis and treatment.