Skip to main content
Vecaria

GPX to GeoJSON Converter

Local

Convert GPX tracks, routes and waypoints to GeoJSON — free online, no upload. LineString/Point features with a map preview, processed locally in your browser.

Sample data loaded — click "Convert to GeoJSON" to try it.

What is it? GPX to GeoJSON converts GPS tracks, routes and waypoints from GPX into GeoJSON LineString and Point features — drop a .gpx file (or paste), with a result summary and a map preview. Everything runs locally in your browser — nothing is uploaded, and no account is needed.

TL;DR: GPX to GeoJSON turns tracks, routes and waypoints into LineString and Point features, keeping track and route names — from Strava, Garmin or any GPX 1.0/1.1 file. Drop it in, check the map preview, then download the .geojson. Free with no login; conversion runs locally, nothing uploaded.

How to use

  1. Drop your .gpx file into the input (or use "or load a file"), or open it in a text editor and copy-paste the contents.
  2. Click "Convert to GeoJSON" (or press Ctrl/Cmd+Enter).
  3. Check the result summary and map preview, then copy or download the .geojson.

FAQ

Are waypoints included?

Yes — tracks become LineStrings and waypoints become Points.

What is kept from the GPX?

Only geometry: track/route names are preserved; elevation, timestamps, GPX extensions (heart rate, cadence, temperature) and waypoint names are not kept.

Is it local?

Yes — parsing and conversion run entirely in your browser; only the map preview's basemap tiles (CARTO) load over the network.

Will it convert GPX from Strava, Garmin or Komoot?

Yes — any standard GPX 1.0 or GPX 1.1 file works. The tool reads trkseg/rte/wpt elements, so it does not matter which device, watch or app recorded the file.

Can I get plain JSON instead of GeoJSON?

GeoJSON is JSON — the .geojson download is an ordinary JSON document that json.load / JSON.parse / jq read directly. There is no separate "plain JSON" schema for GPS tracks here, and returning a different shape is out of scope.

How would I do this in code?

For Node or the CLI, @tmcw/togeojson (the mapbox togeojson library) converts KML and GPX to GeoJSON; for one-off files this page does the same without uploading anything.

Can I just view a GPX file?

Yes — drop the .gpx and the map preview renders the tracks and waypoints after conversion, nothing is sent anywhere and you don't have to download anything. For a dedicated viewer, use the GeoJSON Map Editor on the result.

Examples

  • Input: drop a .gpx file into the input box, or paste <gpx><trk><trkseg><trkpt lat="39.9" lon="116.4"/>…</trkseg></trk></gpx>.
  • Output: a FeatureCollection where trk/trkseg become LineStrings and wpt become Points — with a feature summary and map preview; copy it or download the .geojson.

Supported formats

GPXGeoJSON

Limitations

  • Elevation, time and GPX extensions (heart rate, cadence, temperature) as well as waypoint names aren't kept — output is pure geometry (LineString/Point); track/route names are preserved.
  • Points with missing or out-of-range (non-WGS84) coordinates are skipped.
  • Output is pretty-printed (indented) JSON.
  • Very large GPX files may be slow.
  • The map preview renders geometry locally (MapLibre); CARTO basemap tiles load over the network. Previews sample the first 5,000 features — the download contains all of them.

Privacy

Privacy first: this tool runs entirely in your browser — your input and files never leave your device, and everything is cleared when you close the page.

Standards & comparison

GPX (XML schema)GeoJSON (RFC 7946)
DimensionVecaria (this tool)Online converters (cloud)Desktop professional CAD
PrivacyRuns locally in your browser; the file is not uploadedYou upload the file to a third-party serverRuns locally
WaitNo queue — as fast as your own deviceUpload plus cloud queueLocal application startup
Standards supportGPX (XML schema) · GeoJSON (RFC 7946)Varies by service, often older subsetsFull vendor protocol sets
Install footprint0 MB — runs in the browser0 MBSeveral GB of storage