Excel Workbook Repair (Corrupted XLSX Recovery)

Open an Excel file that will not open, let the tool rebuild its ZIP package and XML parts in your browser, read exactly what was recovered and lost, preview every sheet and download a clean .xlsx.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the damaged file

    Pick the .xlsx or .xlsm, or try the demo with one of the four kinds of damage.

  2. 2
    Read the summary

    See how many sheets, cells and formulas came back, and how many repairs and losses there were.

  3. 3
    Check what was lost

    Read the losses and repairs list and the part-by-part status table.

  4. 4
    Preview the sheets

    Open each recovered sheet in the grid; formula cells are shaded and show the formula on hover.

  5. 5
    Choose save options

    Keep or drop formulas, reset formatting, skip hidden sheets or rename sheets.

  6. 6
    Download

    Save the clean .xlsx, a sheet as CSV and the repair report as text or print.

About this tool

An .xlsx workbook is a ZIP archive holding a few dozen XML files: one per worksheet, a workbook part that names the sheets, a shared-strings part with every piece of text, a style sheet, relationship files that tie them together and a content-types list. Excel refuses the whole file when any of these is damaged, even if the numbers you need are still sitting intact inside it. This repair tool takes the package apart with the fflate library directly in your browser. It first tries the ZIP central directory; when the download was cut short or the end of the file is overwritten, it scans for local file headers instead and decompresses each part separately, keeping whatever bytes come out before a damaged spot and checking every part against its CRC-32 checksum. Each XML part then goes through a tolerant repair pass that strips characters XML forbids, escapes bare ampersands, drops cut-off tags, removes stray closing tags, rebuilds tags with duplicate attributes and closes elements left open at the end. From the repaired parts it rebuilds the workbook model: sheet names and order, shared strings, the style sheet when it is still readable, every cell with its value type, formula and style index, column widths, merged ranges and defined names. You see a part-by-part status table, a plain-language list of repairs and losses, a preview grid for each sheet, and a fresh, minimal and valid workbook to download under a new name.

How the clean copy is built

The repaired file is not a patched version of the original; it is written from scratch. A new content-types file, new relationship files and a new workbook part list the recovered sheets. Shared strings are rebuilt from the text that was actually recovered, so a cell can no longer point at a string that does not exist. Style indexes are checked against the recovered style sheet, and any cell that points past its end falls back to the default style. Shared formulas whose master formula was lost keep their last calculated value instead of breaking. Charts, pictures, comments, pivot tables and macros are listed as not carried over, because rebuilding them safely needs the original relationships; the data they summarise is kept.

Worked example

Press Damage and repair the sample with the broken XML option. The built-in sample has a Sales Q1 sheet with 38 cells and 8 formulas and a Notes sheet with 4 cells. The damage writes a control character into the sheet, a duplicate cell address attribute, a stray closing tag and a cut-off final row containing R&D, and halves the style sheet. The repair reports one loss and two groups of repairs. The style sheet is unreadable, so formatting falls back to the default style and 19 cells that used the bold or number style are reset. The sheet XML needed five fixes: one bad character removed, one bare ampersand escaped, one stray closing tag removed, one tag with a duplicate attribute rebuilt and five open elements closed. Sales Q1 comes back with 39 cells, because the half-written row 9 with R&D is saved as text, and all 8 formulas, including SUM(C2:C7) with its cached total of 716 units and the revenue total of 6994.25.

Limits

The tool cannot recover data that is not in the file at all, such as a workbook saved as zero bytes or overwritten by another program. It does not open old binary .xls files or password-protected workbooks, which use a different container, and it does not rebuild charts, pivot tables, images, comments or VBA macros. Always keep the original damaged file.

Worked example

Sample with broken sheet XML and half a style sheet: 39 cells and 8 formulas recovered, 19 styles reset, 1 loss reported.

Quick facts

Frequently asked questions

Why does Excel say it found unreadable content?

Excel validates every part of the package. One malformed tag, a shared-string index that points nowhere or a missing relationship is enough for it to offer a repair or refuse the file. This tool shows you which part is broken and why.

Is my workbook uploaded anywhere?

No. The file is read with JavaScript inside this page and the clean copy is built in memory. You can disconnect from the internet after the page loads and the repair still works.

What happens to formulas?

Formula text and the last calculated value are both kept. Excel recalculates them when it opens the repaired copy. If a shared formula lost its master cell, the dependent cells keep their values and the report says how many.

Can it fix a file that was only partly downloaded?

Often, yes. A cut-off file loses its central directory, which sits at the end of a ZIP. The tool scans for each part's local header instead, so every part stored before the cut is recovered, and a part that was cut in half gives back the rows before the break.

Why are some of my text cells empty after the repair?

Text lives in the shared-strings part, not in the sheet. If that part is missing or damaged, cells that point to it have no text to show. The report counts these cells per sheet, so you know how many to check.

Can I save only the values?

Yes. Tick Values only before you download and the formulas are dropped, which also helps when a formula refers to a sheet or external file that no longer exists. You can also reset formatting, leave out hidden sheets and rename sheets.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages