The invention discloses an easy-to-apply online refresh method for server firmware. In the method, the firmware files of each chip of the server are placed in the same folder according to the classification and version; the chips that need to refresh the firmware version are listed in the XML file, When the firmware is refreshed, it is called by the script; when it is modified, the chip name, firmware version, file storage location, refresh command, and the action to be executed after the refresh are changed by modifying the XML file without changing the script. The whole process of the method of the present invention is controlled by scripts, and there will be no situation of missed brushing and refreshing failures that cannot be intercepted, thereby ensuring the quality of refreshing. There is no need for human participation in the whole process, which reduces the cost of refreshing. If the actual version of the machine firmware is consistent with the definition in the XML file, you can skip not to refresh, and refresh the chip without restarting to continue to refresh the next chip, without restarting every time you refresh, which reduces the firmware refresh time and improves the refresh efficiency.