A series of 2-(N-oxide pyridyl)-5-methoxythiazoles were synthesized and corresponding optical properties were also investigated. It is first found that a digital-type fluorescent responses in a sharp pH variation with dual-emission could be fulfilled based on a small fluorophore.