Maidenhead Locator Conversion

Convert latitude and longitude to a Maidenhead (grid square) locator or a locator to corresponding latitude and longitude.

In decimal form, example: 43.686292
In decimal form, example: -70.549876
4 or 6 character locator, example: FN43rq