TrackSplice

Repair a FIT file that Strava or Garmin Connect rejects

Your device recorded the whole ride, but the upload fails with “Error processing data”, “The file is malformed” or just a spinner that never ends. Usually the data is still there. The file is just missing its ending, or has a few records the uploader doesn’t like. Repair reads everything that is readable, fixes the structure and writes a clean FIT file you can upload again.

The file never leaves your computer. TrackSplice reads and rewrites it in the browser, and checks the result with Garmin’s own FIT decoder before the download button appears.

What usually goes wrong

A FIT file is a sequence of binary messages. The ones that matter for upload are the session and activity messages at the very end. They carry the totals (distance, time, sport) that Strava and Garmin Connect read first. When a device shuts down before it writes them, you get a file that opens fine in some tools and fails everywhere else.

The problems Repair recognises and fixes:

  • Missing session or activity message. The “watch died at the end of the ride” case. Repair rebuilds both from the records that exist.
  • Bad CRC. The last two bytes of a FIT file are a checksum. A partial write leaves it wrong, and strict uploaders reject the whole file. Repair recalculates it.
  • Timestamps out of order or duplicated. Happens after a GPS re-acquire or a firmware hiccup. Records are sorted and duplicates merged.
  • Distance that jumps backwards. A sensor glitch can make the cumulative distance drop for a few seconds; Strava then refuses to compute pace. Repair holds the last good value.
  • Records with a timestamp in 1989 or 2100. A device with a reset clock writes garbage dates for the first seconds. Those records are dropped.

What Repair cannot do: invent data that was never written. If the device stopped recording ten minutes before the end of your ride, the repaired file ends ten minutes early. For that case use Append to add the missing part from a second device or a manual recording.

How it works

  1. Add the file. Drop it onto the app or use Add files. The file list shows the device, date and length, and any problems found are listed right away, so you know whether the file is actually broken before you do anything.
  2. Choose Repair and press Run. There are no options. The report lists what was wrong, for example “Bad CRC or truncated file (integrity check failed).” or “Missing FIT messages: session, activity.”
  3. Download the FIT. The repaired file is decoded again with Garmin’s SDK and checked for integrity. If that check fails you get an error, never a broken file.

Open Repair in TrackSplice →

A FIT file loaded in TrackSplice with the tool list, ride summary, map and charts

Devices this is tested with

Garmin Edge and Forerunner, Suunto (Race, Vertical, 9), Wahoo ELEMNT, Zwift and Kinomap exports, Bosch eBike Flow. Any FIT file that follows the Garmin SDK profile should work; if yours does not, the file list tells you which message failed to decode.

Frequently asked questions

Will Strava accept the repaired file? Yes, if the original data is intact. The repaired file is a complete, standard FIT with session, activity and lap messages, the same structure a device writes after a normal stop.

Does repairing change my data? Your measurements stay as recorded. Repair sorts the records, merges duplicate timestamps and recalculates the totals from the records themselves. The only values it touches are the broken ones listed above, plus impossible readings such as a position outside the map or a heart rate of 0, which are removed.

My file is .fit.gz. Can I use it? Yes. That is how Strava exports original files. Unzip it first (double-click on macOS, right-click → Extract on Windows) and add the .fit.

The file list says “0 records”. Then the device wrote the header and nothing else, usually because it crashed right at the start. There is nothing to repair; the activity has to be entered manually.

Is it free? Yes. There is no account and no upload. If it saved your ride, there is a Support button in the top right.

Open Repair in TrackSplice