A cellulose based polymer probe (HC-HS) was prepared for the detection of H 2 S. HC-HS can be applied to fluorescence imaging of H 2 S in living cells and zebrafish, and HC-HS was made into test strips to detect H 2 S produced in the process of food corruption.