GPS file formats compared
What each format can store, and who uses it. For a narrative explanation, read GPX vs FIT vs TCX.
| GPX | FIT | TCX | KML | GeoJSON | CSV | |
|---|---|---|---|---|---|---|
| Route shape (lat/lon) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Elevation | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Timestamps | ✓ | ✓ | ✓ | ~ | ✓ | ✓ |
| Heart rate | ✓ | ✓ | ✓ | – | ~ | ✓ |
| Cadence | ✓ | ✓ | ✓ | – | ~ | ✓ |
| Power | ✓ | ✓ | ✓ | – | ~ | ✓ |
| Temperature | ✓ | ✓ | – | – | – | ✓ |
| Waypoints / points of interest | ✓ | ~ | ~ | ✓ | ✓ | ✓ |
| Multiple segments / laps | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
GPX: GPS Exchange Format
XML text. An open standard published by TopoGrafix in 2004 (version 1.1).
GPX is the lingua franca of GPS data. Nearly every app, website and device can import or export it, which makes it the safest choice when you are not sure what the other side accepts. Sensor data such as heart rate and cadence lives in vendor extensions (mostly Garmin’s TrackPointExtension), which most fitness platforms understand.
Used by: Strava, Komoot, Garmin Connect, Wahoo, AllTrails, RideWithGPS, OsmAnd, Gaia GPS, QGIS and almost every mapping tool.
Convert from GPX: FIT · TCX · KML · GeoJSON · CSV
FIT: Flexible and Interoperable Data Transfer
binary. A compact binary protocol defined by Garmin (ANT+) and used by most modern sports devices.
FIT is what Garmin, Wahoo, Coros, Hammerhead and many bike computers actually record. Files are small and can hold almost anything: positions, every sensor channel, laps, sessions and device information. Because it is binary you cannot open it in a text editor, which is the most common reason people convert FIT to GPX.
Used by: Garmin, Wahoo, Coros, Hammerhead, Bryton, Zwift, TrainingPeaks, Strava (upload), intervals.icu.
Convert from FIT: GPX · TCX · KML · GeoJSON · CSV
TCX: Training Center XML
XML text. Garmin’s XML format from the Training Center desktop software era.
TCX is built around workouts: activities split into laps, with heart rate, cadence, speed and power per point. It is still widely accepted for uploads, and many training platforms prefer it over GPX because it carries laps and distance natively. TCX only knows three sports (running, biking, other).
Used by: Garmin Connect, Strava, TrainingPeaks, Polar Flow imports, older Garmin devices and many indoor-training apps.
Convert from TCX: GPX · FIT · KML · GeoJSON · CSV
KML: Keyhole Markup Language
XML text. Created for Google Earth and now an OGC standard.
KML is made for display: lines, placemarks and styles that look good in Google Earth, Google My Maps and GIS tools. It is a poor fit for training data, but perfect for sharing a route visually or planning on a map.
Used by: Google Earth, Google My Maps, QGIS, ArcGIS, Locus Map, many drone and survey tools.
Convert from KML: GPX · FIT · TCX · GeoJSON · CSV
GeoJSON: GeoJSON (RFC 7946)
JSON text. An IETF standard (RFC 7946) for geographic features in JSON.
GeoJSON is the developer’s format: easy to read in JavaScript and Python and supported by Leaflet, Mapbox, QGIS and GitHub’s map previews. Timestamps and sensor values are kept as per-point arrays in the feature properties (the widely used coordTimes convention).
Used by: Leaflet, Mapbox, MapLibre, QGIS, PostGIS, GitHub map previews, data-science notebooks.
Convert from GeoJSON: GPX · FIT · TCX · KML · CSV
CSV: Comma-separated values
plain text table. The universal spreadsheet format.
CSV turns a track into one row per point, ready for Excel, Google Sheets, pandas or R. TrackTidy writes clear column names (lat, lon, ele, time, hr, cad, power, temp) and can read most CSVs that have latitude and longitude columns, with comma, semicolon or tab separators.
Used by: Excel, Google Sheets, LibreOffice, pandas, R, databases and BI tools.