What Is a TCX File? Open or Convert TCX to GPX Online
A TCX file is Garmin’s Training Center XML: plain XML built for workouts. The root element is TrainingCenterDatabase (v2 schema). Inside, activities hold laps, and each lap holds trackpoints with time, position, elevation, and often heart rate.
If you have a .tcx export and a map tool that only opens .gpx, the steps below show how to open or convert it in the browser.
What TCX is
TCX sits in the same “activity” family as FIT, but as readable XML instead of a binary FIT file. A typical outdoor run is one Activity with one or more Lap elements, each containing a Track of Trackpoints. Course files use a Course with a track and optional course points (waypoints).
That design is for workout history—laps, totals, and heart rate—not for hand-editing a path. GPX aims for track interchange and map display. Both can describe the same run; they optimize for different jobs.
Structure (small example)
A minimal activity with two trackpoints near the Eiffel Tower:
<?xml version="1.0" encoding="UTF-8"?>
<TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2">
<Activities>
<Activity Sport="Running">
<Id>2020-01-03T15:07:43.000Z</Id>
<Lap StartTime="2020-01-03T15:07:43.000Z">
<TotalTimeSeconds>10</TotalTimeSeconds>
<DistanceMeters>50</DistanceMeters>
<Track>
<Trackpoint>
<Time>2020-01-03T15:07:43.000Z</Time>
<Position>
<LatitudeDegrees>48.8584</LatitudeDegrees>
<LongitudeDegrees>2.2945</LongitudeDegrees>
</Position>
<AltitudeMeters>35</AltitudeMeters>
<HeartRateBpm><Value>120</Value></HeartRateBpm>
<Extensions>
<ns3:TPX xmlns:ns3="http://www.garmin.com/xmlschemas/ActivityExtension/v2">
<ns3:Speed>2.5</ns3:Speed>
</ns3:TPX>
</Extensions>
</Trackpoint>
<Trackpoint>
<Time>2020-01-03T15:07:53.000Z</Time>
<Position>
<LatitudeDegrees>48.8587</LatitudeDegrees>
<LongitudeDegrees>2.2950</LongitudeDegrees>
</Position>
<AltitudeMeters>36</AltitudeMeters>
<HeartRateBpm><Value>125</Value></HeartRateBpm>
</Trackpoint>
</Track>
</Lap>
</Activity>
</Activities>
</TrainingCenterDatabase>
TCX vs GPX vs FIT
| Format | Shape | Typical use |
|---|---|---|
| TCX | XML activity with laps and heart rate | Workout exports from Garmin devices and training apps |
| GPX | XML track / route / waypoint exchange | Maps, trail apps, device route import |
| FIT | Binary activity file | Full workout + sensors on many watches |
TCX keeps the activity tree (activities → laps → trackpoints) in XML. GPX is the common interchange format for a path on a map. FIT packs a richer binary workout. None replaces the others for every job; pick the one your tool accepts.
Where TCX files come from
Garmin Connect, older Garmin devices, and some other training apps and indoor platforms offer a TCX export alongside FIT or GPX.
How to open a TCX file here
- Open TCX viewer.
- Drop the
.tcxfile. Parsing stays in the browser. Your file is not uploaded. - Use Map / 3D, Stats, or Graphs under the map. Export GPX, KML, KMZ, or CSV when you want a copy on disk.
Laps are joined into one path per activity. A file with several activities opens as several parts. Trackpoints without a position are skipped. Cadence and power stay in the file and are not shown. Course files open too; course points appear as waypoints.
Convert TCX → GPX
- Open TCX to GPX.
- Drop the
.tcxfile. - Download the
.gpxoutput, or open it on the map.
The GPX keeps position, time, elevation, and speed when the TCX recorded them. Course points become waypoints. Heart rate, cadence, power, and lap totals are not written into the GPX. After converting, trim or split in GPX editor if you need edits. You can also open the TCX file directly in the GPX editor; it saves GPX, KML, KMZ, or CSV, not TCX.
Limits
- No writing TCX back out; export is GPX / KML / KMZ / CSV only.
- Files with no GPS positions, such as indoor activities or workout plans, will not open. The page says there is no GPS track.
- Cadence, power, and positionless trackpoints are not drawn on the map.
Privacy
A TCX activity can reveal where you trained. Browser-side parsing avoids uploading the file to a random website. Conversion does not anonymize a track. Remove private locations before sharing it online.