Walnut Tools

Merge GPX Files

Combine GPX recordings from a watch, bike computer or phone into one file. Useful when a ride or hike was split by a paused or crashed recording, or to put a multi-day trip in one file.

Drop two or more GPX files here
or click to choose

Your files are merged locally in your browser and never uploaded.

What is a GPX file?

GPX (GPS Exchange Format) is an open, text-based format for GPS data, written in XML. Almost every outdoor and fitness app can export and import it: Garmin Connect, Strava, Komoot, and most route planners and GPS devices. That makes it the usual way to move a route or recording from one app or device to another.

A GPX file can hold three kinds of data:

Devices can also store extra readings, such as heart rate, cadence, power or temperature, inside each track point. Watches and bike computers often record in their own formats (such as FIT) and convert to GPX when you export.

When you need to merge GPX files

What happens to your data

Files are sorted by the time of their first point (if they have timestamps), then waypoints, routes and tracks are copied into one GPX 1.1 file. Duplicate waypoints with the same name and position are removed. Track points are not changed, smoothed or resampled, so elevation, time and sensor data stay exactly as recorded.

Each original recording stays as its own segment, so apps do not draw a straight line across a gap where the recording was paused.

Frequently asked questions

Will heart rate, cadence and power data be kept?
Yes. Track points are copied as they are, including Garmin and other extension data, and the extension namespaces are carried into the merged file.
What is the difference between "keep separate tracks" and "one continuous track"?
Separate tracks keep each recording as its own track inside one file, which is best for mapping apps that show several routes. One continuous track joins all segments into a single track, which is what Strava, Komoot and most training apps expect when you upload one activity.
Can I upload the merged file to Strava?
Yes, choose "one continuous track". Strava reads the timestamps, so the files should be from the same activity with no overlapping times. Uploading a merged file of an activity you already uploaded will be flagged as a duplicate.
Are my routes uploaded?
No. The files are read and merged in your browser. Your locations never leave your device.
Does it work with GPX 1.0 files?
Yes. GPX 1.0 and 1.1 files can be mixed; the result is a standard GPX 1.1 file.