Convert GPX to GeoJSON online

Turn a GPX track or waypoint file into GeoJSON for Leaflet, Mapbox, or any web map or GIS tool — converted in your browser.

GPX GeoJSON

Drop a GPX file here

Converted in your browser — your file is never uploaded.

Why convert GPX to GeoJSON?

GeoJSON is the lingua franca of web maps and GIS. If you have a GPX track from a GPS device and want to draw it with Leaflet or Mapbox, load it into QGIS, or process it in code, GeoJSON is the format you need.

What gets converted

  • Waypoints become Point features.
  • Routes and tracks become LineString or MultiLineString features.
  • Elevation is kept as the third coordinate value.
  • Names and descriptions are written into each feature’s properties.

Standards-clean output

The result is plain RFC 7946 GeoJSON with [longitude, latitude] coordinate order — ready to paste straight into your map or code. It is generated in your browser; nothing is uploaded.

Frequently asked questions

Is the output valid GeoJSON?

Yes — a standard FeatureCollection with [longitude, latitude] order, ready for Leaflet, Mapbox or QGIS.

Is elevation preserved?

Yes, elevation is kept as the optional third number in each coordinate.

Is my GPX uploaded?

No. Parsing and conversion happen entirely in your browser.

Can I use it with Leaflet?

Yes — drop the file straight into L.geoJSON or any web-mapping library.