View a TCX activity or course on a map

TCX, short for Training Center XML, is the format of Garmin Training Center, and many training apps still export it. The XML is parsed in your browser.

  • Training Center XML
  • Courses and laps
  • Heart rate graph

Use this tcx file viewer to check a workout or a planned course when the program that made it is gone.

Open a .tcx file

Trackpoints become the route

Inside a TCX activity, each lap holds a <Track> of <Trackpoint> elements. A trackpoint with a <Position> becomes a point on the line. Those without one, such as indoor samples or moments when GPS dropped out, are skipped.

Heart rate, speed, altitude and time come along when recorded. For the element names, see how a TCX file is structured.

Laps in a TCX activity

Laps are joined into one path per activity. A lap, whether started by hand or automatically, is not a separate part, so a run with many laps is still a single line.

A file with several activities, multisport sessions included, becomes several parts named by sport and date. Want a GPX copy? Change TCX to GPX.

TCX courses and course points

A TCX can hold a course, a planned route for a device to follow, in place of an activity. Courses open here too.

Course points show as pins, and hovering or tapping one shows its name in a tooltip. A course point without a name is labelled Waypoint. The point type, such as a turn or a water stop, is not shown.

TCX or FIT?

Both hold the same kind of activity. TCX is XML text you can open in any text editor and read line by line, while FIT is compact binary. If you have the workout in both forms, you can read the same activity as a FIT file.

Questions

How do I open a TCX file without the app that made it?

Drop the .tcx here. Because it is plain XML, the page reads it directly and draws the route with no training software involved. Stats, graphs and Export then work on that route. You can also open the file in a text editor to see the raw trackpoints.

How are laps shown on the map?

As one continuous line. All laps in an activity, whether started by hand or automatically, are joined into a single path. Lap boundaries are not marked, and a lap is not a part you can pick on its own.

Why are some trackpoints missing from the route?

A trackpoint needs a Position element to land on the map. Samples logged indoors, or while the device had no GPS signal, may carry time and heart rate but no position, so they are skipped. If no trackpoint has a position, there is no route to show.

Do course point names and types show?

Names do. Each course point is a pin, and its name appears as a tooltip; a point without a name is labelled Waypoint. The point type, such as a turn, a food stop or a summit, is not read, so every pin looks the same.

Does it show cadence or power from a TCX?

No. Heart rate and speed are read from the TCX, but cadence and power are not. Those values stay in the file as they are, ready for any app that reads those fields.