Convert GPX to GeoJSON
Drop the .gpx below and download the GeoJSON. Each track becomes a LineString with [longitude, latitude, elevation] coordinates and each waypoint a Point, ready for Mapbox, Leaflet, MapLibre, QGIS and geojson.io.
Step by step
- 1.
Add the .gpx
Drop the file on the upload area or tap to pick it.
- 2.
Check the map
The route shows on the map before you download.
- 3.
Download the GeoJSON
Pick the compact GeoJSON or the formatted version, easier to read and edit.
Frequently asked questions
What is the difference between GPX and GeoJSON?
GPX is the standard XML format for GPS, accepted by Garmin, Strava and bike computers. GeoJSON is a lightweight JSON format built for drawing and handling routes on web maps.
Can I convert FIT to GeoJSON too?
Yes. Drop the .fit into the same converter and download the GeoJSON; only workouts with GPS produce a route.
Is my file uploaded to a server?
No. Reading and converting happen in your browser; the file never leaves your computer or phone.