DOCX Repair and Text Recovery

When Word says the file is corrupt, this tool reads it part by part, salvages whatever survived and rebuilds a document you can open.

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

…

How to do it

  1. 1
    Open the damaged file

    Drop the DOCX, XLSX or PPTX on the box.

  2. 2
    Read the diagnosis

    Check how many parts are intact and what the log says.

  3. 3
    Try repackaging

    If most parts are intact, download Repackage intact parts and open it in Office.

  4. 4
    Correct the content

    Edit the recovered text or cells, using undo if needed.

  5. 5
    Rebuild

    Download the rebuilt DOCX or XLSX, or plain text or CSV.

  6. 6
    Save the images

    Download single images or the ZIP of all of them.

About this tool

A DOCX, XLSX or PPTX file is a ZIP archive holding many small XML parts: the body text, styles, numbering, images and relationships between them. Most corruption happens to only a few bytes, typically when a download stops early, a USB stick is pulled out during saving, or cloud sync writes half a file. Office then refuses the whole package, even though most of your words are still inside. This tool works below the level where Office gives up. First it tries to read the archive's central directory, the table of contents at the end of the file. If that is missing, it walks through the file from the start and finds each part by its local header, decompressing every entry it can and keeping partial output from entries that were cut short. Next it tries to parse the main XML. When the XML is broken, it switches to a token scanner that collects paragraph marks, heading styles, text runs, tabs and line breaks without needing the document to be well formed. Spreadsheets are scanned cell by cell with their shared strings, and presentations slide by slide. You see a diagnosis, the list of parts with their state, the recovered content and the embedded images, and you can correct the text before saving.

Three ways to get your work back

- Rebuilt DOCX writes a fresh, valid Word file from the recovered paragraphs and headings and appends the pictures that were found. Formatting such as fonts and colours is not rebuilt, but structure and words are. - Rebuilt XLSX writes a new workbook with every recovered sheet; numbers are stored as numbers again, so sums work. - Repackage intact parts zips the undamaged parts back together. When only the archive index was broken, this is often enough for Word or Excel to open the file with its full formatting.

Editing the recovered content

The text box holds the recovered paragraphs, one per line, with headings marked by hash signs. You can delete junk lines, join paragraphs that were split or retype a damaged word, and undo or redo each change. For spreadsheets, click a cell in the grid to correct it before rebuilding.

Getting the best result

Always work on a copy of the damaged file. If you have an older version from cloud history or a backup, try that first. If the file came from email, download it again, since corruption often happens in transit. For files that also have an autosaved version, Word's own Open and Repair command is worth one attempt before using this tool.

Limits

Nothing can recover bytes that are not in the file. A file of zero bytes, or one overwritten with other data, contains no text to rescue. Files encrypted with an open password are not ZIP archives and cannot be read here. Tracked changes, comments, footnotes and complex layouts are flattened into plain paragraphs. This tool does not upload anything and is not a forensic recovery service for deleted files.

Worked example

A 2.4 MB thesis chapter stopped opening after a laptop battery died. The diagnosis showed 17 of 18 parts intact, with document.xml cut short. The token scanner recovered 412 of the paragraphs and all 9 figures; after deleting two broken lines at the end, the student downloaded a rebuilt DOCX and pasted the last page back from notes.

Quick facts

Frequently asked questions

Is my document uploaded?

No. The file is read and rebuilt inside your browser.

Can it repair .doc files from old Word?

No. Old .doc files use a different binary format. This tool handles DOCX, XLSX and PPTX packages.

Will my formatting come back?

Repackaging keeps formatting when only the index was damaged. Rebuilding keeps words, headings and images, not fonts.

What does partly recovered mean?

The part was compressed and cut off, so only the beginning could be decompressed.

Can it open a file with a password?

No. Password-encrypted Office files are a different container and are reported as such.

Where are the images?

Below the editor. Click one to download it, or save them all as a ZIP.

Guides for this tool

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