The effective imaging of endogenous HNO is highly crucial for pathology research and medical development due to its important pharmacological activity in biological systems. Here, a ratiometric photoacoustic probe in response to HNO was rationally developed to effectively assess HNO prodrug release and liver injury in vivo.