Coordinately

Google Maps Coordinates Extractor

Paste a Google Maps, Apple Maps, or OpenStreetMap URL and the tool extracts the latitude and longitude by regex. Five URL patterns recognised. No API call. Full coordinate report below the map with cross-links to every other tool.

How to use this tool

  1. Copy the URL from a maps site

    Open Google Maps, Apple Maps, or OpenStreetMap in a browser tab and navigate to the place you want a coordinate for. Wait for the page to fully render — the URL in the address bar updates as you pan and zoom. Copy the URL.

  2. Paste it into the tool

    Paste the URL into the input field above. The regex matchers run instantly; the extracted coordinate appears in the hero card the moment a match is found. The map pin moves to the point and the URL of this tool itself updates so you can share the extraction.

  3. Read the report and jump elsewhere

    Below the map, the full report shows the extracted point in all six notations, the nearest known place, elevation, and one-click cross-links to every other tool on the site (reverse geocode, elevation analysis, distance, midpoint, bearing, sun position, time zone, magnetic declination) with the coordinate pre-loaded.

How “the URL has the coordinate” works

Every web map writes the current view's coordinates back into the URL bar as you pan and zoom. The convention differs between platforms, but the coordinate is always in the URL once you've interacted with the map.

For Google Maps the convention is @latitude,longitude,zoomlevelinserted into the path after the map type. For Apple Maps it's a query string parameter ?ll=lat,lon. For OpenStreetMap it's both a hash fragment #map=zoom/lat/lon and (for marker links) the query parameters ?mlat=lat&mlon=lon.

The tool runs five regular expressions against the input — one for each pattern — and returns whichever matches first.

Recognised maps URL patternsFive URL patterns used by Google Maps, Apple Maps, and OpenStreetMap to encode coordinates. Each pattern is shown as a monospace URL with the coordinate substring highlighted in red.Recognised maps URL patternsGOOGLE MAPShttps://www.google.com/maps/@40.7484,-73.9857,15z@lat,lon,zoomz — the canonical "current view" anchorGOOGLE MAPShttps://maps.google.com/?q=40.7484,-73.9857?q=lat,lon — search-and-place patternAPPLE MAPShttps://maps.apple.com/?ll=40.7484,-73.9857&q=Empire+State?ll=lat,lon — Apple Maps URL Scheme parameterOPENSTREETMAPhttps://www.openstreetmap.org/?mlat=40.7484&mlon=-73.9857#map=17/40.7484/-73.9857?mlat=…&mlon=… — drops a marker at lat/lonOPENSTREETMAPhttps://www.openstreetmap.org/#map=15/40.7484/-73.9857#map=zoom/lat/lon — viewport-only hash fragment
Five URL patterns this tool recognises. The coordinate substring is highlighted in red; the regex pulls those numbers out.Patterns documented by Google Maps URL parameters, the Apple Maps URL Scheme Reference, and OpenStreetMap permalink conventions.

The five recognised patterns at a glance

The five patterns this tool extracts, in priority order
PatternPlatformWhere the coord sitsNotes
@lat,lon,zoomzGoogle MapsIn the URL pathInserted as you pan / zoom; the canonical "current view" anchor
?ll=lat,lonApple MapsQuery stringDocumented in the Apple Maps URL Scheme Reference
?mlat=lat&mlon=lonOpenStreetMapQuery stringDrops a marker — separate from the viewport
#map=zoom/lat/lonOpenStreetMapHash fragmentViewport only — present in every OSM permalink
?q=lat,lonGoogle / AppleQuery stringGeneric "search and place" pattern with raw coordinates

Why this is useful

Coordinates are precise; map links are convenient. People naturally share map links — in emails, in chat, on Reddit — when they want to tell someone where to go. Getting the lat/lon out of that link is the first step in any workflow that needs the coordinate for something else.

The next step is almost always one of the other tools on this site: reverse-geocoding to an address, looking up elevation, calculating distance to a second point, or finding the time zone. Each of those is one click away in the report below.

Ten ways extracting coords from a maps URL gets used

Anywhere a map link is shared and the recipient needs the coordinate for a different system, this conversion happens. The ten cases below cover the bulk of real-world traffic.

1. Journalism — embedding a precise location in an article

A reporter receives a tip via a Google Maps link to a flood site, an accident location, or a development site. The article needs a coordinate plus a verified street address.

Worked example: Maps URL for a hurricane landfall point gets pasted into the tool; 40.7484, -73.9857 falls out. The reporter then jumps to /tools/coordinates-to-address for the canonical USPS-formatted address to cite alongside.

2. Real-estate listing intake

MLS data entry sometimes accepts a Google Maps link instead of a coordinate. The listing platform extracts the lat/lon and stores it alongside the structured address.

Worked example: Agent pastes a Google Maps URL pinning a property: ?q=37.7749,-122.4194. The coordinate is extracted and saved; the listing page then cross-renders the property in any of the six notations for buyer preference.

