This tool decodes a Military Grid Reference System (MGRS) string back into WGS-84 decimal latitude and longitude. It is the inverse of the lat/long to MGRS encoder and is handy when a map, radio report or dataset gives you a grid reference you need as GPS coordinates.
How it works
The string is split into three parts — the grid zone designator, the 100 km square letters and the numeric digits:
30U XC 99319 10158
└┬┘ └┬┘ └──┬──┘ └──┬──┘
GZD sq easting northing
The square letters are mapped back to their 100 km easting and northing offsets within the zone, using the same column/row alphabets the encoder uses (with I and O skipped). The numeric digits are scaled to metres and added on, giving a full UTM easting and northing. An inverse transverse Mercator projection on the WGS-84 ellipsoid then recovers the latitude and longitude.
Tips and notes
The easting and northing digit groups must have equal length; this tool centres the position within the implied cell so coarse references still land sensibly. MGRS is valid only between about 80°S and 84°N. Everything runs locally in your browser. To encode coordinates into MGRS, use the Lat/Lng to MGRS converter.