The invention discloses a synthesis method of a spiropyrane small-molecule fluorescent probe with extreme acid / extreme alkaline switch response and an application of the spiropyrane small-molecule fluorescent probe. By virtue of the synthesis method,
naphthalene nucleus spiropyrane with two carboxyl groups and a phenolic hydroxyl group is synthesized by carrying out modification on three loca of spiropyrane, wherein the
naphthalene nucleus spiropyrane has the characteristic of reversible switch type response on pH values of extreme acid / extreme alkaline; when the pH value is smaller than 1.0,
red fluorescence is represented; when the pH value is 1.0-12.0,
fluorescence is represented; when the pH value is greater than 12.0, blue-green
fluorescence is represented. The synthesized spiropyrane small-molecule fluorescent probe also has the characteristics of being high in optical, thermal and
chemical stability and structural designability, and excellent in
biocompatibility and
cell labeling property; meanwhile, the synthesized spiropyrane small-molecule fluorescent probe is safe and low in
low toxicity, and is capable of smoothly entering
bacteria for bio-labeling, implementing the pH response of extreme acid / extreme alkaline as same as that of solutions in organisms; furthermore, the synthesized spiropyrane small-molecule fluorescent probe can be used as a multifunctional
cell fluorescence labeling dye and can be applied to scientific research and
gene diagnosis in the field of biological medicines.