Productivity and Utilities

Geohash Encoder and Decoder

Enter coordinates to get a geohash, or enter a geohash to see the cell it covers and the cells around it.

Your numbers

Convert

From -90 to 90.

From -180 to 180.

Whole number from 1 to 12. More characters, smaller cell.

Result

Geohash

u4pruydqq

9 characters, a cell about 4.8 m by 4.8 m near the equator.

Cell center
57.649104595, 10.407421589
South-west corner
57.649083138, 10.407400131
North-east corner
57.649126053, 10.407443047
Latitude error, plus or minus
0.000021458 degrees
Longitude error, plus or minus
0.000021458 degrees
Parent geohash
u4pruydq

Neighboring cells

DirectionGeohash
northu4pruydqw
north-eastu4pruydqx
eastu4pruydqr
south-eastu4pruydqp
southu4pruydqn
south-westu4pruydqj
westu4pruydqm
north-westu4pruydqt
How this was calculated
  1. The world is split in half again and again. Odd steps halve longitude, even steps halve latitude, starting with longitude. A point in the upper or eastern half gives a 1 bit, the other half a 0.
  2. Every 5 bits become one of 32 characters: the digits 0 to 9, then the letters b to z without a, i, l and o.
  3. Decoding rebuilds the bits and narrows the same box. Every geohash that starts with the same letters lies inside the same larger cell.
  4. Neighbors are found by moving one cell width or height from the center and encoding that point again, wrapping across longitude 180.
  • Close points can have very different geohashes when they sit on opposite sides of a cell edge, so compare neighbors too when you search by prefix. Cell sizes shrink toward the poles for longitude.

Calculated using SumPanda.com · https://sumpanda.com/geohash-encoder-decoder/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the geohash encoder and decoder

  1. Choose Coordinates to geohash or Geohash to coordinates.
  2. To encode, enter latitude from -90 to 90, longitude from -180 to 180 and the number of characters from 1 to 12.
  3. To decode, enter a geohash of up to 12 characters.
  4. Read the geohash, the center of its cell, the corners, the error margins and the eight neighboring cells.

Formula

start with the whole world: latitude -90 to 90 and longitude -180 to 180

step 1 halves longitude, step 2 halves latitude, and so on, alternating; the upper half gives bit 1 and the lower half bit 0

every 5 bits become one of 32 characters: 0 to 9, then b to z without a, i, l and o

The alphabet leaves out a, i, l and o. A geohash of n characters has 5n bits, and each bit halves the box once.

A point in Denmark

The point 57.64911, 10.40744 with 11 characters is u4pruydqqvj. Its cell runs from latitude 57.6491100 to 57.6491113 and from longitude 10.4074390 to 10.4074404, which is a few millimeters wide. Its parent, u4pruydqqv, is the same point at 10 characters, a cell about 1.2 meters wide.

Decoding ezs42 gives a cell from 42.58301 to 42.62695 north and from 5.625 to 5.58105 west, with a center of 42.60498, -5.60303. Each added character makes the cell smaller by a factor of 32.

Prefixes and neighbors

Every geohash that starts with the same letters lies inside the same larger cell, so a prefix search finds points near each other. But two points just either side of a cell edge can have very different geohashes. To search around a point, check the neighboring cells too, which this page lists in the table. At the top or bottom edge of the world there is no neighbor beyond the pole, and cells wrap across longitude 180.

Sizes and accuracy

A 5 character geohash covers about 4.9 km by 4.9 km, 7 characters about 153 m, 9 characters about 4.8 m and 11 characters about 15 cm near the equator. Cells are narrower for longitude as you move toward the poles. For another way to name places, see the Plus Code Converter, and for coordinate formats the Coordinate Format Converter and the Great Circle Distance Calculator.

Assumptions and limits

  • Coordinates are decimal degrees on the WGS 84 style latitude and longitude scale.
  • The error margins are half the width and height of the cell.
  • Neighbors are found by moving one cell from the center and encoding again.
  • Nothing is sent from your device.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Why does a longer geohash mean more precision?

Each extra character adds five more halvings of the map, so the cell shrinks by a factor of 32. More characters name a smaller area.

Why can nearby points have different geohashes?

A geohash names a cell, and two points on either side of a cell edge belong to different cells even if they are meters apart. Check neighboring cells when you search by prefix.

What letters are left out?

The letters a, i, l and o are not used, to avoid confusion with digits. The alphabet has 32 characters: the digits and the letters b to z without those four.

Is the cell center the original point?

No. Decoding returns the center of the cell. The original point is somewhere inside the cell, within the error margins shown.