Convert GPS tracks, waypoints, and routes from GPX to GeoJSON — free, private, and entirely in your browser. Supports Garmin, Strava, Komoot, AllTrails, and any standard GPX file.
Drag & drop your .gpx file here
or click to browse
GPX (GPS Exchange Format) is an open XML-based standard for GPS data. It stores waypoints, tracks, and routes with coordinates and optional attributes like elevation, timestamps, and names. It is used by Garmin devices, Strava, Komoot, AllTrails, and virtually every GPS app.
GeoJSON is the standard format for web mapping. Converting GPX to GeoJSON lets you use your GPS data with Leaflet, Mapbox GL JS, QGIS, PostGIS, and any modern mapping tool.
This converter supports all three GPX element types: tracks (<trk>) become GeoJSON LineStrings with all track points, waypoints (<wpt>) become GeoJSON Points, and routes (<rte>) become GeoJSON LineStrings.
Yes. If your GPX file includes elevation data (<ele> elements), the converted GeoJSON coordinates will include the elevation as the third value in each coordinate pair, following the GeoJSON spec for 3D geometries.
Completely. All conversion happens in your browser using JavaScript — your GPX file is never uploaded to any server.
On Strava: open an activity → click the three-dot menu (⋯) → select "Export GPX". On mobile: tap the activity → tap the three dots → Export GPX.
Need to visualize your GPS tracks on an interactive map? Try the full GeoDataTools app.
Open GeoDataTools App