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
Converting…
Your file never leaves your browser
How to convert GPX to GeoJSON
- Drop your GPX file into the box above, or click to choose it from your device.
- The conversion runs instantly inside your browser. Nothing is uploaded.
- 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.
Related tools
- GeoJSON to GPX ConverterConvert GeoJSON from QGIS, geojson.io or Mapbox to GPX for Garmin, Komoot, Strava and other GPS devices and apps. Free, instant, and private — nothing is uploaded.
- GPX to KML ConverterConvert GPX tracks, routes and waypoints to KML for Google Earth and Google My Maps. Free, instant, and your file never leaves your browser.
- GPX to CSV ConverterConvert GPX tracks, routes and waypoints to a CSV spreadsheet for Excel, Google Sheets or Python. One row per point, and your file never leaves your browser.
- KML to GPX ConverterConvert KML from Google Earth or Google My Maps to GPX for Garmin, Komoot, Strava and other GPS devices and apps. Free, instant, and private — nothing is uploaded.