Decoding a Plus Code
This tool reverses Plus Code encoding: given a full Open Location Code it recovers the rectangle of latitude and longitude it represents and reports the center. That is what you need when an app, a sign or Google Maps gives you a code and you want raw coordinates.
How it works
The code is uppercased and its + separator and trailing padding are removed.
The remaining characters are read in pairs against the base-20 alphabet. Each
pair adds an offset at a coarser-to-finer resolution: 20 degrees, 1 degree, then
divisions of 20, 400 and 8000. Characters beyond the tenth are decoded with the
grid-refinement step, dividing the cell into 4 columns and 5 rows.
8FVC9G8F+6X -> center near 47.3656, 8.5249
Summing all offsets gives the cell’s lower corner; adding the final cell size gives the upper corner, and the midpoint is the reported center.
Example and tips
Longer codes decode to smaller cells and therefore tighter bounds. If decoding
fails, check that the + sits right after the eighth character and that every
symbol comes from the Open Location Code alphabet. Use the companion Lat/Lng to
Plus Code tool to round-trip a coordinate and confirm the code you were given.