GPX to GeoJSON Converter

Convert GPX tracks, routes and waypoints to GeoJSON for Leaflet, Mapbox, QGIS and PostGIS. Free, instant, and your file never leaves your browser.

Drop your GPX file here

or

Your file never leaves your browser

How to convert GPX to GeoJSON

  1. Drop your GPX file into the box above, or click to choose it from your device.
  2. The conversion runs instantly inside your browser. Nothing is uploaded.
  3. Click “Download GeoJSON” to save the converted file.

About the formats

GPX .gpx
GPX (GPS Exchange Format) is the open XML standard for GPS data. It stores waypoints, routes and tracks with elevation and timestamps, and is what Garmin, Strava, Komoot, Wahoo and most outdoor apps import and export.
GeoJSON .geojson
GeoJSON (RFC 7946) is the JSON format for geographic features used by web maps and GIS software such as Leaflet, Mapbox, QGIS and PostGIS. Coordinates are stored as longitude, latitude, elevation.

Frequently asked questions

How is GPX mapped to GeoJSON?

Waypoints become Point features, routes become LineString features, and tracks become LineString or, with several segments, MultiLineString features. Coordinates are written as longitude, latitude, elevation, as RFC 7946 requires.

Where do timestamps and heart rate go?

GeoJSON coordinates cannot hold them, so per-point values are stored in the feature’s properties.coordinateProperties, in arrays parallel to the coordinates: times for timestamps, and heart rate, cadence or temperature when the GPX file contains them.

Which coordinate reference system is used?

WGS 84 (EPSG:4326) — the system both GPX and GeoJSON are defined in — so no reprojection takes place and coordinates are not rounded.

Are my files uploaded to a server?

No. The conversion runs entirely in your browser, and the page is not allowed to send your file anywhere. You can verify this in the Network tab of your browser’s developer tools: no request carries your file.

Is there a file size limit?

Files up to 200 MB are accepted. Because everything happens on your device, very large files are limited by your browser’s memory rather than by an upload quota.