Skip to content
geodata.plus
Documentation

Convert GPX to GeoJSON Online — Free GIS Converter

Convert GPX waypoints, routes, and tracks to GeoJSON format instantly in your browser — no software needed.

Updated May 2026

GPX files record GPS data — waypoints, routes, and tracks — and converting them to GeoJSON unlocks that data for use in web mapping libraries like Leaflet, Mapbox GL JS, and OpenLayers, as well as desktop tools like QGIS and ArcGIS.

Why convert GPX to GeoJSON?

GPX is purpose-built for GPS devices and navigation apps. It excels at storing tracks and waypoints but is not understood by most web mapping frameworks natively. GeoJSON, on the other hand, is the lingua franca of web GIS — every major mapping library reads it without plugins or preprocessing. Converting your GPX track to GeoJSON means you can drop it straight into a Mapbox style, load it via a Leaflet fetch call, or push it to a GitHub repository and get an automatic map preview. GeoJSON also integrates cleanly with geospatial APIs and cloud platforms like AWS Location Service and Google Maps Platform, where GPX support is absent or limited.

Why use geodata.plus

  • Free tier includes 3 conversions per month with no account required
  • Automatic format and CRS detection — no manual configuration
  • Optional reprojection to any EPSG code during conversion
  • Entirely browser-based — nothing to install or update
  • Encrypted upload (TLS); files stored in Cloudflare R2, automatically deleted after 2 days (free) or 7 days (Pro)
  • Handles multi-segment GPX tracks and merges them into a single GeoJSON FeatureCollection

How it works

  1. Upload your .gpx file to geodata.plus
  2. geodata.plus detects the GPX format and confirms the coordinate system (always WGS 84 / EPSG:4326)
  3. Select GeoJSON as the output format; optionally choose a target CRS if your pipeline requires one
  4. Download your .geojson file, ready for web mapping or GIS analysis

GPX format

GPX (GPS Exchange Format) is an XML-based schema designed to store GPS data for exchange between devices and software. Every GPX file is implicitly in WGS 84 geographic coordinates. The format supports three geometry concepts: <wpt> for individual waypoints, <rte> for planned routes, and <trk> for recorded tracks — which can contain multiple segments. GPX cannot represent polygon geometries, making it unsuitable for area features. It is widely used by fitness trackers, hiking navigation apps, and dedicated GPS units.

| Property | Value | |---|---| | Extension | .gpx | | Type | Vector, single-file XML | | Coordinate system | WGS 84 (EPSG:4326) only | | Geometry types | Points (waypoints), LineStrings (routes/tracks) | | Common software | Garmin, Strava, AllTrails, Komoot, QGIS, ArcGIS |

GeoJSON format

GeoJSON is a JSON-based open standard (RFC 7946) for encoding geographic data structures. Like GPX, it uses WGS 84 as its mandatory coordinate reference system. Unlike GPX, GeoJSON supports the full range of vector geometry types — Points, LineStrings, Polygons, and their Multi- counterparts — and attaches arbitrary properties to each Feature. A GeoJSON file is a single self-contained document that any modern programming language can parse with a standard JSON library, no special geospatial tooling required.

| Property | Value | |---|---| | Extension | .geojson or .json | | Type | Vector, single-file JSON | | Coordinate system | WGS 84 (EPSG:4326) per RFC 7946 | | Geometry types | Point, LineString, Polygon, Multi- variants, GeometryCollection | | Common software | Leaflet, Mapbox, OpenLayers, QGIS, ArcGIS, GitHub |

Frequently asked questions

Does converting GPX to GeoJSON preserve elevation data? Yes. GPX track points often include a <ele> element for elevation. geodata.plus carries that value forward as a Z coordinate in the GeoJSON geometry coordinates array, so your elevation profile is not lost.

What happens to multi-segment tracks during conversion? A GPX track (<trk>) can contain multiple track segments (<trkseg>). geodata.plus converts each segment as a separate LineString and wraps them together in a GeoJSON MultiLineString Feature so the track structure is preserved.

My GPX file has both waypoints and tracks. Will both appear in the output? Yes. geodata.plus converts all geometry types present in the GPX file into a single GeoJSON FeatureCollection. Waypoints become Point Features and track segments become LineString or MultiLineString Features, all in one output file.

gpxgeojsonconvertgis