Convert GPX to GeoJSON
MapGeoData converts GPX to GeoJSON right in your browser. Drop in your .gpx file, whether it holds waypoints, tracks, or routes, see it on the map, and download a clean .geojson file. It's free, needs no account, and there's nothing to install.
Convert GPX to GeoJSON in your browser
MapGeoData turns a GPX file from a GPS unit or a phone app into GeoJSON, with no
desktop software or command line. Drop your .gpx onto the map, confirm it looks
right, and export a single .geojson file. The conversion runs right in your
browser, with no account and nothing to install.
Why convert GPX to GeoJSON
GPX is the format GPS devices and fitness apps export, an XML layout built for exchanging tracks between those tools. GeoJSON is plain JSON that web maps read directly:
- Web-friendly. GeoJSON drops straight into Leaflet, Mapbox, OpenLayers, deck.gl, and most mapping APIs.
- Human-readable. It's just JSON, so you can open it in any text editor and read the coordinates and properties.
- One clean geometry. Your waypoints, tracks, and routes come out as plain point and line features, ready to style.
How to convert (3 steps)
- Add your GPX. Drag your
.gpxonto the page, or use the Convert a file button if you'd rather not add it to the map. - Preview it. Your waypoints and tracks render on the map so you can confirm them before exporting.
- Export as GeoJSON. Choose GeoJSON from the export options and download the file.
How your tracks and waypoints convert
Each part of the file maps to the natural GeoJSON shape. Waypoints become point features, and tracks and routes become line features, with a track's segments kept as the parts of the line. Waypoint details like the name and elevation come through as properties where the file records them. GPX is already in WGS84 lon/lat, the same system GeoJSON uses, so nothing is reprojected and every point lands where it was logged.
When you're ready, you can also send the same data out as CSV, a Shapefile ZIP, or FlatGeobuf from the same export menu.