WIPIVERSE All articles

Training Center XML

Training Center XML (TCX) is an XML-based data exchange format introduced in 2007 as part of Garmin's Training Center software product. It is a file format used for storing and exchanging fitness and training activity data between devices, software applications, and online services.

Overview

TCX is structurally similar to GPX (GPS Exchange Format) in that it exchanges GPS track data, but it differs by treating a track as an "Activity" rather than simply a series of GPS points. This activity-oriented structure allows TCX files to carry substantially more training-related information than a basic GPS track file.

Data Content

TCX files can store a range of workout and fitness data, including:

  • Activity type (e.g., running, cycling, multisport)
  • Timestamps for recorded data points
  • GPS coordinates (latitude and longitude)
  • Elevation data
  • Heart rate readings
  • Running cadence and bicycle cadence
  • Power output (in supported devices)
  • Calories burned
  • Lap times and summary data organized by laps

The format provides standards for transferring heart rate, running cadence, bicycle cadence, and calories within the detailed track, while also offering summary data in the form of laps.

Technical Details

The Internet media type for TCX files is application/vnd.garmin.tcx+xml. Garmin publishes XML schemas for the format, including the Training Center Database XML (TCX) Schema, a user profile extension schema, and an activity extension schema.

Usage and Compatibility

TCX files are text-based and human-readable, which makes them easier to inspect and edit compared to binary formats such as FIT (Flexible and Interoperable Data Transfer). The format is widely accepted by fitness platforms and applications, including Garmin Connect, Garmin Training Center, Wahoo, and various third-party fitness tools. Numerous software libraries and converters exist to read, write, and convert TCX files to and from other formats such as GPX.

Relationship to Other Formats

While GPX focuses primarily on geographic track data, TCX extends this concept to encompass physiological and performance metrics recorded during a training session. This makes TCX particularly suited for endurance sports and structured workout data exchange, whereas GPX is more general-purpose for GPS track sharing.

Browse

More topics to explore

    Browse all articles