Turn GPS coordinates into a short Plus Code or geohash, or decode one back to latitude and longitude. See how many feet each code length covers. Works for campsites, trailheads, and other spots without a street address.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsPlus Code · 10 digits
87G8P2X7+GR
Short code P2X7+GR · Google Maps also accepts a short code plus a city name
Geohash · 9 characters
dr5ru6j7n
Covers about 16 ft × 12 ft (4.8 m × 3.6 m)
Lat/Long
40.748817, -73.985428
40°44′55.7″N 73°59′7.5″W
40°44.929′N 73°59.126′W
Share message
Shared location Plus Code: 87G8P2X7+GR Lat/Long: 40.748817, -73.985428 Map: https://www.google.com/maps/search/?api=1&query=40.748817,-73.985428
Nothing is sent to a server unless you open a map link, which passes the coordinates to that map service.
Plus Code length (digits)
Geohash length (characters)
Neighboring geohashes
Tap a cell to load it and convert it (north is up).
Accuracy by length
Area covered by one code at 40.7° N (north–south × east–west). The selected lengths are highlighted.
Plus Code
5.6 km × 4.2 km
278 m × 211 m
14 m × 11 m
2.8 m × 2.6 m
56 cm × 66 cm
11 cm × 16 cm
2.2 cm × 4.1 cm
4.4 mm × 1.0 cm
Geohash
19.5 km × 29.6 km
4.9 km × 3.7 km
611 m × 925 m
153 m × 116 m
19 m × 29 m
4.8 m × 3.6 m
60 cm × 90 cm
15 cm × 11 cm
1.9 cm × 2.8 cm
What Plus Codes and Geohashes Are, and When to Use Each
Plus Codes and geohashes are two ways to write a latitude and longitude as a short string of letters and numbers. The point 40.748817, -73.985428 becomes 87G8P2X7+GR as a Plus Code and dr5ru6j7n as a geohash. Neither depends on a street address, so either one can mark a campsite, a trailhead, a boat ramp, or a gate on a rural road.
A Plus Code (formally an Open Location Code) was developed by Google and released as open source. It is meant to be read aloud, typed, or texted. A geohash is mostly a developer tool: codes that start with the same characters sit in the same larger area, so a database can find nearby points with a prefix match.
This converter works in both directions between GPS coordinates, Plus Codes, and geohashes. It shows how much ground each code length covers in feet and meters, restores short Plus Codes from a nearby reference point, reads Google Maps URLs and degrees-minutes-seconds, lists the eight neighboring geohashes, and builds a message you can text to someone.
Everything runs in your browser. The code on this page does not send the coordinates you enter or your location to a server, so you can use it for a private meeting spot.
Common Uses: Campsites, Trailheads, Job Sites, and Map Data
Campground and trailhead meetups
A large campground or trailhead parking area often has one street address for a lot of ground. An 11-digit Plus Code points to the right loop, lot, or picnic area, and you can text it to your group.
Hiking and backcountry location sharing
Use the My location button to get the coordinates of a trail junction or a hut. Write the code down before you lose cell service, then send it when you have signal again.
Film shoots, events, and job sites
The loading dock or the crew entrance is rarely at the building’s street address. Drop a pin where people should arrive, convert it to a Plus Code, and everyone ends up at the same door.
Indexing and nearby search in databases
Geohash prefixes let a database group points by area and run nearby searches, in systems such as Elasticsearch, PostGIS, and BigQuery. Check cell sizes and neighboring cells here before you choose a precision.
Fishing spots, dark-sky sites, and dispersed camping
Places that have no name on the map are easy to share as a code. It is shorter than a long coordinate pair, and easier to read aloud or retype without a mistake.
Rural properties and unmarked entrances
A gate on a county road, a lot with no street number yet, or a spot in the middle of a park is hard to describe with an address. A Plus Code or a lat/long pair is more exact, and a Plus Code can be pasted into Google Maps.
Convert Coordinates in Three Steps
- Pick the type of input on the tabs (Lat/Long, Plus Code, or Geohash) and enter a value. You can also paste a Google Maps URL or tap My location.
- The Plus Code, geohash, and lat/long (decimal, DMS, and DDM) appear together. Change the length on the right to see how big an area one code covers in feet and meters.
- Add a place name to build a share message, copy it, and text or email it. Use the map links to check the pin in Google Maps or OpenStreetMap.
Note: Results update as you type, so there is no Convert button.
Before You Share a Code: Accuracy, Datum, and Privacy
- Share the full code when you can. Use a short code only when the other person’s app can fill in the area from a town name, as Google Maps does.
- Coordinates are read as WGS 84, the datum GPS uses. Coordinates from older maps or surveys that use another datum, such as NAD 27, can land away from the real spot, so convert them first.
- When you enter a code, the lat/long shown is the center of the area that code covers. A 10-digit code is about 46 ft (14 m) from south to north, so the center can sit several feet from your original point.
- Phone GPS is typically good to about 16 ft (5 m) in open sky, and worse near buildings, trees, or canyon walls. Extra digits make a code look precise without making the location more accurate.
- This tool does not contact anyone. In an emergency, call 911 and follow the dispatcher’s instructions.
- Free and private: the conversion runs in your browser and does not send your input to a server. Opening a map link passes the coordinates to that map service.
Code Length Accuracy Chart (Feet and Meters)
Area covered by one code at the equator, north–south × east–west, from widest to smallest. East–west distances shrink as you move away from the equator, and at 40° N they are about three-quarters as wide.
| Scale | Plus Code | Geohash | Good for |
|---|---|---|---|
| State or region | 4 digits: 69 mi × 69 mi (111 km × 111 km) | 3 chars: 97 mi × 97 mi (156 km × 156 km) | Picking a broad search area |
| About 3 miles | 6 digits: 3.5 mi × 3.5 mi (5.6 km × 5.6 km) | 5 chars: 3.0 mi × 3.0 mi (4.9 km × 4.9 km) | Grouping points by town or area |
| A few hundred feet to a mile | 8 digits: 912 ft × 912 ft (278 m × 278 m) | 6 chars: 2,004 ft × 4,008 ft (611 m × 1.2 km); 7 chars: 501 ft × 501 ft (153 m × 153 m) | A park, a campus, a trailhead area |
| About 45 to 125 ft | 10 digits: 46 ft × 46 ft (14 m × 14 m) | 8 chars: 63 ft × 125 ft (19 m × 38 m) | A building, a parking lot, a campground loop |
| About 10 to 16 ft | 11 digits: 9.1 ft × 11.4 ft (2.8 m × 3.5 m) | 9 chars: 16 ft × 16 ft (4.8 m × 4.8 m) | An entrance, a meetup spot, one tent site |
| About 2 to 4 ft | 12 digits: 1.8 ft × 2.9 ft (56 cm × 87 cm) | 10 chars: 2.0 ft × 3.9 ft (60 cm × 1.2 m) | Finer than a phone can place |
| Under a foot | 13 digits: 4.4 in × 8.5 in (11 cm × 22 cm) | 11 chars: 5.9 in × 5.9 in (15 cm × 15 cm) | Needs survey-grade equipment |
| Inches or less | 14 digits: 0.87 in × 2.1 in (2.2 cm × 5.4 cm); 15 digits: 0.17 in × 0.55 in (4.4 mm × 1.4 cm) | 12 chars: 0.75 in × 1.5 in (1.9 cm × 3.7 cm) | Rarely useful |
How to read the chart
Figures treat Earth as a sphere, so they are close estimates.
- East–west width depends on latitude: The farther you are from the equator, the narrower a cell gets from east to west. The chart in the tool above is recalculated for the latitude of your point.
- The two systems shrink differently: For the first 10 digits of a Plus Code, each pair of characters makes the area 20 times smaller in both directions. From the 11th digit on, each character splits the area into a 5 × 4 grid. A geohash gets about 32 times smaller with every character.
- Rule of thumb: Phone GPS is typically good to about 16 ft in open sky. For sharing a spot with a person, use 10 to 11 digits for a Plus Code and 8 to 9 characters for a geohash.
How Many Digits Do You Need? Picking a Length by Use Case
Digit counts, short-code rules, and the geohash boundary quirk that trips people up.
Quick answer: 10 digits is about 46 ft, and 9 characters is about 16 ft
A standard Plus Code has 10 digits (8 before the +, 2 after) and covers about 46 ft (14 m) from south to north. Add an 11th digit and the area drops to about 9 ft tall and 9 to 11 ft wide (roughly 3 m), enough to tell one campsite from the next.
A geohash with 9 characters covers about 16 ft (4.8 m) at the equator. With 8 characters it is about 63 ft by 125 ft, and with 7 characters about 501 ft.
Phone GPS is typically good to about 16 ft (5 m) in open sky. To share a spot with a person, 10 to 11 digits for a Plus Code and 8 to 9 characters for a geohash are plenty.
Reading a Plus Code: the 20 characters and the short form
A full code looks like 87G8P2X7+GR: eight characters, a plus sign, then two or more. Only 20 characters are used: 23456789CFGHJMPQRVWX. There are no vowels, so a code cannot spell a word, and 0, 1, I, L, and O are left out.
The first four characters identify a square up to about 69 miles (111 km) on a side. Drop them and add a town name, as in P2X7+GR New York, and Google Maps can fill in the rest from the town. If the other person’s app does not do that, send the full code.
How a geohash works, and why prefixes break at cell edges
A geohash halves the longitude range, then the latitude range, again and again. Every 5 halvings become one character from a 32-character alphabet (0-9 and b-z, without a, i, l, and o). A longer geohash is a smaller cell inside the shorter one, so codes that start the same are in the same area, and a prefix match finds nearby points.
The catch: two points a few feet apart can have different first characters if a cell edge runs between them. Search the center cell and its eight neighbors. The Neighboring geohashes panel lists them for you.
Three ways to write coordinates: decimal, DMS, and decimal minutes
Decimal degrees (40.748817, -73.985428) are what most web maps and code use, with west and south as negative numbers. Degrees-minutes-seconds (40°44′56″N 73°59′8″W) appear on many printed maps and older records. A third style, degrees and decimal minutes (40°44.929′N 73°59.126′W), appears in some GPS devices and apps.
To convert DMS to decimal, add the degrees, the minutes divided by 60, and the seconds divided by 3,600. One second of latitude is about 101 ft (31 m). This tool reads all three styles, plus Google Maps URLs, and shows the result as decimal, DMS, and DDM.
Matching code length to the job
Meeting at a campground or parking lot: a 10-digit Plus Code (about 46 ft). A tent site, a trail junction, or an entrance with few landmarks: 11 digits (about 3 m).
A film location or a loading dock: 10 to 11 digits. Grouping records by area in a database: a geohash of 5 to 7 characters, searched together with its eight neighbors.
Do not go finer than your GPS. Extra digits look exact but do not add accuracy.
Common Mistakes That Put the Pin in the Wrong Place
Latitude and longitude entered in the wrong order
Google Maps lists latitude first, while GeoJSON and many code libraries list longitude first. Paste a longitude-first pair where latitude is expected and the pin lands somewhere else entirely.
💡 See the solution▼
A missing minus sign on a western longitude
Longitudes west of Greenwich are negative. Typing 73.9854 instead of -73.9854 moves a New York point to Central Asia.
💡 See the solution▼
Restoring a short Plus Code from a reference point that is too far away
A short code leaves out the first four characters, so the tool picks the full code nearest your reference point. If that point is far from the real spot, the nearest match is a different place that happens to share the remaining characters.
💡 See the solution▼
Searching one geohash and missing nearby points
If a nearby search only looks at records whose geohash starts the same way, it misses points just across a cell edge. Two points a few feet apart can have different first characters.
💡 See the solution▼
Using more digits than your GPS can support
A Plus Code with 12 to 15 digits, or a geohash with 11 or 12 characters, looks like it pins down a spot to an inch or less. Phone GPS is typically good to about 16 ft (5 m) in open sky, and worse near buildings and trees.
💡 See the solution▼
Quick Answers: Short Codes, Digits, and Privacy
Q.What is a Plus Code, and can it mark a place with no street address?
A. A Plus Code, formally an Open Location Code, is a short code for a latitude and longitude, such as 87G8P2X7+GR. Google developed it and released it as open source. It does not depend on street names, so it can mark a campsite, a trailhead, a boat ramp, or a gate on a rural road. Paste a code into the Google Maps search box to see the spot, or text the code to someone.
Q.How many digits does a Plus Code have, and how accurate is each length?
A. A standard code has 10 digits: eight before the plus sign and two after. It covers about 46 ft (14 m) from south to north, and about 35 ft (11 m) from east to west at 40° N. An 8-digit code covers about 912 ft (278 m) from south to north, an 11-digit code about 9 ft by 9 to 11 ft (roughly 3 m), and a 12-digit code less than 3 ft. The maximum is 15 digits. Phone GPS is typically good to about 16 ft (5 m) in open sky, so 10 or 11 digits is enough for most uses. This tool lets you switch between 6 and 15 digits and shows each size in feet and meters.
Q.What is a short Plus Code, and how do I use one?
A. A short code drops the first four characters of a full code. Those four characters identify an area up to about 69 miles (111 km) tall. Add a town name and you get something like P2X7+GR New York, and Google Maps fills in the missing characters from the town. This tool does not look up place names, so for a short code you enter a reference point near the spot: pick a city, type coordinates, or use your location. The tool restores the full code nearest that point, which works when the point is within about 10 miles (16 km) of the spot.
Q.What is a geohash, and how is it different from a Plus Code?
A. A geohash repeatedly halves the longitude and latitude range and writes the result as a string of base-32 characters, such as dr5ru6j7n. Geohashes that start with the same characters sit in the same larger area, so databases use them to index locations, find nearby points, and group records by area. A Plus Code is designed to be read aloud, typed, and texted by people. The two also use different characters: geohashes use 0-9 and b-z except a, i, l, and o, while Plus Codes use only 2-9 and C F G H J M P Q R V W X.
Q.How many characters does a geohash have, and how accurate is each length?
A. Each added character divides the area by 32. At the equator, 5 characters cover about 3.0 miles (4.9 km) square, 7 characters about 501 ft (153 m) square, 8 characters about 63 ft by 125 ft (19 m by 38 m), 9 characters about 16 ft (4.8 m) square, and 10 characters about 2 ft by 4 ft. The maximum is 12 characters, which covers less than 2 inches. East-to-west distances shrink as you move away from the equator, and this tool shows the sizes for the latitude of the point you enter.
Q.How do I convert coordinates to a Plus Code or geohash, and back?
A. Pick the type of input on the tabs (Lat/Long, Plus Code, or Geohash) and enter a value. The other formats update at once. Latitude and longitude can be decimal (40.748817, -73.985428), degrees-minutes-seconds (40°44′56″N 73°59′8″W), degrees and decimal minutes (40°44.929′N 73°59.126′W), decimal with N, S, E, and W letters, or a Google Maps URL. You can copy the result as decimal, DMS, or DDM.
Q.How do I find the Plus Code for a spot in Google Maps?
A. Press and hold on the map (right-click on a computer) to drop a pin, and the coordinates appear. Paste those coordinates, or the URL from the address bar, into the Lat/Long tab. Short links such as maps.app.goo.gl do not contain coordinates and cannot be read. Open the link in your browser first and copy the long URL it turns into.
Q.Can I share my current location as a Plus Code, and does it work without cell service?
A. Tap My location to read your position from your device. Your browser asks for permission first. The Share message box then combines the Plus Code, the lat/long, and a map link so you can copy and send it. Once the page has loaded, the conversion itself does not need an internet connection, but sending the message does. Phone GPS can often get a fix without cell service, though results vary by device and browser, so write the code down before you lose signal.
Q.Why does the converted location show up in the wrong place?
A. Usually it is one of three things: latitude and longitude are swapped, a western longitude is missing its minus sign, or a short code was restored from a reference point that is too far away. The tool also reads coordinates as WGS 84, the datum GPS uses. Coordinates copied from older maps or surveys that use another datum, such as NAD 27, can be shifted from the true spot, so convert them to WGS 84 first.
Q.Why do I need to check neighboring geohashes?
A. Geohashes that start with the same characters are close together, but the reverse is not true. Two points only a few feet apart can have different first characters if a cell edge runs between them. For a nearby search, check the center cell and the eight cells around it. This tool lists those eight cells for the length you choose, and you can tap one to load it.
Q.Is my location or anything I enter sent to a server?
A. The conversion code runs in your browser. It does not send what you enter or your location to a server, and the tool does not save it. Map links are different: opening Google Maps or OpenStreetMap passes the coordinates to that site. When you use My location, your browser or device may use its own location service to work out where you are.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.