The invention relates to an electrode locator for testing a substation grounding grid based on a global satellite navigation system. The invention is characterized in that: the locator comprises a casing, a control panel, a single chip microcomputer module, a display module, a global satellite navigation system positioning module, a wireless communication module, and a power supply module. The control panel is arranged on the front surface of the casing. The single-chip microcomputer module, the display module, the global satellite navigation system positioning module, the wireless communication module, and the power supply module are arranged in the casing. The display screen of the display module is arranged on the control panel. The power supply module simultaneously supplies power to the control panel, the display module, the global satellite navigation system positioning module, the single-chip microcomputer module, and the wireless communication module. The electrode locator fortesting the substation grounding grid based on the global satellite navigation system has the advantages of simple structure, powerful function, small and flexible, convenient use, accurate positioning, wide application range, intuitive display, accurate precision, saving of time and labour, and high efficiency.