# Google Maps Link Parser Guide

Pull the latitude and longitude out of a Google Maps link and export it as JSON, CSV, SQL or GeoJSON.

- Tool: https://ilham.dev/tools/maps-link-parser/
- Guide URL: https://ilham.dev/guides/maps-link-parser/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Indonesian Data Formats (https://ilham.dev/guides/indonesian-data-formats/)

## What it does

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.

## Use the tool

Open https://ilham.dev/tools/maps-link-parser/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Convert.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## 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.