A novel fluorescein-based probe FLA-Boe was developed for detecting H2O2. Modified by 2-Bromomethylphenylboronic acid pinacol ester, FLA-Boe is a Fluorescein derivative with eminent photostability and remarkable H2O2 sensitivity and selectivity. FLA-Boe was utilized to synthesize hydrogel sensors in the manner of guest–host interaction by taking advantage of its aforementioned features. The hydrogel sensor can be used to detect H2O2 effectively in both flowing and static water environments with satisfactory performance. It is expected that this application may open a new page to develop a neoteric fluorescent property analysis method aiming at H2O2 detection.