FIT File Repair: Recover the Ride Your Device Did Not Finish Saving

A ride file cut off by a flat battery, a crash or a full memory can usually be rebuilt. Drop it here to check it, then download a valid FIT with every record that was saved. Your file is not uploaded.

Where this comes from· 4 references
  1. Garmin. FIT protocol: file structure, record headers and the CRC-16 used to check a file. Source
  2. Strava. Upload file formats: which GPX and TCX extension fields Strava reads (heart rate, cadence, temperature and power). Source
  3. TopoGrafix. GPX 1.1 schema. Source
  4. fit-file-parser, the open-source (MIT) library this page uses to read FIT files. Source

Read in your browser. Your file is not uploaded.

File rescued. Now make the ride count. Start Free Today

Why FIT files break

A bike computer writes records as the ride goes, but it only writes the file's final size, the session summary and the closing CRC when you save the ride. If the battery dies, the unit freezes or the memory fills first, the file ends mid-record with a header that no longer matches its contents.

Strict readers reject a file like that, and upload pages can too, even though almost all of the ride is in it.

What the repair does

  1. Reads the header and walks every record, using only the sizes the file itself defines.
  2. Stops at the last record that is complete and makes sense, and drops the incomplete bytes after it.
  3. Writes the real data size into the header and recalculates both CRCs, the header's and the file's.

The records it keeps are copied byte for byte. Nothing is estimated, smoothed or filled in, so the repaired ride is exactly what the device recorded up to the point it stopped.

When the summary is missing

A device that switches off never writes its session summary. The repaired file then has every record but no summary, and the tool tells you so. Some platforms rebuild the summary from the records; others may still reject the file.

If a platform rejects the repaired FIT, download the same ride as TCX from the result panel. TCX carries laps, distance, heart rate, cadence, speed and power without needing a FIT summary.

Your file stays on your computer

The file is read by JavaScript running in this browser tab. It is never uploaded: there is no server on the other end that could receive it, and the page makes no network request with its contents.

You can check that yourself. Open your browser's developer tools, go to the Network tab and drop a file in. You will see the page's usual requests, such as the site's analytics and, the first time you open a FIT file, the file reader loading. None of them carries your file.

What this tool will not do

×

It cannot recover what was never saved

If the device stopped recording twenty minutes before it switched off, those twenty minutes are not in the file, and no tool can bring them back.

×

Damage in the middle ends the file there

The repair keeps everything up to the first record that does not make sense. If a file is damaged in the middle rather than at the end, what comes after the damage is dropped, and the result says how many bytes that was.

×

Only FIT files

GPX and TCX are text files and break in different ways; this tool only rebuilds the FIT binary structure.

Common questions