The terpyridine anthracene ligand was synthesized and characterized. is a ratiometric fluorescent probe for Cd(2+) with a recognition mechanism based on intramolecular charge transfer (ICT). An complex was isolated, and its structure was established using single-crystal XRD. The complex was able to serve as a novel reversible chemosensing ensemble to allow ratiometric response to pyrophosphate (PPi) in aqueous media. Moreover, the fluorescence imaging in living cells from these two emission channels suggested that was a ratiometric probe for Cd(2+), and the in situ generated complex was also a ratiometric ensemble for PPi detection in living cells.