Abstract Two simple phthalimide–hydrazone probes with nitro groups were synthesised and characterised by NMR, FT-IR, HR-MS and single crystal X-ray crystallography. The synthesised receptors were evaluated for application in anion sensing. The receptors displayed strong, sensitive and selective colouration in the presence of cyanide ions by forming a stable complex with cyanide ion. The use of variable