An optical fluorescence quenching sensor based on functionally modified iron-doped carbon nanoparticles was designed for the selective and sensitive Cr(VI) ion detection. Multifunctional iron-doped carbon nanoparticles were enclosed in the scaffolds of a promising stable nanocarrier system called hyperbranched polyglycerol (HPG), which has been fluorescently modified with 1-pyrene butyric acid using the Steglich esterification procedure. The therapeutic and diagnostic capabilities were boosted when these nanoparticles were enclosed in the fluorescently modified dendritic structure, HPG. Iron-doped carbon nanoparticles coupled with fluorescently modified hyperbranched polyglycerol can be used as a sensor for metal ions and can then be used to successfully remove them from a sample. Moreover, the synthesised nanoparticles demonstrated promising antimicrobial efficacy against bacteria and fungi. These results are also discussed in detail.