My Adventure Maps
File formats

GPX vs TCX vs FIT: what's the difference?

All three formats record where you went and when. They differ in how much else they keep, how big the file gets and which apps can open it. Short version: keep the FIT, share a GPX, and use TCX when a platform asks for it.

What is a GPX file?

GPX stands for GPS Exchange Format. It is an open XML standard maintained by TopoGrafix, and it is plain text, so you can open one in any text editor. A recorded activity is stored as a track: a long list of track points, each with a latitude and longitude, and usually an elevation and a timestamp.

That simplicity is why almost every app and device reads GPX, including the poster editor on this site. The flip side is that the base format has no field for heart rate, cadence or power. Those only show up when the app writing the file adds them as extensions. See does a GPX file have heart rate data? for how that works.

What is a TCX file?

TCX is Garmin's Training Center XML format, from Garmin's old Training Center software. It is readable XML too, but organised around a workout instead of a route. An activity has a sport type and is split into laps, and every lap carries its own totals such as time, distance, calories and average and maximum heart rate.

Inside each lap, trackpoints have native fields for position, altitude, distance, heart rate and cadence. Power is added through a Garmin extension. Garmin Connect still offers TCX as an export, and many training platforms accept it.

What is a FIT file?

FIT (Flexible and Interoperable Data Transfer) is a compact binary format from Garmin, developed by its ANT+ subsidiary Dynastream. Garmin watches and bike computers record in FIT, and so do Wahoo, Coros and Hammerhead devices. Zwift saves its rides as FIT files too.

Besides GPS points, a FIT file stores laps, sessions, events such as pauses, device and sensor details, and every sensor channel the device logged at the same time. Being binary, it is much smaller than GPX or TCX, but you cannot read it in a text editor.

GPX, TCX and FIT side by side

GPXTCXFIT
File typeXML textXML textBinary
Defined byOpen standard (TopoGrafix)GarminGarmin (Dynastream)
Typical sourceRoute planners, phone apps, GPX exports from Strava and Garmin ConnectGarmin Connect exports, older Garmin devicesGarmin, Wahoo, Coros and Hammerhead recordings, Zwift
Heart rate, cadenceOnly via extensionsBuilt inBuilt in
PowerOnly via extensionsVia Garmin extensionBuilt in
LapsNoYesYes
File sizeLargeLargeSmall
Open in a text editorYesYesNo

.FIT vs .TCX: which one should you keep?

Keep the FIT. It is the file your device actually wrote, so nothing has been dropped or rounded on the way. Treat GPX and TCX as copies you make for a specific purpose:

How do I edit a TCX file?

Since TCX is plain XML, you can open it in Notepad, TextEdit (in plain text mode) or VS Code and change values directly. A common fix is the Sport attribute on the <Activity> element, for example when a ride was saved as Other. Deleting trackpoints by hand is riskier: the lap totals stay the same, so distance and time no longer match the track.

To cut off the start or end of an activity, the free GPS Crop tool is easier. It reads TCX, GPX and FIT, shows a map preview while you set the range and saves in any of the three formats. A FIT file cannot be edited as text, so convert it first with the GPX, TCX & FIT converter.

FAQ

Quick answers

Which format should I upload to Strava?

Strava accepts GPX, TCX and FIT. If you have the original FIT from your watch or bike computer, upload that one, since it carries the most data.

Is a GPX file less accurate than a FIT file?

Not for position. The coordinates come from the same GPS fixes. FIT simply stores more alongside them, such as laps, device details and extra sensor channels.

Can I convert between GPX, TCX and FIT?

Yes. The free converter on this site switches between all three in your browser. Heart rate, cadence and power are carried over where the target format has a place for them. Laps are merged into one continuous track.

Keep reading

Related guides and tools

Turn the route into a poster

GPX, TCX or FIT, the map editor reads all three. Drop in your file and design a print of the ride, run or hike.

Poster ideas for your routes

Every file you work on here can become a print or poster.