Convert GeoJSON to GPX
Get a GeoJSON route, from geojson.io, QGIS or your own code, onto a GPS device or into a phone app as GPX. If your coordinates are latitude first by mistake, it spots that and fixes them.
Other formats work here too: GPX, KML, KMZ, GeoJSON and TCX.
Converted on your device. Your file is never uploaded.
file ·
How to convert GeoJSON to GPX
- Choose your .geojson or .json file. A FeatureCollection, a single Feature or a bare geometry all work.
- Check the route is where you expect on the map.
- Download the GPX.
Questions
How is the GeoJSON mapped to GPX?
LineStrings and MultiLineStrings become tracks (with one segment per line), Points become waypoints, and the name or title property becomes the name. Polygons are saved as tracks around their edge.
My route was in the wrong place. Why?
GeoJSON is longitude first. If a file was written latitude first, latitudes come out over 90°, which is impossible. The converter spots that, swaps them back and tells you. If both values are under 90° it can't tell, so check the map.
Are elevation and timestamps kept?
Yes. A third coordinate becomes the GPX elevation, and times in properties.coordinateProperties.times become point timestamps.
Are my files uploaded?
No. The conversion runs in your browser, so your file never leaves your device. Nothing is sent to a server or stored.
Need a Google encoded polyline instead? Try KML → Polyline.