Geohash Converter
Decode a geohash to latitude/longitude, or encode coordinates into a geohash — shown instantly on a map. Free, runs in your browser.
Geohash → Latitude / Longitude
Latitude / Longitude → Geohash
A geohash squeezes a latitude/longitude into a short string like u4pruydqqvj. Paste one to see exactly where it lands, or type coordinates to generate one. Useful when you're working with geohash-indexed databases (Elasticsearch, Redis, DynamoDB) and need to eyeball what a hash actually points to.
What Is a Geohash?
A geohash encodes a latitude and longitude into a compact base-32 string. The clever part: it's hierarchical — nearby locations share a common prefix. That makes geohashes ideal for proximity search, spatial indexing and grouping points into grid cells, because a simple text prefix match finds everything in a nearby area.
Precision by length
- 5 chars ≈ 4.9 km cell
- 6 chars ≈ 1.2 km
- 7 chars ≈ 153 m
- 8 chars ≈ 38 m
- 9 chars ≈ 4.8 m
Decoding a geohash returns the coordinates of the centre of its cell, so a shorter hash gives a coarser position.
Frequently Asked Questions
What is a geohash?
A geohash is a short string like "u4pruydqqvj" that encodes a latitude/longitude into a single value using a base-32 alphabet. Each extra character narrows the area, so nearby places share similar prefixes — which makes geohashes handy for indexing, proximity search and grouping locations.
How do I convert a geohash to latitude and longitude?
Paste the geohash into the decoder above. It returns the latitude and longitude of the centre of the cell that the geohash represents. Longer geohashes describe smaller cells and therefore more precise coordinates.
How precise is a geohash?
Precision grows with length: 5 characters ≈ 4.9 km, 6 ≈ 1.2 km, 7 ≈ 153 m, 8 ≈ 38 m, 9 ≈ 4.8 m. Each additional character multiplies precision by about 5.6×.
What are geohashes used for?
They are widely used in databases and search engines (Elasticsearch, Redis, DynamoDB) for fast proximity queries, in caching keys, and for bucketing points into grid cells — because a simple string prefix match finds everything in a nearby area.