The invention discloses a high voltage electrostatic generator. The high voltage electrostatic generator is characterized in that the generator comprises a power control circuit, a single chip microcomputer system, a power amplification circuit, a boosting transformer, a voltage doubling rectification circuit and an output feedback device; the single chip microcomputer system comprises a single chip microcomputer, a keyboard, a digital display and an alarm; after a high-frequency voltage generated by the single chip microcomputer system is amplified by the power amplification circuit and boosted by the boosting transformer, a high direct voltage of 0-200 KV is output through the voltage doubling rectification circuit, and the output voltage is sent to the single chip microcomputer system through the output feedback device. The high voltage electrostatic generator has the advantages of being simple in circuit, convenient to use and maintain, stable in performance, capable of enabling parameters to be set conveniently, continuous and adjustable in voltage, capable of achieving an overload alarm function and a protection function, and suitable for environment-friendly dust removing, electrostatic spraying, electrostatic seed treatment, electrostatic flocking and the like.