GPX to GeoJSON Converter
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.
Processing and data safety
Section titled “Processing and data safety”This tool runs entirely in your browser — your files are never uploaded to a server.
Input and output
Section titled “Input and output”- Formats: GPX, GeoJSON
- Flow: GPX tracks / routes / waypoints → GeoJSON
How to use
Section titled “How to use”- 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.
- Click “Convert to GeoJSON” (or press Ctrl/Cmd+Enter).
- Check the result summary and map preview, then copy or download the .geojson.
Key details and limits
Section titled “Key details and limits”- 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.
Common use cases
Section titled “Common use cases”- 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…