Early diagnosis and precise treatment of hepatocellular carcinoma (HCC) are crucial for human health. Therefore, addressing the potential markers of HCC, glutathione (GSH) and viscosity, we constructed a fluorescent probe (PG-V) activated cascadically by GSH/viscosity. PG-V possessed excellent photophysical properties and biocompatibility, and could specifically illuminate tumor tissue, achieving fluorescence imaging of HCC, and imaging-guided tumor resection.