Google Maps Link Parser

Output

Paste a full Google Maps link or a plain latitude and longitude pair. A short link such as maps.app.goo.gl has to be opened first, because expanding it needs a network request and this page never makes one.

About this tool

Paste a Google Maps link and the page pulls out the latitude and longitude, then writes them the way you need them: a plain pair, degrees minutes and seconds, JSON, CSV, a SQL INSERT or a GeoJSON point. A label you type is carried into the formats that have a place for it.

Questions

Why does a short link not work?
A maps.app.goo.gl link only reveals its coordinates after a network request follows the redirect, and this page makes no requests. Open the link once in a browser and paste the full URL from the address bar.
Which part of the link is used?
The viewport centre after the @ sign comes first, then the place coordinates marked with !3d and !4d, then query parameters such as q or destination. The first valid pair wins.
Why are the coordinates rounded?
Six decimal places is about ten centimetres on the ground, which is finer than any map pin. Rounding there keeps the numbers readable without losing meaningful precision.