Abstract A fluorescent probe (probe 1) was developed for detection the activity of γ‐glutamyl transpeptidase (GGT). Probe 1 could recognize GGT by the enzymatic hydrolysis of peptide bond by GGT. There has a linear relationship between the fluorescence intensity of probe 1 at 416 nm and the activity of GGT, and the detection limit of GGT activity was 0.0796 U/mL. And the color of the probe solution gradually changed from light blue to bright yellow with the increase of GGT activity under 365 nm ultraviolet light. Importantly, the activity of GGT was linearly related to the photo of the probe solution with B/(R+G) value. Probe 1 could detect GGT activity by smartphone without professional equipment. Furthermore, the probe has been successfully applied to detect of GGT activity in garlic.