Abstract Two boron-contained fluorescent sensors, 1 and 2, based on coumarin have been prepared. The fluorescence response of the two systems was investigated with addition of saccharide and mercury ions. Sensor 2 behaves as a bifunctional fluorescent switch with chemical inputs of D-fructose and mercury ions. Abstract