Molecular systems in which fluorescence switches between 'on' and 'off' states when driven by chemical stimuli can be designed according to a few principles. The photochemical mechanisms examined are photoinduced electron transfer, internal charge transfer and excimer formation, with emphasis on the first category. These designs open the way to sharp signalling of small chemical species that perform critical biological functions.