100% Private — Runs in Your Browser

Geohash Converter

Encode coordinates to a geohash, or decode a geohash back to latitude/longitude. Free, private, no upload to server.

Geohashu4pruydqq

Frequently Asked Questions

What is a geohash?

A geohash is a short base-32 string that encodes a location's latitude and longitude, along with a precision level. Every additional character narrows the encoded area, so a geohash is really a rectangular cell, not an exact point — nearby locations tend to share the same prefix, which makes geohashes useful as database index keys and for proximity search.

What precision should I use?

Precision 5 gives roughly a 2.4km × 4.9km cell (city-block scale), precision 9 gives roughly 4.8m × 4.8m (building scale), and precision 12 gives sub-centimeter precision. Choose the shortest precision that comfortably fits your application's accuracy needs.

Why does decoding not return my exact original coordinates?

A geohash represents a rectangular cell, not a single point. Decoding returns the center of that cell, plus the cell's half-width/half-height as an error margin. The lower the precision, the larger this margin.

Is my data private?

Yes, completely. All encoding and decoding happens inside your browser using JavaScript. Nothing is uploaded to a server.

Want to plot a location on an interactive map?

Open GeoDataTools App