Two bromine substituted indole chalcone derivatives were synthesized. The compounds exhibit fluorescence turn-on response to cyanide anions. Bonding mechanism of indole compound hydrogen bonding reaction between CN− and NH. Bonding mechanism of the corresponding N-ethylindole compound is Michael reaction.