GPS QR Code Generator
On this page
What is a GPS location QR code?
A GPS QR code stores a pair of coordinates (latitude and longitude) in the geo: URI format. Scan it with a phone and the maps app opens directly to that pin. No typing, no “share location” links, no copy-pasting a Google Maps URL that half the time opens in a browser instead of the app.
The format itself is dead simple: geo:28.613939,77.209023. Add a label and it becomes geo:28.613939,77.209023?q=India%20Gate. Android and iOS both handle this natively. The camera reads the code, the OS hands the URI to whatever the user set as their default maps app, and a pin drops at those coordinates.
This matters most when a street address does not actually get someone where they need to go. Big venues, rural properties, construction gates, festival entrances, hiking trailheads. An address might point to the front office of a 40-acre site; a GPS QR points to the loading dock on the east side.
How to generate a GPS QR code
You have two ways to get coordinates into the form.
Click “Use My Current Location” and the browser asks for location permission. Allow it once and the latitude/longitude fields fill in automatically. The tool uses your browser’s Geolocation API with high-accuracy mode enabled, so you’ll get something close to your actual GPS position rather than a rough cell-tower estimate.
If you already have coordinates (copied from Google Maps, a survey, a mapping tool), type them directly into the Latitude and Longitude fields. Latitude goes from -90 to 90, longitude from -180 to 180. The form validates both and won’t generate a QR if the values are out of range.
The label field is optional but worth filling in. Whatever you put there shows up as the pin name when someone scans the QR in Google Maps or Apple Maps. “Main gate” or “Parking lot B - Row 4” is a lot more useful than a raw coordinate pair.
Once you generate, you can download as PNG (up to 1600px), WEBP, or SVG. SVG is the right choice for anything printed. It scales to any size without going blurry, so a 30cm wall sign looks as sharp as a business card.
Key Features
- One-click “Use My Location” via the browser Geolocation API, no coordinates to find or copy
- Manual latitude and longitude input with range validation (-90 to 90, -180 to 180)
- Optional location label encoded as
?q=parameter, shown as the pin name in map apps - Live
geo:URI preview so you can verify the string before downloading - Custom QR foreground and background colors with preset swatches and a hex color picker
- Export as PNG (128px to 1600px), WEBP, or SVG for print and digital use
- Copy to clipboard button alongside the download
- All generation happens in your browser, your coordinates are never sent to any server
How the geo: URI format actually works
The geo: scheme is defined in RFC 5870, published in 2010. It was designed specifically for this: a compact, interoperable way to pass coordinates between apps and systems.
The basic form is just coordinates:
geo:28.613939,77.209023
With an optional label (URL-encoded):
geo:28.613939,77.209023?q=India%20Gate
When a phone’s camera or QR scanner reads a code containing this, the operating system looks for apps registered to handle geo: URIs. On Android, that’s usually Google Maps. On iOS, that’s Apple Maps unless the user changed the default. The app opens directly to the pin.
Worth knowing: the spec supports a third value for altitude (geo:lat,lng,alt), but most mapping apps ignore it. This tool only encodes lat/lng, which is what actually works everywhere.
Does this work on iPhones?
Yes, but with one caveat. The iOS Camera app recognises geo: URIs and passes them to Apple Maps. The map opens, the pin drops, the label appears. That part works.
The caveat: on some older iOS versions (pre-iOS 16 or so), the Camera app shows the raw URI as text instead of routing it automatically. The user then taps the link manually to open Maps. It still works, just takes an extra tap. On anything running iOS 16 and later, it routes directly.
If a user has Google Maps set as their default for links (possible since iOS 14), scans may open there instead. That’s fine.
Does this work on Android?
More reliably than on iOS, generally. Android’s intent system was built for this kind of thing. A QR scanner reads the geo: URI, Android looks for apps that handle the scheme, and Google Maps opens with the pin. If multiple map apps are installed (Maps, Waze, HERE, OsmAnd), the user gets a chooser dialog asking which one to use.
The overall experience on Android is: scan, tap to open, see pin. Usually two seconds from scan to map.
Where GPS QR codes are actually useful
The honest answer is: anywhere a plain address fails you.
Event venues are a good case. Print the GPS QR on the invite or the ticket, pointed at the specific entrance rather than the building’s main address. Attendees who drove in from out of town scan it and navigate directly to the right gate. The parking attendant who printed the QR on the signpost used a coordinate 200 metres from the front door, not the postal address that drops a pin on the wrong street.
Delivery and logistics crews deal with this constantly. A warehouse address gets drivers to the street. A GPS QR on the delivery note gets them to the loading bay on the north side of the building, past the barrier, third door on the left.
Outdoor and adventure contexts. Trail operators, campsite managers, race organisers. Print a GPS QR at each waypoint. Participants scan it to confirm they’re at the right checkpoint or to navigate to the next one. Much easier than handing out printed coordinate sheets.
Rural and large-property real estate. A farm, a plot of land, a large estate. The address puts buyers somewhere on a long driveway. The GPS QR puts them at the specific parcel boundary or the site entrance. Useful on printed flyers and for estate agents doing viewings.
Personal use is underrated. The exact parking spot you use at a crowded stadium. The trailhead that Google Maps keeps getting wrong. The picnic spot in a park that has no formal address. Generate a QR, save it in your notes, share it with whoever’s meeting you there.
How precise are the coordinates?
Six decimal places gives roughly 10cm accuracy at the equator. Four decimal places is about 11 metres. For most practical purposes (finding a building entrance, a parking bay, a trail start), five decimal places is more than enough. You don’t need sub-metre accuracy to direct someone to a festival gate.
When you use the “Use My Location” button, this tool stores six decimal places from whatever your browser’s geolocation returns. That accuracy depends on your device. A phone with GPS lock in open sky gives you sub-3-metre accuracy. A laptop on WiFi gives you something rougher, maybe 20 to 50 metres depending on how well your router is mapped in the network location databases.
If you’re getting coordinates from Google Maps yourself: right-click any point on the desktop version and the coordinates appear at the top of the context menu. On mobile, tap and hold to drop a pin, then tap the pin card at the bottom. Either way you get a decimal coordinate you can paste directly into the form.
Your coordinates stay on your device
The “Use My Location” button reads your position once to fill in the form fields. That’s all. Your coordinates are not sent to any server, not stored, not logged. The QR code is generated entirely in your browser using JavaScript. The only thing that leaves your device is what you download.
If you’d rather not use the location button, every field accepts manual input. The tool works the same either way.
Related tools
- QR Code Generator - all QR types in one place: URL, text, Wi-Fi, vCard, SMS, and more
- QR Code Scanner - decode any QR code in your browser
- Wi-Fi QR Code Generator - let guests join your network without reading out a password
- vCard QR Code Generator - share contact details by scan
- URL QR Code Generator - turn any web link into a QR code
Frequently asked questions
Which maps app opens when someone scans the QR code?
On Android, usually Google Maps. On iOS, usually Apple Maps. If the user changed their default or has multiple apps installed, they may see a chooser. The geo: format is understood by all major mapping apps including Waze, HERE, and OsmAnd.
How do I get coordinates for a specific place?
On desktop Google Maps, right-click the exact spot and the coordinates appear at the top of the context menu. On mobile, tap and hold to drop a pin, then tap the pin card to see the lat/lng. Copy both numbers, paste them into the form.
Does the QR code expire or stop working?
No. The coordinates are fixed in the QR code. A QR pointing to a permanent location (a building entrance, a trailhead) works forever. If the location changes, you need to generate a new QR.
Can I encode altitude too?
The geo: spec supports altitude as a third value. Most mapping apps ignore it though, and it complicates things without adding much for navigation. This tool encodes lat/lng only.
Does the tool require location permission to work?
No. The “Use My Location” button is a shortcut. You can type any coordinates manually without ever granting location access.
What does the label field do?
Whatever you put in the label field shows up as the pin name in the maps app when the QR is scanned. A coordinate pair alone tells you where but not what. “Staff car park - east entrance” is more useful. Leave it blank if you don’t need a name.
How accurate is “Use My Location”?
It depends on your device and environment. A phone with a clear GPS signal gives you somewhere in the 3 to 5 metre range. A laptop on WiFi can be much less precise, sometimes 50 metres or more. For most use cases that’s fine. If you need precise coordinates, verify them against Google Maps before generating.
Author
Abhishek
Software Engineer & Privacy Advocate
Abhishek is a software engineer and privacy advocate specializing in building fast, secure, and client-side utility applications. He focuses on creating browser-based tools that keep user data local and private.