How Do I Edit a TCX File? (Trim, Fix GPS, Change Metadata)
Learn how to edit a TCX file online for free. Trim start/end, adjust GPS, fix metadata, and validate your changes before uploading to Strava or Garmin.
How do I edit a TCX file? Use a local, browser-based editor like our free TCX File Editor. Upload your .tcx, make changes (trim, GPS fixes, metadata updates), then download an edited TCX—your file is processed locally in your browser.
Editing is most useful when you need to clean up a workout before you upload it to a platform (Strava, Garmin Connect, TrainingPeaks, etc.) or when you need to repair obvious issues like a bad start/finish or shifted GPS.
What does “editing a TCX file” actually mean?
Most TCX edits fall into one of these categories:
- Metadata edits: sport type, timestamps, activity name (varies by file/export)
- Timeline edits: trim/crop the start and end (warm-up, cool-down, forgot to stop)
- GPS edits: apply an offset to fix a consistently shifted route
- Metric edits: fix values like heart rate, cadence, speed, elevation, power (if present)
If you’re not sure what’s inside your TCX, open it first in the viewer:
How to edit a TCX file (step-by-step)
Step 1: Inspect your TCX (optional but recommended)
- Open the TCX File Viewer.
- Upload your file and confirm what data exists (GPS, laps, HR, cadence, etc.).
- Note what you want to change (trim range, GPS offset direction, metadata).
Step 2: Open the TCX editor and upload your file
- Go to the TCX File Editor.
- Drag & drop your
.tcxfile (or click to browse). - Wait for the editor to parse the file locally.
Step 3: Apply the edit you need
Common edits include:
- Trim/crop: remove unwanted time at the start or end (privacy + clean workouts)
- Adjust GPS: fix a route that’s consistently shifted (GPS offset correction)
- Update metadata: correct sport type or activity info if it’s wrong
Step 4: Download the edited TCX
Download the edited file and keep the original as a backup.
Step 5: Verify the edited file before uploading
Always validate your export:
- Open the edited file in the TCX File Viewer.
- Check that the route, charts, laps, and totals look correct.
Safe edits vs risky edits (what to watch out for)
Some edits are generally “safe” across platforms, while others can cause weird behavior.
| Edit type | Usually safe? | Why it matters |
|---|---|---|
| Trimming start/end | ✅ Yes | Most platforms handle cropped activities well |
| Changing sport type | ✅ Usually | Affects categorization and stats in platforms |
| GPS offset correction | ✅ Usually | Fixes systematic drift; verify start/end points |
| Editing per-point metrics | ⚠️ Sometimes | Can create unrealistic spikes/flatlines |
| Editing timestamps | ⚠️ Sometimes | Can break ordering or platform import expectations |
Rule of thumb: if you edit data that platforms use for “sanity checks” (time ordering, GPS consistency), always verify in a viewer before uploading.
Common TCX editing scenarios (real-world)
Remove warm-up/cool-down (trim)
If you started recording too early or stopped too late, trimming is the cleanest fix. It also helps with privacy if your start/end location reveals your home.
Fix “shifted” GPS tracks
If the entire track is offset (e.g., running through buildings), a GPS offset correction can help. After applying the correction, verify the route in:
Correct an incorrectly labeled workout
If a device exported a workout with the wrong sport type, updating metadata can prevent training platforms from misclassifying the session.
Convert after editing (when a platform needs a different format)
After you clean up the file, you may need a different format for compatibility:
If you’re not sure which format to use, read:
Related tools and guides
- TCX File Editor – Edit and export a cleaned TCX file
- TCX File Viewer – Verify your file before/after editing
- How do I open a TCX file? – Viewer walkthrough
- TCX vs FIT vs GPX: what’s the difference? – Choose the right format