TCX to Interactive HTML Map
Turn a TCX file — the Garmin training format — into one standalone HTML map. Your activity's GPS track is drawn as a route, with the total distance and duration shown when you click it. No Garmin Connect, no account, no upload: the file is parsed on your device, and the exported HTML file double-clicks open and works offline anywhere.
What Is a TCX File?
TCX (Training Center XML) is Garmin's training data format. It records an activity — run, ride, hike — as a series of trackpoints, each with a timestamp and GPS position, grouped into laps that carry totals like distance and elapsed time. Garmin Connect, Garmin watches and many training apps export TCX, and most fitness platforms can both import and export it.
This viewer reads the whole structure: every track renders as a line, and the lap totals become distance and duration fields shown in the popup, alongside the activity type (running, cycling, …).
TCX Fields This Tool Reads
| TCX part | How it is used | Required? |
|---|---|---|
Activity Sport attribute | Shown as the activity type in the popup (Running, Biking, …) | Optional |
Lap > TotalTimeSeconds | Summed across laps into the duration shown in the popup | Optional |
Lap > DistanceMeters | Summed across laps into the distance shown in the popup | Optional |
Track > Trackpoint > Position | LatitudeDegrees + LongitudeDegrees become the drawn track | ✅ Yes |
Trackpoint > Time | Read for context; the map itself is drawn from positions | Optional |
How to Convert TCX to an HTML Map
- Drop your .tcx file — drag & drop or click to browse. Multi-track activities (intervals, multi-lap rides) are all read.
- Check the summary — the status bar reports how many tracks were found.
- Click the track — the popup shows the activity type, total distance and total duration, computed from the file's own lap totals.
- Pick a basemap — street or satellite tiles, or "no basemap" for a self-contained offline export.
- Download single HTML — one file with the track and map engine inlined; double-click anywhere, no internet needed.
View TCX Without Uploading
TCX files are personal: they show where you live (the run starting at your front door), your training schedule and your favorite routes. Most online viewers ask you to upload the file to their server first. This page does not — the TCX is parsed by your own browser, which means your training data stays on your device with no account and no server copy.
It's also the fastest way to look at a TCX when Garmin Connect is not handy: no login, no sync, no waiting for a watch upload. Just open the file and see the route.
Features
- Distance & duration summary — lap totals from the file are shown in the popup, no recalculation guesswork.
- All tracks and laps — interval sessions and multi-lap activities render as complete lines.
- Self-contained export — one HTML file with the map engine, styles and your track inlined. No CDN, no expiry.
- Offline mode — the "no basemap" export opens with zero external requests.
- Free and private — no signup, nothing uploaded; your training file never leaves the browser.
FAQ
Is there an online TCX viewer?
This page doubles as one — drop in a .tcx and the track renders as an interactive map in your browser. Unlike most online TCX viewers, nothing is uploaded: the file stays on your device. And when you need a shareable file rather than a quick look, the same page exports the standalone HTML map.
Can I view a TCX file without uploading it?
Yes — nothing is uploaded at any point. The TCX file is read and parsed by JavaScript running in your browser, and the map (and any exported HTML) is generated locally as well. You can confirm it with your browser's network tab: no request carries the file.
Where do TCX files come from?
Garmin is the origin: Garmin Connect lets you export any activity as TCX, and Garmin watches record in FIT which converts to TCX. Many training platforms (Strava, TrainingPeaks and others) can also produce TCX exports. The format itself is a published Garmin XML schema.
Does it show speed, heart rate or cadence?
The viewer focuses on the map: your route, activity type, total distance and total duration. Per-point metrics like heart rate or cadence are not unpacked — for deep analysis, import the file into your training platform.
My file is a FIT file, not TCX — will it work?
Use the FIT to HTML map tool for device recordings (the .fit files on your watch). Many tracking apps export both formats; if you have the choice, either works here.
I get "no GPS tracks" for my activity
That message means the TCX contains no GPS positions — typically an indoor workout (treadmill, trainer). The tool is a map viewer, so an indoor activity has nothing to draw. Try a GPS activity, or use a training platform for indoor analysis.