GPX to GeoJSON Converter
Upload or paste your GPX file; track, route and waypoint geometries will be converted to GeoJSON.
Quick Support
Reach us via WhatsApp for your questions.
Online GPX to GeoJSON Converter
GPX: The Universal GPS Export Format
GPX (GPS Exchange Format) is an open-standard XML file format that has become the universal language of GPS data. Every major GPS platform produces GPX files: Garmin devices and Garmin Connect, Strava activity exports, Komoot route plans, AllTrails trail recordings and Wikiloc shared tracks all use GPX as their primary or secondary export format. Phone GPS apps on both Android and iOS also generate GPX files when you save a workout or navigate a custom route.
Converting a GPX file to GeoJSON unlocks the data for use in web maps, ArcGIS (including ArcGIS Online and ArcGIS Pro), and any other GIS software that speaks the modern GeoJSON standard. GeoJSON is JSON-native and requires no special driver or plugin to load, making it far more portable than the GPX XML format for downstream web and GIS workflows.
- Tracks & Routes → LineString: Both track segments (trk/trkseg) and planned routes (rte) are converted to GeoJSON LineString features, preserving multi-segment geometry exactly as recorded.
- Waypoints → Point: All waypoints (wpt) become GeoJSON Point features. Names, descriptions, symbols and any other metadata travel with them as feature properties.
- Elevation & Timestamps Preserved: Elevation values are encoded as the third coordinate in every position array, and timestamps are kept as properties so time-aware and elevation-aware applications can use them immediately.
- 100 % In-Browser Privacy: The entire conversion runs in your browser via JavaScript. Your GPX file is never uploaded to any server, so sensitive routes, personal activity data and location history stay private.
How to Use
Using the converter is straightforward. Click the Upload GPX File button and select a .gpx file from your computer — or simply paste raw GPX XML content into the text area below it. Then click Convert. The tool will instantly parse all tracks, routes and waypoints, render a live map preview so you can visually verify the result, and make the GeoJSON available to download as a .geojson file or copy to your clipboard. Large files with hundreds of thousands of track points are handled efficiently because all processing stays local.
Other Tools You May Find Useful
If you work with KML or KMZ files exported from Google Earth or navigation software, our KML/KMZ Viewer lets you inspect and visualise those files directly in the browser without any desktop software. Once you have your GeoJSON data, you can clean up its formatting or validate its structure with the GeoJSON Formatter, which pretty-prints and lints GeoJSON in one click.
Frequently Asked Questions
What is a GPX file?
GPX (GPS Exchange Format) is an open-standard XML file format designed for storing and exchanging GPS data. It is the default export format of popular GPS devices and apps such as Garmin, Strava, Komoot, AllTrails and Wikiloc, and it can hold track logs, planned routes and individual waypoints together with coordinate, elevation and timestamp data.
What is GeoJSON used for?
GeoJSON is a widely adopted open standard for encoding geographic features using JSON. It is natively supported by web mapping applications, ArcGIS, and virtually every modern GIS software package, making it the most convenient format for sharing and displaying spatial data on the web.
Are tracks, routes and waypoints all converted?
Yes. The converter handles all three core geometry types defined by the GPX standard. Track segments and routes are output as GeoJSON LineString features, while individual waypoints become GeoJSON Point features. Metadata such as name, description and elevation are preserved as feature properties.
Can I convert a Strava or Garmin GPX export?
Absolutely. GPX files exported from Strava, Garmin Connect, Komoot, AllTrails, Wikiloc and any phone GPS app are fully compatible with this converter. Simply download the GPX file from your app or device and upload it here — the tool will parse it instantly and produce valid GeoJSON output.
Are elevation and timestamp data preserved?
Yes. Elevation values (stored as the third coordinate in each position) and timestamps are preserved throughout the conversion. They appear as coordinate values and as properties on the resulting GeoJSON features, so downstream applications can use them for elevation profiling or time-based analysis.
Are my files uploaded to a server?
No. All conversion processing happens entirely inside your browser using JavaScript. The GPX file you upload or paste is never sent to any server. This guarantees complete privacy and means the tool works quickly even on a slow or offline connection.
What can I do with the converted GeoJSON?
The resulting GeoJSON file can be loaded into web mapping applications, imported into ArcGIS (ArcGIS Pro, ArcGIS Online, ArcGIS Maps SDK), or used with any GIS software that supports the GeoJSON standard. You can also paste it directly into a GeoJSON validator or formatter to inspect and clean up the output.
Need a More Comprehensive Solution?
For bulk data conversion, custom format integration, or GIS software development, contact Rodosto Technology.