3. Geocaching cache placement and retrieval

Geocachers publish caches by lat/lon, but often share-out via Google Maps URLs to bypass app-store requirements. The tool bridges the gap.

Worked example: A community share-out URL contains @39.8333,-98.5833,15z (the geographic centre of the contiguous US). The tool extracts; the user pastes the lat/lon into their handheld GPS.

4. Travel-blog itinerary planning

Travel writers and itinerary builders collect dozens of destination URLs from Google Maps research. Converting each to coordinates lets them feed the lat/lon list into routing software (Google Trip Planner, Roadtrippers, Wanderlog).

Worked example: Itinerary with 14 stops — each a Google Maps URL — gets converted to a CSV of lat/lon pairs, ready for /tools/distance-calculator total-distance and /tools/midpoint-calculator hub-finding analyses.

5. Restaurant / venue review aggregation

Yelp, OpenTable, and TripAdvisor reviews often link out to Google Maps. Aggregators extracting the coordinate lets them cluster reviews by neighbourhood without relying on the address string format.

Worked example: Eight Yelp reviews of the same restaurant all link to slightly different Google Maps URLs (some with @, some with ?q=). All five extract to the same coordinate to within rounding.

6. Emergency dispatch from civilian map share

A 911 caller is told to share their location via Apple Maps or Google Maps. The dispatcher receives the URL in a chat or SMS; extracting the coordinate is faster than typing it manually.

Worked example: Apple Maps share link with ?ll=37.7898,-122.3942&q=Pier+33. The dispatcher pastes the URL, gets a coordinate, dispatches EMS to it.

7. Academic citations of geographic data

Researchers cite study locations with lat/lon plus a date. Field sites are often documented in lab notes as Google Maps URLs; extracting the coordinate gives a citation-grade reference.

Worked example:A biodiversity survey's eight sampling sites are bookmarked as Google Maps links. The paper's methods section cites each as a numeric lat/lon pair extracted via this tool.

8. Cross-platform sharing — Google to Apple to OSM

A point shared as a Google Maps URL needs to be opened on a device that prefers Apple Maps or OpenStreetMap. Extracting the lat/lon and re-encoding it in the target platform's URL is the conversion step.

Worked example: Google Maps URL @51.5074,-0.1278,16z → extracted to coords → built into an Apple Maps URL https://maps.apple.com/?ll=51.5074,-0.1278 for an iOS user.

9. Drone / UAV pre-flight waypoint loading

Most drone-flight-planning software accepts lat/lon waypoint lists. Mission planners often collaborate by sharing Google Maps links; the conversion to waypoint coordinates is mechanical.

Worked example: 12 mission-checkpoint URLs from a Google Maps share; tool extracts 12 coordinates; pilot loads them as a flight plan in DJI Pilot 2 or Mission Planner.

10. Education — geography classes and field trips

Teachers preparing field-trip handouts often include Google Maps links. Converting each to a coordinate gives students a precise target they can use offline (with handheld GPS) or feed into tools that don't accept URLs.

Worked example: Handheld GPS-equipped students receive a coordinate list extracted from a Google Maps share — no internet needed on the field trip itself.

Choosing the right tool from the “URL → point” family

Pick the right operation for what your input looks like
Input shapeRight tool on CoordinatelyReturns
Google / Apple / OSM URL (this page)This pageLat/lon parsed from the URL string
Postal address/tools/address-to-coordinatesForward geocoding (Mapbox v6) with confidence bands
A coordinate in one notation/tools/coordinate-converterThe same point in all six notations
A ZIP / postal code/tools/zip-to-coordinatesCentroid coordinate for the postal area
A map click (no URL or address)/Click any point on the map and read its coordinates

Why a URL might fail to parse

  • It's a short URL. goo.gl/maps/… and maps.app.goo.gl/… are opaque redirects with no coordinate in the URL itself. Open the URL in a browser, wait for the long URL to appear in the address bar, then paste that.
  • It's a place-name URL. https://www.google.com/maps/place/Eiffel+Tower without a coordinate suffix tells Google to look up the place by name. The lat/lon only appears in the URL after Google resolves the place internally and rewrites the URL — usually adding an @lat,lon,zoomz anchor.
  • The URL was copied at the wrong moment. If you copy before the map fully renders, the URL may not yet include the @ anchor. Wait until the page stops loading, then re-copy.
  • It's a third-party map link. Bing Maps, Yandex Maps, and Mapy.cz use different URL conventions not yet supported by this tool. The fix: open the link, find the coordinate manually, and paste the lat/lon into /tools/coordinate-converter instead.

Privacy and data-flow notes

The URL parsing runs entirely client-side. No service call to Google, Apple, or OSM. The browser doesn't even need to be online for the regex extraction.

The optional nearest-place and elevation lookups in the report hit server-side proxies (/api/geocode/reverse, /api/elevation) with Cache-Control: no-store. Mapbox and the USGS / SRTM services receive the extracted coordinate for one round trip; Coordinately discards the response.

