GPXFIT

Compare GPX Files

Load two or more GPX, TCX or FIT files to see every track drawn on one map in its own color, a stats table for each file, and how far apart the first two routes run. Nothing is uploaded.

Your file never leaves your device.

Parsing, trimming, merging, and exporting all happen locally in your browser with JavaScript. GPXFIT never uploads your GPS coordinates to a server.

Drop 2+ GPX, TCX or FIT files here, or click to browse

Load them in one batch or a few at a time — they'll join the list below

What the overlay shows

Each file you load gets a color, and that color is used everywhere on this page: the line on the map, the chip in the file list, the row in the stats table. A file recorded with pauses still draws as one color — its segments are not bridged into a line across the stop.

The stats table gives every file the same four numbers: distance, duration, elevation gain and start time. Distance and elevation are summed within each stretch of recording, so a pause in a file is not counted as ground covered — the same rule every other GPXFIT tool applies. The map is off until you turn it on, because map tiles come from OpenStreetMap and their URLs reveal the rough area of your route to that server; your files never leave your device either way.

Reading the gap numbers honestly

The comparison measures point against point: for every recorded point in the first file, the straight-line map distance to the nearest recorded point in the second file — and the same in the other direction. You get the largest of those distances (where the routes part furthest) and the median (the typical gap).

What those numbers are not: a measurement of GPS accuracy, or a verdict that one route is right and the other wrong. They are map distances between recorded points, so they inherit how densely each file was recorded. Compare a watch file sampled every second with a route planned at every fifty meters and the sparse file reports honest gaps even along an identical road. A median of a few meters with occasional larger maxima is what two faithful recordings of the same route normally produce.

In this first version the numbers describe the first two files only. Load more and they still appear on the map and in the stats table — pairwise numbers for every combination may come later.

Nothing leaves your device

The files are parsed by JavaScript in this tab. There is no upload, no account, and nothing to pay. If the comparison raises a follow-up task, the other tools handle it: trim the start or end of a file, merge GPX or TCX files, merge FIT files, or inspect and convert between formats. FIT files stay read-only throughout: GPXFIT reads and displays them, and does not write, repair or trim them.

Frequently asked questions

Can I compare two GPX files online?
Yes. Load both files on this page and they are drawn on one map in different colors, with distance, duration, elevation gain and start time for each, plus a max and median gap between the two routes. Everything runs in your browser tab and costs nothing.
Can I compare more than two files?
Yes. Load as many files as you like — every one gets its own color on the map and its own row in the stats table. One limit in this first version: the gap numbers (max and median) are computed for the first two files only, not for every pair.
How do I see where two routes differ?
Load both files and enable the map: each file draws in its own color, so a section where the routes split shows two lines side by side. The max and median gap numbers below the map tell you how large that separation gets — the max usually lands where the routes part ways, and a small median with a large max means they agree almost everywhere.
Is my file uploaded?
No. The files are read and parsed with JavaScript running in your browser. Nothing is sent to any server — this page keeps working if you go offline after it loads. The only network request the page can make is map tiles, and only after you click to show the map.
What do the max and median gap numbers mean?
For every recorded point in each of the first two files, the straight-line map distance to the nearest recorded point in the other file is measured, in both directions. The max is the largest of those distances; the median is the typical one. These are map distances, not GPS error and not a verdict on which route is correct.
Why do two recordings of the same ride show a non-zero gap?
Two honest reasons. Devices record at different intervals, and the measurement runs point against point — not point against the line between the other file's points — so a file recorded every second compared with one recorded every five can report the sampling gap as distance. And GPS readings of the same road drift a few meters apart. Expect a median of a few meters between faithful recordings of the same route, not zero.
Which file formats can I compare?
GPX, TCX and FIT — mixed freely, so a GPX route can sit alongside a FIT recording of the ride itself. FIT files are read-only here: GPXFIT decodes and displays them but does not write or edit FIT files.
Can I fix or export a file from the comparison?
Not from this page — it measures, it doesn't modify. To cut the junk off a recording use the trimmer; to join files use the mergers; to convert between formats or export a FIT as GPX use the inspector on the converter page. The files you load here are never changed on disk.