Our results show that E8-Nb-IR800CW efficiently recognizes CDH17 in CRC cells and tumor tissues, produces high-quality NIR-II images for CRC tumors, and enables precise tumor removal guided by NIR-II imaging. The gene discussed is CDH17; the disease is colorectal carcinoma.