How to Repair a Corrupted Excel File
Updated 2026-10-11 · Free · Works in your browser
Quick answer
For a corrupted .xlsx file, first try Excel’s built-in Open and Repair (File ▸ Open ▸ select the file ▸ click the arrow on the Open button ▸ Open and Repair). If that fails, the free online Excel repair tool unpacks the file in your browser, fixes package-level damage such as illegal characters and a missing [Content_Types].xml, and repacks it so Excel opens it again.
Skip the reading — jump straight to the free tool: Excel Repair →
Symptoms of a Corrupted Excel File
- “We found a problem with some content in ‘file.xlsx’. Do you want us to try to recover as much as we can?”
- “Excel cannot open the file ‘file.xlsx’ because the file format or file extension is not valid.”
- The file opens but sheets are blank, or charts and images have vanished.
- A ZIP utility refuses to extract the .xlsx file (“the archive is corrupt”).
An .xlsx file is a ZIP archive containing XML parts. Most “corrupt” files are not destroyed — one XML part inside them is malformed (often illegal control characters from a bad third-party export) or a required part such as [Content_Types].xml is missing. That kind of package-level damage is exactly what automated repair targets.
How to Repair an Excel File Online (Free)
- Open the free Excel repair tool and drop in one or more corrupted .xlsx or .xlsm workbooks. Files are processed locally in your browser — nothing is uploaded.
- Click Repair file. Each workbook is unpacked, cleaned, and repacked in one pass.
- Read the per-file report: repaired files list exactly what was fixed, healthy files are marked as intact, and unfixable files say so clearly instead of returning garbage.
- Download the results — a single repaired file downloads directly; multiple files come back as a ZIP.
Batch repair is supported: drop the whole folder’s worth of broken exports at once and get a ZIP of everything that could be saved.
What the Online Repair Can and Cannot Fix
| Symptom | Likely cause | Fixable online? |
|---|---|---|
| “We found a problem with some content…” | Illegal control characters inside sheet XML | Yes |
| File from a third-party export will not open | Missing or broken [Content_Types].xml | Yes |
| ZIP utility cannot extract the file at all | Damaged ZIP central directory | No |
| Sheets open but cells are empty | Data was never saved / overwritten | No |
Honest scoping matters here: a tool that claims to fix everything usually returns a half-empty file and hopes you will not notice. When a file cannot be repaired, the report says so plainly, and the next step is data salvage rather than repair.
How to Repair in Excel Manually (Open and Repair)
- In Excel: File ▸ Open ▸ Browse, and select the corrupted file — do not double-click it.
- Click the arrow next to the Open button and choose Open and Repair.
- Choose Repair first. If Excel reports failure, reopen and choose Extract Data to pull out values without formulas or formatting.
Worth trying before anything else if you have Excel installed. If Open and Repair also fails, check for backups before moving on: OneDrive and SharePoint keep version history (right-click the file ▸ Version history), Windows keeps Previous Versions on some folders, and Outlook often still holds an attachment copy in the original email.
If Repair Fails: Salvage What You Can
When a file cannot be made to open in Excel again, the goal shifts from repair to rescue:
- Preview whatever is readable with the online Excel viewer — even a partially broken package often still shows most sheet data.
- Pull the embedded images out of the workbook as files; pictures frequently survive even when sheet XML does not.
- Ask the source system for a re-export. CSV exports are more robust than .xlsx and can be converted back afterwards.
Tools Used in This Guide
Frequently Asked Questions
Is the online repair really free?
Yes — free, no sign-up, and files are processed entirely in your browser. Nothing is uploaded to a server.
Why does Excel say the file format is not valid?
Usually because the ZIP package inside the .xlsx is damaged or a required XML part is missing — often after a crash during save, a bad sync, or a faulty third-party export. The online repair targets exactly this kind of package damage.
Can it recover a file I saved over or deleted?
No. Repair fixes damage inside a file. For overwritten or deleted files, use OneDrive/SharePoint version history or Windows Previous Versions instead.
Does it repair .xlsm or only .xlsx?
Both are supported, and batch repair works for either — drop as many files as you like.
Will formatting and charts survive the repair?
The repair only rewrites the broken XML parts; everything else in the package is left untouched, so formatting and charts survive as long as their own XML was intact.
Related Guides
Ready to try it on your own file?
Open Excel Repair — It's Free