Two problems come up constantly with GPX files: you have several separate recordings that belong together, or you have one recording that's too long for whatever you're trying to load it into. This guide covers both, using the free GPX Merge & Split tool — no account, no upload, nothing installed.

Why Merge GPX Files?

Multi-day trips are usually recorded as one file per day — a GPS watch or cycling computer starts a new activity each morning, so a five-day hike becomes five separate .gpx files. If you want to view, share, or archive the whole trip as a single route, you need to combine them first. Merging concatenates every track, route, and waypoint from each input file into one valid GPX file.

To merge files: open the merge tool, switch to the Merge GPX Files tab, and drag in two or more .gpx files. Each file is parsed and shown with its track and waypoint counts so you can confirm everything loaded correctly before combining. Click Merge and download the result — each input file's tracks are preserved as separate <trk> elements inside the merged file, so the structure of each day's recording stays intact.

Why Split a GPX File?

Splitting solves the opposite problem. Some GPS devices and route-planning apps cap the number of track points or waypoints they'll load — a long multi-day route planned in one sitting can exceed that limit and fail to import, or import with points silently dropped. Splitting the route into stages ahead of time avoids this entirely, and it also matches how you'll actually use it: loading "Day 2" onto your device the night before Day 2, rather than the whole trip at once.

There's a second, unrelated reason to split: some exports — particularly bulk exports from fitness platforms — bundle several separate activities into a single GPX file with multiple <trk> elements. If you need each activity as its own file, splitting by existing tracks does that in one step, with no distance math involved.

Splitting by Distance

Switch to the Split GPX File tab and upload a single .gpx file. If the file's longest track or route is a continuous path, the tool shows the total distance and lets you choose how many segments to split it into — from 2 up to 10. Each segment is created by walking the track and cutting at the nearest recorded point once cumulative distance passes an equal share of the total, so a 90 km route split into three segments becomes three roughly 30 km stages.

The cut point at each boundary is shared between the two adjacent segments, so there's no gap in the route where one stage ends and the next begins — segment 1 ends at the same point where segment 2 starts.

Splitting by Existing Tracks

If the uploaded file already contains two or more separate tracks — for example a bulk Garmin or Strava export covering several days — the tool detects this automatically and shows a second section listing each track by name (or "Track 1", "Track 2", etc. if unnamed) with its individual distance. Each one can be downloaded on its own, or all of them together as a single ZIP file.

Downloading Multiple Files at Once

Rather than clicking "Download" once per segment, both the merge tool's split results and the existing-tracks list offer a Download All as ZIP button, which packages every resulting GPX file into one archive in a single click.

Your Data Stays on Your Device

Like the rest of GeoDataTools, merging and splitting happen entirely in your browser using JavaScript — GPX files, which can carry sensitive information like recorded heart rate or home/start locations, are never uploaded to a server. If you also need to check elevation gain before splitting a route into stages, the elevation profile viewer follows the same private, browser-only approach.

Ready to work with your geospatial data?

Visualize, filter, and convert GeoJSON and KML files directly in your browser.

Try GeoDataTools
← PreviousHow to View a GPX Elevation Profile Online for FreeNext →How to Convert Coordinates to State Plane Online for Free
← Back to all articles