Merge GPX files
Split a long ride across two watch files, or want one file for a multi-day hike? Load the first file, add the second onto the end, and download the combined GPX — segments and waypoints from both are kept.
Open the tool
Opens the GPX editor with the merge gpx files tool selected. Your file stays on your device — nothing is uploaded.
Open the GPX mergerHow to merge gpx files
- Open the first file. Drop the file that should come first into the editor.
- Add the second. Use “Merge a second file onto the end” and pick the next GPX/FIT/TCX/KML/KMZ; its points are appended.
- Download the combined GPX. Export the merged track from the Download menu. Undo removes the merge if you picked the wrong file.
Formats & what's kept
- Input: Two files, each GPX, FIT, TCX, KML or KMZ
- Output: GPX 1.1
- Preserved: Both files' points, elevation, timestamps and sensors; the second GPX's own tracks/segments and its waypoints are carried over as added segments.
- Changed or dropped: Nothing is dropped, but the join is a seam: if the second file starts earlier in time, timestamps won't be strictly increasing across the boundary (fix that with Add timestamps). A non-GPX second file is flattened to geometry plus its known sensors.
A real example
Your bike computer saved the morning and afternoon of an audax as two files. Merge them and the total distance and moving time are reported as one 214 km ride instead of two half-day fragments.
| Before | After |
|---|---|
| 2 files · 6,400 + 5,900 points | 1 file · 12,300 points · 214 km |
Try it yourself with a free sample GPX file — the numbers above are illustrative of a typical case.
Privacy
This edit runs entirely in your browser using the W3C File API — your file is never uploaded, and your original is left untouched (the editor works on a copy). This tool makes no network requests at all to do its job; only route planning and snapping, which this tool doesn't perform, would ever send coordinates to a routing provider.
Frequently asked questions
Does merging join the tracks or keep them separate?
The second file's points are appended after the first. If the second is a GPX with its own segments, those segments are kept distinct inside the one file, so a viewer can still tell the two recordings apart.
What if there's a time gap between the two files?
The gap is preserved honestly — merging never invents timestamps. If you'd rather have a continuous clock, run Add timestamps to GPX afterwards to make times strictly increasing.
Can I merge more than two files?
Merge two at a time: combine the first pair, then add the third onto the result, and so on. Each step is undoable.
Do waypoints from both files survive?
Waypoints from a second GPX file are carried into the merged file. Waypoints from FIT/TCX aren't part of those formats, so there are none to carry.