Skip to content

Merge GPX files into one

Combine several GPX files into one: keep each recording or day as its own segment, or join them into one line. Everything runs in your browser — nothing is uploaded.

When to merge GPX files

A watch that stopped for lunch, a phone that split a long recording, or a multi-day route saved one day per file: merging gives you one file to keep, share or import into Strava, Garmin or the TrailSplits planner.

Separate segments or one line?

A GPX track is made of segments, and a segment is a stretch recorded without a break. Keeping separate segments puts every file's segments into one track as they were, so a map shows two days as two lines and no app thinks you walked in a straight line from your hotel to the next morning's start. It is the right choice for keeping a record and for most apps.

Joining into one continuous line is for devices that follow a single course. Every gap between files then becomes a straight line; the page shows each gap before you merge, and the distance it reports includes those straight lines, because the file does.

What is kept

Track points with their times, elevation, heart rate and other extensions; waypoints; routes; and the first copyright notice found among the files. Points that repeat where one file ends and the next begins are written once. Use Sort by recorded time to put files in the order they were recorded; the list warns when a file starts before the previous one ends.

Privacy

Your GPX files stay in your browser. Nothing is uploaded.

Frequently asked questions

How do I merge GPX files?

Add two or more GPX files above, put them in order (or press Sort by recorded time), choose whether each file stays its own segment or everything joins into one line, then download one GPX file.

Are my GPX files uploaded?

No. The files are read and merged in your browser; nothing is uploaded to merge them.

What happens to the gap between two files?

With separate segments, nothing is drawn across the gap, so a map shows two days as two lines. With one continuous line, each gap becomes a straight line and the reported distance includes it. The list shows every gap before you merge.

Can I merge FIT, TCX or KML files?

This page reads GPX. Convert the other files to GPX first with the free GPX Converter, which reads FIT, TCX and KML, then add them here.

Are times, heart rate and waypoints kept?

Yes. Track points keep their times, elevation, heart rate and other extensions, and waypoints and routes come along. Points repeated where one file ends and the next begins are written once.

What if two recordings overlap in time?

The list warns when a file starts before the previous one ends. Sort by recorded time puts the files in the order they were recorded; overlapping points are kept as recorded, so check the warning before you merge.