The invention discloses an andrographolide derivative nitric oxide donor compound as well as a preparation method and an application thereof. The derivative has a structure expressed by a formula (I), wherein R1 refers to hydrogen, organic acid radical, inorganic acid radical, alkyl, aryl or heteroaryl, R2 refers to hydrogen, organic acid radical, inorganic acid radical, alkyl, aryl or heteroaryl, R3 refers to hydrogen, organic acid radical, inorganic acid radical, alkyl, aryl or heteroaryl, and at least one of R1, R2 and R3 is a functional group capable of releasing nitric oxide or an organic acid radical substituted by nitroxide group. The andrographolide derivative nitric oxide donor compound can be used for preparing medicaments for treating diabetes, medicaments for treating cardiovascular diseases, antimicrobial medicaments and antiviral medicaments. The medicaments can be prepared to tablets, capsules, granules, fine granules, powder, pills, patches, oral liquid or injection.