GeoJSON to GPX Converter

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

Drop your GeoJSON file here

or

Your file never leaves your browser

How to convert GeoJSON to GPX

  1. Drop your GeoJSON 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 GPX” to save the converted file.

About the formats

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

Frequently asked questions

How are GeoJSON features mapped to GPX?

Points become waypoints, LineStrings become tracks, and a MultiLineString becomes one track with several segments. GPX has no polygons, so polygon outlines, including holes, are written as track segments. The name is read from the name or title property, the description from description, and elevation from the third coordinate. A Feature, a FeatureCollection or a bare geometry all work.

Can the GPX file contain timestamps?

Plain GeoJSON has no per-point time. If the file carries times in properties.coordinateProperties.times, the layout written by this site’s GPX to GeoJSON converter, they become GPX timestamps, so a GPX → GeoJSON → GPX round trip keeps waypoints, routes, segments, elevation and time. Heart rate and other sensor values are not written to GPX.

Why does it say my file does not use WGS 84?

GPX only supports WGS 84 longitude and latitude in degrees. GeoJSON exported from QGIS or ogr2ogr in a projected system such as EPSG:3857 contains metres, which would produce an unusable GPX file, so it is rejected. Export the layer again with the CRS set to EPSG:4326.

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.