Geohash encoder and decoder
Convert latitude/longitude coordinates to a geohash string, or a geohash back to coordinates.
Geohash encoder and decoder
Paste a list of coordinates or geohash strings and this tool converts each line to the other format. It detects the direction automatically per line — two separated numbers become a geohash, a string of geohash characters decodes to a latitude/longitude pair — or you can force encoding or decoding for the whole list.
The geohash length option controls precision: a short geohash like "u0" covers a region hundreds of kilometers wide, while a 9- or 10-character geohash narrows it down to a few meters. The tool shows the resulting margin of error next to every result, so you can pick a length that matches how precise you actually need to be. Turn on the bounding box option to see the exact rectangle a geohash represents, or the neighbors option to list the 8 adjacent cells — useful for proximity searches that need to check a cell's surroundings. For a group of nearby points, the common-prefix option finds the longest geohash prefix they all share, which is the shortest string that still identifies the shared region.
Output can be a plain list, one converted item per line, or CSV with a header row and separate columns for the geohash, latitude, longitude and precision — handy for importing into a spreadsheet or another tool. Lines that aren't valid coordinates or valid geohash characters are left alone and flagged rather than silently dropped, so a stray typo in a long list is easy to spot. Windows and Unix line endings are both handled the same way.
Everything runs locally in your browser — coordinates and geohashes never leave your device. When you're done, copy the result, download it as a .txt file, or send the output back into the input to run another conversion on it.