Geo URI Builder

Enter coordinates to generate a shareable geo: URI for maps and apps.

How it is calculated

The tool assembles a string in the form geo:lat,lon[,alt][;u=accuracy]. Latitude and longitude are in decimal degrees: latitude must be between −90 and 90, longitude between −180 and 180, and anything outside these ranges gives no result. Each number is rounded to six decimal places (about 0.1 meter) and trailing zeros are removed, so 48.2010 becomes 48.201. Altitude, in meters, is added as a third number whenever it is entered, 0 included; leave it blank when the altitude is unknown, because RFC 5870 says an unknown altitude must be left out, never written as 0. At a pole (latitude 90 or −90) the longitude is written as 0, as the RFC asks, and a note says so; accuracy, also in meters, is added as ;u= only if it is greater than zero. Negative longitudes (west) and latitudes (south) keep their minus sign. Degrees-minutes-seconds must be converted to decimal degrees before use.

Worked example

Take latitude 48.2010, longitude 16.3695, altitude 183 m and accuracy 25 m. Each value is formatted to up to six decimals with trailing zeros removed: 48.2010 becomes 48.201 and 16.3695 stays as it is. Altitude 183 is appended after the longitude, and accuracy is appended after a semicolon. The result is geo:48.201,16.3695,183;u=25. Paste it into a link, a QR code or a message and a phone will offer to open that point in a maps app.

Try this example →

Common mistakes

  • Swapping latitude and longitude. The geo: format is always latitude first, so putting 16.3695 first places the point somewhere else entirely.
  • Entering coordinates in degrees, minutes and seconds (48°12′3.6″). Only decimal degrees are accepted.
  • Dropping the minus sign for the southern or western hemisphere. Sydney's longitude is east (+151.2093) but its latitude is south (−33.8688).
  • Typing 0 for an altitude you do not know. 0 is written into the URI as a real height of 0 m (relative to the WGS-84 reference, not the ground); leave the field blank for unknown.
  • Using accuracy in kilometers or feet. The u= value is in meters, so 25 means a 25-meter uncertainty radius.

Sources

About this calculator

The geo: URI scheme, standardized in RFC 5870, is a compact way to encode a geographic location as a single string: geo:latitude,longitude, with optional altitude and a u= parameter for positional uncertainty in meters. Unlike a link to a specific map provider, a geo: URI is provider-agnostic — the operating system decides which installed mapping app should handle it.

This makes it the standard way to embed a location in a text message, QR code, calendar invite, or contact card so that tapping it opens the user's preferred maps app (Google Maps, Apple Maps, OsmAnd, etc.) directly at those coordinates. Android and iOS both register geo: as an intent/URL scheme, which is why developers and mapping tool builders rely on it for cross-app, cross-platform location sharing instead of hardcoding a specific map service's link format.

Was this helpful?

You can pick up to 3 reactions.

Note from the editors

For Sydney Harbour, -33.8568 and 151.2153 with an accuracy of 10 give geo:-33.8568,151.2153;u=10. Open the string on a phone before printing it in a QR code, since desktop browsers often have no handler for geo: links. Which phone and map app opened yours, and did it land on the right spot?

Comments

  • Be the first to comment.

Popular calculators

All Calculators