Location QR Code Decoder

Extract GPS coordinates, latitude and longitude from QR codes

Location

Our free location QR code decoder extracts geographic coordinates from geo: links stored in QR codes. A value such as geo:52.2053,0.1218 represents latitude 52.2053 and longitude 0.1218 in decimal degrees. The geo URI format can also include altitude; coordinates do not inherently provide a street address.

Need to decode Location barcodes in your app?

Copy the example below to get started using our free Barcode Parser API. No API key needed.

cURL Node.js Python C# Go PHP Java HTML
barcode=$'geo:40.71872,-73.98905,100'
curl -sS -G https://parser.orcascan.com/ \
    --data-urlencode "barcode=$barcode" \
    --data-urlencode 'type=geo'
// Node.js 18+
var barcode = "geo:40.71872,-73.98905,100";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=geo";

fetch(url)
    .then(function(res) { return res.json(); })
    .then(console.log);
import json
from urllib.parse import quote
from urllib.request import urlopen

barcode = "geo:40.71872,-73.98905,100"
url = "https://parser.orcascan.com/?barcode=" + quote(barcode, safe="") + "&type=geo"

with urlopen(url) as response:
    print(json.load(response))
using System;
using System.Net.Http;

var barcode = "geo:40.71872,-73.98905,100";
var url = "https://parser.orcascan.com/?barcode=" + Uri.EscapeDataString(barcode) + "&type=geo";

using var client = new HttpClient();
Console.WriteLine(await client.GetStringAsync(url));
package main

import (
    "io"
    "net/http"
    "net/url"
    "os"
)

func main() {
    barcode := "geo:40.71872,-73.98905,100"
    endpoint := "https://parser.orcascan.com/?barcode=" + url.QueryEscape(barcode) + "&type=geo"
    res, err := http.Get(endpoint)
    if err != nil { panic(err) }
    defer res.Body.Close()
    io.Copy(os.Stdout, res.Body)
}
<?php
$barcode = "geo:40.71872,-73.98905,100";
$url = "https://parser.orcascan.com/?barcode=" . rawurlencode($barcode) . "&type=geo";

echo file_get_contents($url);
import java.net.URI;
import java.net.URLEncoder;
import java.net.http.*;
import java.nio.charset.StandardCharsets;

class BarcodeParser {
    public static void main(String[] args) throws Exception {
        String barcode = "geo:40.71872,-73.98905,100";
        String url = "https://parser.orcascan.com/?barcode=" +
            URLEncoder.encode(barcode, StandardCharsets.UTF_8) + "&type=geo";
        var request = HttpRequest.newBuilder(URI.create(url)).build();
        var response = HttpClient.newHttpClient().send(
            request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.body());
    }
}
<!doctype html>
<html>
<body>
<pre id="result">Loading...</pre>
<script>
var barcode = "geo:40.71872,-73.98905,100";
var url = "https://parser.orcascan.com/?barcode=" + encodeURIComponent(barcode) + "&type=geo";
fetch(url)
    .then(function(res) { return res.json(); })
    .then(function(json) {
        document.getElementById("result").textContent = JSON.stringify(json, null, 2);
    });
</script>
</body>
</html>

Decode location QR codes in bulk

Import a spreadsheet of location QR codes to extract latitudes and longitudes.

Import your barcodes

Extract GPS coordinates as you scan

Scan location QR codes with your phone to capture GPS coordinates in a shared spreadsheet.

Scan your barcodes

Frequently asked questions

How do I find the place a location QR code points to?

A location QR code decoder extracts the encoded latitude, longitude and optional altitude. To identify the location and find its country, nearest town or city and timezone, use the reverse geocoding lookup.

How are latitude and longitude encoded in a location QR code?

A geo URI stores decimal-degree coordinates as geo:latitude,longitude, with latitude first. For example, geo:52.2053,0.1218.

Can geo QR data include altitude?

Yes. An optional third coordinate gives altitude in metres, such as geo:52.2053,0.1218,20. The default coordinate reference system is WGS 84.

What does the u parameter mean in a geo URI?

The optional ;u= parameter expresses uncertainty in metres. It describes the uncertainty of the location rather than adding another coordinate.

Need help tracking Location barcodes?

We've helped organizations of all sizes tackle barcode challenges, chat with our team live for help to find a solution.