Language
No uploads · Runs in browser

Convert GPX to GeoJSON — for web maps and GIS

Upload a GPX track or route and get a GeoJSON file for Leaflet, Mapbox, QGIS, or any GIS tool. Conversion runs in your browser.

Files stay on your device Web maps & GIS compatible Free to use
GPX to GeoJSON conversion

GPX to GeoJSON

Upload a .gpx file to convert to .geojson. Use in web maps (Leaflet, Mapbox) or GIS tools. Conversion runs in your browser — files are not uploaded.

Why convert GPX to GeoJSON?

GeoJSON is the standard for web maps and GIS — convert GPX to use in Leaflet, Mapbox, or QGIS.

For web maps and GIS

GeoJSON is the standard format for web mapping libraries and GIS tools. Convert your GPX track to GeoJSON to use it in Leaflet, Mapbox, QGIS, or any GeoJSON-compatible app.

Runs in your browser

Upload a GPX file and download a GeoJSON file in seconds. No server processing — conversion runs locally in JavaScript.

Tracks and routes

We convert GPX track and route points into a GeoJSON LineString feature with coordinates in [lon, lat] order.

How to convert GPX to GeoJSON

Three steps from a GPX file to a GeoJSON file for web maps or GIS.

1

Upload your GPX file

Click the upload button and select a .gpx file. Any standard GPX track or route works.

2

Convert in the browser

We parse the GPX and build a GeoJSON file immediately in your browser. Nothing is sent to any server.

3

Download and use

Download the .geojson file and use it in Leaflet, Mapbox, QGIS, or any tool that accepts GeoJSON.

Good to know

GeoJSON (RFC 7946) is a JSON format for geographic data, widely used in web mapping (Leaflet, Mapbox, OpenLayers) and GIS software (QGIS). Converting GPX to GeoJSON lets you load your route into web apps or spatial tools.

Our converter outputs a FeatureCollection with one LineString feature. Coordinates follow GeoJSON order [longitude, latitude]; elevation is included when present in the GPX.

All conversion is local. Need the reverse? Use our GeoJSON to GPX tool.

When to use GPX to GeoJSON

  • Load a GPX route into a web map (Leaflet, Mapbox, OpenLayers).
  • Import a GPS track into QGIS or another GIS tool that prefers GeoJSON.
  • Use GPX data in a web app or API that expects GeoJSON.
  • Share a route as JSON for developers or mapping services.

Starting from a Google Maps route? Use the Google Maps to GPX first, then convert GPX to GeoJSON here.

Ready to convert your GPX to GeoJSON?

Upload a GPX file above and download a GeoJSON file in seconds.