7-Azaindole has been used in designing new molecular structure 1 on enediyne spacer for its application in anion sensing. New structure 1 has been established as efficient fluorescent sensor of H 2 PO 4 − and F − ions in CH 3 CN containing 1% DMSO. While in presence of H 2 PO 4 − the emission at 418 nm is decreased to the significant extent in nonratiometric fashion, a ratiometric response in presence of F − is noted with a sharp isoemissive point and two anions are effectively distinguished over a series of other anions tested. A similar study on model compound 2 with indole motifs is done to prove the pivotal role of extra ring nitrogen in azaindole of 1 in the binding process.