Viscosity in biological systems is a critical factor for various physiological process, including signal transduction and metabolisms of substance and energy. Abnormal viscosity has been proven as a key feature of many diseases, thereby real-time monitoring of viscosities in cells and in vivo is of great significance for the diagnosis and therapy of related diseases. Up to date, it is still challenging to monitor viscosity cross-platform from organelles to cells to animals with a single probe. Here, we report a benzothiazolium-xanthene probe with rotatable bonds that switch on the optical signals in high viscosity environment. The enhancements of absorption, fluorescence intensity and lifetime signals allow to dynamically monitoring the viscosity change in mitochondria and cells, while near infrared absorption and emission facilitate imaging the viscosity with both fluorescence and photoacoustic imaging in animals. The cross-platform strategy is capable of monitoring the microenvironment with multifunctional imaging across various levels.