A ratiometric fluorescent probe for SO2 derivatives based on the conjugate of carbazole and indolium was presented, which could selectively respond to HSO3(-) over other thiol compounds. More importantly, CZ-Id is a novel mitochondria-targeted ratiometric fluorescent probe to image exogenous SO2 derivatives.