Fit File Editor

Repair a FIT file that won't upload

When a watch dies mid-activity, a sync gets cut off, or the device clock jumps forward, the file ends up damaged and Strava or Garmin Connect refuses it. Open it here. The editor keeps every record it can read, fixes the time if it jumped, and writes a clean, valid file with the totals recalculated.

Open the editor Try it on a sample ride Free, and nothing leaves your browser.

A ride whose file was cut off when the watch died. Press Repair.

The striped end is the part no app can read.
The FIT File Editor showing a damaged file it recovered, with a notice that most of the file was read
A truncated file, recovered. The notice says what happened, and the map and totals show what was kept.

When it helps

  • Strava says the file is corrupted, or that there was an error processing your activity.
  • Strava says the file has corrupted time data: the date jumps forward partway through, sometimes by years.
  • Garmin Connect says the file is invalid or corrupt.
  • Your watch ran out of battery or crashed before it finished saving.
  • A sync was interrupted, and the copy on your phone or computer is damaged.
  • The file opens nowhere else, and you just want the run or ride back.

How it works

  1. Copy the original file off the device if you can, rather than one from a failed sync. On a Garmin it's in the Garmin/Activity folder.
  2. Open it here, or drag it onto the page.
  3. If part of it was damaged, or its clock jumped, the editor fixes what it can and says so. Check the map and the totals.
  4. If the sport now reads Activity, set it again in the details panel. Many devices write the sport at the end of the file, so a cut-off file can lose it.
  5. Export the repaired file and upload it to Strava or Garmin Connect.

What it fixes, and what it tells you

Most upload errors come down to one of these. Open the file and the editor either fixes it or says which one it is.

  • Cut off when the battery died or the device crashed. The end of the file never got written, so the checksum is wrong. Every record up to the damage is kept, and the totals are worked out again from them. Many devices write the sport last, so set it again in the details panel if it reads Activity.
  • A header that was never finished. The file says it holds less data than it does. It opens with the recovery notice.
  • Corrupted time data. The clock jumps forward partway through. The jump is closed when the file opens, and a notice says how far it was.
  • An older device's compressed timestamps. Some older units save time in a compact form many tools can't read. These open normally.
  • The wrong name. A copy called ride.fit (1), a file with no extension, or a GPX or TCX saved as .fit opens by what it holds, not its name.
  • Not an activity at all. Watch settings, daily tracking, lifetime totals, and workout plans are FIT files too, but not recordings. The notice says which one it is and where the activities are: on a Garmin, the Garmin/Activity folder.
  • An empty file or a saved web page. A 0-byte file means the download didn't finish or the phone hasn't fetched it from the cloud yet. A web page saved instead of the download is named as one. Download the file again.

If a file still won't open, it's damaged beyond what can be read in the browser. The won't upload guide and the comparison list the other tools worth a try.

Questions

Strava says my file has corrupted time data. Can this fix it?
Yes. That error means the date jumps forward partway through the file, often by months or years, which some older Garmin Edge and Fenix units do. The editor spots a jump of more than a day between two points when you open the file and closes it, so the rest of the activity follows on from where the jump was. It keeps the part that isn't dated in the future, and if the date is still wrong you can set the start time in the details panel. Then export and upload the new file.
Is this the same as the Fit File Repair Tool?
No, it's a different tool. The Fit File Repair Tool is a paid Windows program that goes further on badly damaged files. This one is free, runs in any browser including on a Mac, and never uploads your file. Try it first; the comparison page lists the others.
My file opens fine here. Why won't it upload?
Export a fresh copy anyway. The editor writes a new, valid file with a correct checksum, and that alone often gets past the upload error. If Garmin Connect then says it's a duplicate, delete the original activity first.
What can't be repaired?
Data that was never written. If the device died before saving the last few minutes, those minutes aren't in the file. A file with almost nothing readable left can't be rebuilt, and settings, sleep, or course files aren't activities, so they won't upload anywhere.
Is this different from fixing bad data?
Yes. Repair is for a file that won't open or won't upload. If the file uploads but has a heart rate spike or a GPS jump in it, the fix tool is the one you want: select the bad stretch and cap, smooth, or clear it.
Does my file get uploaded to repair it?
No. The repair happens in your browser, so the file never leaves your computer. Most repair services send it to their server.