Merge GPX/FIT › Guides
Join a ride recorded in several parts into one track
You pressed stop at the café and forgot to restart, or the battery died and you started a new recording after charging. Now one ride is three activities. Here is how to turn the parts into a single track you can upload as one ride.
Verified sample Steps and sample produced by running this site's converter on synthetic files.
Steps
- Collect every part. Copy each activity file for the ride from the device (FIT) or export it from wherever it is stored (GPX or TCX). Mixed formats are fine. If one part was cut off by a dead battery, include it as it is: it is repaired while it is read.
- Open the merge tool, check that "Convert each file to its own GPX" is unticked (it is by default on this page), and drop all the parts in one go, or choose them together in the file picker. Dropping a second batch later replaces the first, so select them all at once.
- Don't worry about the order. When every point has a timestamp, the whole track is sorted by time. The page confirms this with "All points had timestamps, so the track is in time order". If it says instead that files were joined in the order you added them, some points had no timestamp, and the parts are joined in the order the browser handed them over; check the start and end of the result on a map before uploading.
- Check the counts line. It shows points in, points out and exact duplicates removed. Points out plus duplicates should equal points in, and the page shows a green "point count checks out" badge when it does. Duplicates appear where two recordings overlap: a point with the same position and the same time is kept once.
- Choose one segment or several. By default the parts become one continuous segment, which most sites treat as one unbroken ride; the gap while you were stopped stays a gap in time. Tick "Keep each original segment separate" if you want each part kept as its own segment inside the one track.
- Download
merged.gpxand upload it as a new activity. If you had already uploaded the separate parts, remove them so the ride is not counted twice.
Sample: three parts, dropped out of order
Synthetic FIT recordings of one 50-minute ride: a 5-minute stop between the first two parts, and a restart that overlaps the second part by a few seconds. The second part had its last bytes cut off, as a dead battery would leave it.
| File (in drop order) | Format | Time (UTC) | Points read | What happened |
| ride-part3.fit | FIT | 08:39:50 to 08:49:59 | 610 | restarted after charging |
| ride-part1.fit | FIT | 08:00:00 to 08:19:59 | 1200 | stopped by mistake at a café |
| ride-part2-battery.fit | FIT | 08:25:00 to 08:39:57 | 898 | battery died: file cut off |
After, as the converter reports it:
ride-part3.fit (FIT): 610 points
ride-part1.fit (FIT): 1200 points
ride-part2-battery.fit (FIT): 898 points — damaged file, recovered every complete record
3 file(s) · 2708 points in · 2700 points out · 8 exact duplicates removed · 1 segment(s)
All points had timestamps, so the track is in time order.The second part should have run to 08:39:59; its last two seconds were in the cut-off bytes. The restart began at 08:39:50, so 8 seconds were recorded twice and were kept once. The merged track runs from 08:00:00 to 08:49:59. Here is the seam around the café stop, with elevation and heart rate carried through:
<trkpt lat="47.39592" lon="8.501812"><ele>160</ele><time>2026-06-01T08:19:59.000Z</time>…<gpxtpx:hr>149</gpxtpx:hr>…</trkpt>
<trkpt lat="47.42" lon="8.4997353"><ele>190</ele><time>2026-06-01T08:25:00.000Z</time>…<gpxtpx:hr>130</gpxtpx:hr>…</trkpt>With "Keep each original segment separate" ticked, the same files give 3 segments and the same 2,700 points.
Things to know
- Only exact duplicates are removed. If two devices recorded the same ride (a watch and a bike computer), their points differ slightly and both sets stay in: merge one device's files, not both.
- The output is GPX 1.1 with time, elevation and heart rate. Power, cadence and lap markers are not carried over.
- Distance and time totals are worked out by whichever site you upload to, from the points.