TCX 🏃

Garmin Training Center XML (TCX) Course

Open Beta
.tcx · application/vnd.garmin.tcx+xml

TCX (Training Center XML) is Garmin's XML training-data format that appeared around 2007 for the Garmin Training Center application. On osm2cdr we write TCX as a Course document following the TrainingCenterDatabase v2 schema: one Course with a Track of Trackpoints (latitude/longitude in decimal degrees) and optional CoursePoints for named POIs along the route. Line geometries become the track, point features become course points. To be honest: this is a planned route, not a recorded workout — there is no heart rate, cadence or power. The format stays useful for legacy devices like the Forerunner 305 / Edge 705 and for import into Strava and TrainingPeaks.

Export TCX now ✨ Open Beta — free, no limits

Key Features

Garmin TrainingCenterDatabase v2 schema (Course → Track → Trackpoint)
CoursePoints for named POIs along the route
WGS84 coordinates in decimal degrees, human-readable XML
Pure stdlib XML with no external dependencies — export always available
Safety limits: up to 50,000 trackpoints and 1,000 course points
Example TCX export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

About TCX Format

TCX (Training Center XML) is Garmin's XML format, invented around 2007 for the Garmin Training Center program. Inside it is plain text following the TrainingCenterDatabase v2 schema: the file opens in a text editor and can be read with your own eyes. The format outlived its program and is still accepted by Garmin Connect, Strava and TrainingPeaks.

An OpenStreetMap map is exported to TCX when a route has to be handed to a device or a service that understands nothing newer. This is a planned course: the track and the points along it that the device navigates by. There is no workout data — heart rate, cadence, power — in the file, and there cannot be: sensors write that while you move.

The output is a single .tcx: a Course element containing a track of points with WGS84 coordinates in decimal degrees, a Lap element with zero time and distance that the schema requires, and a CoursePoint for every named object. Linear objects become the track, point objects become route points. Schema and device limits apply: up to 50,000 trackpoints and 1,000 route points, the course name is trimmed to 15 characters and a point name to 10.

What Program Opens TCX Files

The following programs and applications can open, edit, and work with Garmin Training Center XML (TCX) Course (.tcx) files exported from OSM2CDR:

💻Garmin Training Center 💻Garmin Connect 💻Strava 💻TrainingPeaks 💻GoldenCheetah

Format specifications

Who Uses TCX Maps

🏗
Prepare a planned route as a TCX Course for loading into Garmin Training Center or an older device over USB
A ready Course opens in Garmin Training Center and goes to the device over USB with no converters.
💻
Get navigatable POIs along the route as labelled CoursePoints
Named OSM objects become route points with captions — the device shows them as icons along the way.
📊
Upload a readable XML route into Strava or TrainingPeaks for legacy compatibility
Readable XML is accepted by the Strava and TrainingPeaks import forms when you need exactly a route, not a workout recording.
🎨
Push a course to older Forerunner 305 / Edge 705 devices that understand TCX
Forerunner 305, Edge 705 and other devices from 2007-2012 understand TCX directly, without cloud services.

How to Export TCX

1
Select area
Draw a rectangle or polygon on the interactive map at osm2cdr
2
Choose TCX
Select Garmin Training Center XML (TCX) Course from the list of 127 available export formats
3
Export
Click Export and receive your .tcx file in 1-5 minutes
4
Download
Download the ready TCX file and open it in Garmin Training Center

How to Open After Export

Popular maps in TCX

Free

Get Garmin Training Center XML (TCX) Course map exports

Download professional TCX maps from OpenStreetMap. Instant generation, any area.

Free / export
Export TCX now →

Frequently Asked Questions

Is this a recorded workout or a planned route?
How does TCX differ from FIT?
Will POIs end up in the file?
Will Strava accept the file?
How many points fit into the file?
Why are the point names cut short?

Related Formats

Frequently Exported Together

Related Articles