Conjugated polymer nanoparticles, produced by in situ colloidal Knoevenagel polymerization, show advantageous properties (bright emission, colloidal/chemical stability and mesoscopic size range) that allow the successful in vivo application to real-time sentinel lymph node mapping in a mouse model.