Cross-tool URLs (in the “use this point in another tool” section of the report) carry the coordinate as a query parameter — the same coordinate the URL you pasted contained. If the original Maps URL is sensitive, the same lat/lon ends up in subsequent tool URLs.

Frequently asked questions

Which URL patterns does this tool recognise?

Five: Google Maps @lat,lon,zoomz (the path anchor); Apple Maps ?ll=lat,lon (the URL Scheme parameter); OpenStreetMap ?mlat=lat&mlon=lon (the marker query parameters); OpenStreetMap #map=zoom/lat/lon (the permalink hash fragment); and the generic ?q=lat,lon used by both Google and Apple. Patterns are tried in that priority order; the first match wins.

Why don't short URLs (goo.gl) work?

Short URLs like goo.gl/maps/… and maps.app.goo.gl/… are opaque redirects — they don't contain a coordinate themselves; they redirect to a long URL that does. The tool runs entirely in your browser with regex, so it can't follow redirects (that would require an outbound HTTP request). The fix: open the short URL in a browser tab, wait for the address bar to update with the full URL, then paste that.

Why doesn't a place-name URL work?

Place-name URLs like https://www.google.com/maps/place/Eiffel+Tower tell Google to look up the place by name; the lat/lon is only inserted into the URL after Google resolves the name internally. The fix: open the link, let the page finish loading (Google rewrites the URL adding an @lat,lon,zoomz anchor), then copy the updated URL.

Is this an API call to Google?

No. The tool runs five regular expressions against the URL string. Nothing leaves your browser for the extraction. Optional follow-up lookups in the report below (nearest-place, elevation) do hit server-side proxies (Mapbox, USGS / OpenTopoData) with Cache-Control: no-store, but the URL → coordinate step is local.

Are the extracted coordinates accurate?

They're the coordinates the source platform encoded into the URL — typically to four to six decimal places (10 m – 11 cm precision). The actual accuracy of those coordinates is whatever the source platform decided when it generated the URL; for Google Maps, that's usually parcel-level for street addresses and rooftop-level for verified businesses.

What about Bing Maps, Yandex Maps, or Mapy.cz URLs?

Not yet supported. Each of those uses a different URL convention. The fix: open the link, find the coordinate manually in the URL bar (the patterns are similar), and paste the lat/lon into /tools/coordinate-converter instead. If you regularly need one of these, write to info@coordinately.org — adding a new pattern is a one-line regex.

What format are the extracted coordinates in?

Decimal degrees in WGS 84 — the same datum every major web map uses. The report below renders the same point in all six notations (DD, DMS, DDM, UTM, MGRS, Plus Code) with per-row copy buttons.

Can I do the reverse — generate a Google Maps URL from a coordinate?

Yes, with /tools/drop-pin. Paste a lat/lon there and it generates Google Maps, Apple Maps, and OpenStreetMap deep-link URLs ready to paste into chat or email.

Sources

  1. Google Maps URL parametersGoogle Maps URLs — documentation of the @lat,lon,zoomz anchor and ?q=lat,lon search-place pattern · https://developers.google.com/maps/documentation/urls/get-started · Accessed .
  2. Apple Maps URL SchemeApple Maps URL Scheme Reference — the ?ll= and ?q= parameters · https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html · Accessed .
  3. OpenStreetMap URL conventionsOpenStreetMap permalink and marker URL conventions — wiki documentation · https://wiki.openstreetmap.org/wiki/Browsing#Sharing_a_link_to_the_map · Accessed .
  4. RFC 5870 (geo: URI)IETF RFC 5870 — A Uniform Resource Identifier for Geographic Locations (the geo: URI scheme) · https://datatracker.ietf.org/doc/html/rfc5870 · Accessed .
  5. RFC 3986 (URI generic syntax)IETF RFC 3986 — Uniform Resource Identifier (URI): Generic Syntax — fragment, query, and path conventions · https://datatracker.ietf.org/doc/html/rfc3986 · Accessed .
  6. WHATWG URL StandardWHATWG URL Standard — the browser implementation of URL parsing · https://url.spec.whatwg.org/ · Accessed .
  7. ISO 6709:2022ISO 6709:2022 — Standard representation of geographic point location by coordinates (the format the extracted point conforms to) · https://www.iso.org/standard/75147.html · Accessed .
  8. NIMA TR 8350.2 (WGS 84)NIMA Technical Report 8350.2 — Department of Defense World Geodetic System 1984 (the reference frame Google / Apple / OSM all use) · https://earth-info.nga.mil/php/download.php?file=coord-wgs84 · Accessed .
  9. Mapbox Geocoding API v6Mapbox Geocoding v6 — used by the nearest-place lookup in the report · https://docs.mapbox.com/api/search/geocoding-v6/ · Accessed .
  10. USGS 3DEPUSGS 3D Elevation Program — used by the elevation lookup in the report · https://www.usgs.gov/3d-elevation-program · Accessed .