Notably, the nanoprobe could integrate a cancer-targeting recognition moiety shift into a single matrix to report CTSB activity specifically, and exhibited an excellent specificity for the ratio metric fluorescent sensing of CTSB activity, demonstrating its potential applications in early cancer diagnosis and precise imaging, and rendering it a unique “turn-on” FL probe for the targeted imaging of cancer cells. Here, CTSB is linked to cancer.