Convert GPX tracks into clean RFC 7946 GeoJSON
GPX XML is verbose and slow to parse in modern JavaScript web maps. Upload or paste any .gpx file above to preview the geometry on a live map and export a clean GeoJSON FeatureCollection ready for Leaflet, Mapbox GL JS, MapLibre, OpenLayers, QGIS or PostGIS.
Standard GeoJSON axis order & structure
According to the RFC 7946 GeoJSON specification, coordinates must be stored as [longitude, latitude] (or [longitude, latitude, elevation] when altitude is present). Our browser-side converter automatically translates GPX <wpt> nodes into GeoJSON Point features and <trkseg> / <rte> sequences into LineString features while keeping feature names inside properties.name.
Why browser-side conversion matters for developers & athletes
- Instant formatting: Pretty-printed JSON ready to copy straight into a code editor or download as
.geojson. - Visual sanity check: Spot swapped coordinates or stray GPS spikes on the map before committing data to a repository.
- Complete privacy: Files never touch an external upload bucket.
Need to go the other direction?
Use our GeoJSON to GPX Converter whenever you need to send web-map routes back to a handheld GPS unit.
