Coordinate ExtractorCompleted
oscoordinate
A bilingual tool that pulls latitude and longitude out of any Google Maps URL — full, shortened, @lat,lng, or place — and plots it on an interactive MapLibre map. No API keys, and it works offline.
Paste any Google Maps link and get the coordinates plotted on a map at once. It resolves shortened and place URLs by following redirects on the server, in a bilingual RTL interface.
What it solves
- Extracting coordinates from varied Google Maps URL formats is fiddly and manual.
- Shortened map links must be unshortened before the coordinates can be read.
- Geolocation tools often need API keys and lack Arabic / RTL support.
Impact
Any URL format
Full, short, @lat,lng, place
No API key
MapLibre + CartoDB, offline
Bilingual
EN / AR with RTL

Architecture
Front-end
Next.js 16React 19TypeScriptTailwind CSS 4Radix UILucide React
Maps
MapLibre GL JSCartoDB dark tiles (free, no key)
i18n
Bilingual EN / AR with RTL
Back-end
Next.js API route (/api/extract-coordinates)
Data flow
- Paste Google Maps URL (long / short)
- POST /api/extract-coordinates
- Server follows redirects (unshorten) with timeout
- Regex extracts @lat,lng from final URL
- Return { latitude, longitude, urls }
- MapLibre renders gold pin at coords
- Bilingual display (EN / AR, RTL)
Engineering decisions
MapLibre GL + CartoDB instead of Google Maps API
Zero-dependency, free, open-source mapping with no API key required.
Client-side URL parsing with regex
Extracts @lat,lng patterns directly in the browser for instant feedback.
Server Action follows redirects
Short links are unshortened server-side with a timeout before parsing.
Gallery




