The invention, which relates to the technical field of the mining backup power supply, discloses an explosion-proof mining 5G online backup power supply comprising a battery system, a battery management system, a voltage conversion system, a temperature management system, a dehumidification system, an explosion-proof system and a power supply management system. The voltage conversion system comprises an input voltage conversion module and an output voltage conversion module, the mining power supply is connected with the battery system through the input voltage conversion module, the battery system is connected with the 5G equipment through the output voltage conversion module, and the battery system is connected with the battery management system. And the power management system is connected with the battery management system, the voltage conversion system, the temperature management system, the dehumidification system and the 5G equipment. According to the invention, the preparation and use of a high-power and wide-voltage input / output backup power supply are realized, and the safety and reliability of the system are improved and the service life of the battery is prolonged through temperature, humidity and intelligent management of the system.