Merge GPX Files Online
Stitch several GPX files into one. Sort every point by time into a single continuous track, or keep each file as its own track — you choose.
All processing happens in your browser — your files never leave your device.
How to use the Merge GPX Files Online
- Drop two or more .gpx files onto the box (you can add more one at a time).
- Each file is listed with its point count and distance. Remove any you added by mistake.
- Choose a merge mode: single track (all points sorted by time) or separate tracks (one per file).
- Review the combined stats and route shape.
- Click Download to save the merged merged.gpx.
Two ways to merge, for two different jobs
Single track (sorted by time) is for when a single outing got split across several files — your watch died and you restarted, or an app saved each lap separately. TrackKit pools every point from every file and orders them by timestamp, producing one clean, continuous track as if the day had been recorded in one go.
Separate tracks is for when you want a collection in one file — a week of commutes, every summit in a range, a bikepacking trip's daily stages. Each source file becomes its own track inside the merged GPX, so the pieces stay distinct and you can still tell them apart in any viewer.
How time sorting works
In single-track mode, TrackKit reads the timestamp on every point and sorts the combined set chronologically. This is smarter than simply gluing files end to end: even if you dropped the files in the wrong order, or two recordings overlap slightly, the result follows real time. If your files have no timestamps, TrackKit keeps them in the order you added them so nothing is scrambled.
What is preserved
Elevation, timestamps, heart rate and cadence all carry through the merge, because the output is GPX and GPX can hold them. Waypoints from every file are combined into the merged document too, so saved spots are not lost. The distance shown on the stats card is recomputed across the whole merged track using the haversine formula.
No upload, ever
Here is something most online converters gloop over: a route file is a map of your life. The start and end of a run is usually your front door. A "morning loop" repeated fifty times is your home address with a timestamp. That is exactly why TrackKit does the whole conversion inside your browser using the File API. The bytes are read into memory, transformed, and handed back as a download. Nothing is uploaded, nothing is logged, and there is no server that could be breached or subpoenaed. You can open the network tab in your browser and watch: not a single request leaves the page after it loads.
Frequently asked questions
How many files can I merge?
There is no fixed limit. Add as many GPX files as you like; the work is done in your browser, so the ceiling is your device memory rather than a server quota.
What is the difference between the two modes?
Single track pools all points and sorts them by time into one continuous track — ideal for a split recording. Separate tracks keeps each file as its own track in the merged file — ideal for a collection.
My files are in the wrong order. Will the merge be wrong?
No, as long as they have timestamps. Single-track mode sorts by time, so the order you add files does not matter. Without timestamps, files are kept in the order you added them.
Are heart rate and cadence kept?
Yes. The merged file is GPX, which stores heart rate and cadence, so those metrics survive from every source file.
Can I mix TCX or KML files into the merge?
Yes. Drop in TCX or KML alongside GPX; TrackKit reads them all and writes a single GPX. Timestamps let them be woven together correctly in single-track mode.
Are my files uploaded to merge them?
No. The merge happens entirely in your browser. Nothing is sent to a server, which is important because each file reveals where and when you were outdoors.
TrackKit converts your files as faithfully as each format allows, but formats are not identical and some data cannot survive every conversion (see the notes above each download). Distance and elevation figures are computed from the points in your file and are estimates for general use, not survey-grade measurements. Always keep your original file as a backup.