Extract Coordinates From an OpenStreetMap Link

Get latitude and longitude from an OpenStreetMap marker, map view or osm.org short link. Copy GPS coordinates or export a batch to CSV.

Get latitude and longitude from an OpenStreetMap marker

In OpenStreetMap, open Share, select Include marker and place the marker on your location. Copy the full link from the Link tab and paste it above. The mlat and mlon fields give the marker. The coordinates after #map= describe the center of the map view, which can move as you pan.

If you copied an OpenStreetMap HTML embed, paste the URL from its src attribute to read its marker.

OpenStreetMap’s sharing guide

Decode an osm.org short link to GPS coordinates

Paste the address that starts with osm.org/go/. The characters after /go/ encode a position, so the tool can read it directly in your browser. Links with ?m show a marker at that position. Short links store coordinates at limited precision. For a more detailed position, zoom in and copy the full marker link.

OpenStreetMap’s short link documentation

Open an OpenStreetMap location in Google Maps or export to CSV

Each result lets you copy latitude and longitude or open the position in Google Maps, Apple Maps or Street View. To save multiple locations, paste one link per line and download the CSV. Its source column identifies markers, map centers and approximate coordinates from short links.