Repair a ZIP

Recover whatever is still readable from a damaged or truncated ZIP and rebuild it as an archive that opens.

or drop it here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Downloads a small public example. Your own files are not used.

Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To repair a corrupted ZIP for free, open it here and press Recover what is readable. Instead of trusting the archive’s broken index, the tool scans for each file’s own header, unpacks every entry that is intact and rebuilds a new ZIP. It runs in your browser and the file is never uploaded.

A worked example

See a real input and result

This synthetic sample produced 1 output file from 1 input file. These are synthetic demonstration files, not someone’s documents.

Input sample

Actual output

Input count
1
Output count
1
Entries recovered
2
Entries unreadable
0
Recovered size
25 B
Input bytes
141
Downloadable output bytes
235

This synthetic sample only; results depend on the input. The archive is rebuilt from whatever entry headers are still intact, ignoring the central index that most repairs choke on. Files whose compressed data is genuinely gone cannot be brought back — check the recovered list against what you expected. Input has a truncated central directory; recovery here does not prove other damaged archives can be repaired.

Ran through this tool on . Use “Try sample files” above to run it yourself.

How to repair a corrupted ZIP file for free

  1. STEP 1

    Choose the damaged ZIP

    Pick the archive that refuses to open. Work on a copy if it is the only one you have.

  2. STEP 2

    Press Recover what is readable

    The file is scanned entry by entry in your browser, skipping anything that will not decompress.

  3. STEP 3

    Check the report

    Entries recovered, entries unreadable and the recovered size tell you how much was saved.

  4. STEP 4

    Download the repaired ZIP

    Save the rebuilt archive and open it as normal, comparing its list with what you expected.

Why ZIP files get corrupted

A ZIP keeps its index, the central directory, at the very end of the file. An interrupted download, a failing drive or a transfer that stopped early usually damages or removes that end, and then extractors refuse the whole archive, even though most of the file data is still there.

Every file inside also has its own small local header just before its data. Reading those headers one by one recovers the entries that are intact, which is how most ZIP repair works.

What survives, and what does not

The tool scans the whole file for the local header signature, reads each entry’s name, method and compressed size, and inflates it with fflate. Entries that fail are counted as unreadable rather than stopping the run. Everything recovered is packed into a fresh ZIP named after the original with a -repaired suffix.

What you keep

Every intact entry, byte for byte

Original paths and names of recovered files

A count of entries that could not be read

What you lose

Files whose data is genuinely missing or damaged; they cannot be rebuilt.

Entries written by streaming zippers that record sizes after the data may not be recovered.

Encrypted entries and compression methods other than Stored and Deflate.

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Repair a ZIP at a glance

InputDamaged ZIP
OutputRebuilt ZIP (-repaired)
MethodLocal header scan
Supported entriesStored and Deflate
Enginefflate (JavaScript)
Works offlineAfter the first use

If something goes wrong

It says nothing could be recovered

No intact file headers were found, which usually means the file is truncated near the start, is encrypted, or is not a ZIP at all. Download it again if you can.

Some files are missing from the repaired ZIP

Their data was damaged or their sizes were stored after the data, which this scan cannot use. Those entries are counted as unreadable in the report.

Repair a ZIP questions

How do I repair a corrupted ZIP file for free?

Open the ZIP here and press Recover what is readable. It rebuilds a new archive from every intact entry, free and without installing a repair program or uploading the file.

Can a corrupted ZIP be fully recovered?

Only the parts whose data survived. If the damage is just the index at the end, often everything comes back; if file data itself is missing, those files are lost.

Why does Windows say the compressed folder is invalid?

Usually the central directory at the end of the ZIP is missing or damaged, often from an incomplete download. Repairing from the local headers can recover the files anyway.

Is my ZIP uploaded to repair it?

No. The scan and rebuild run in JavaScript in your browser tab, so a damaged backup or private archive never leaves your device.

Can it repair a password-protected ZIP?

No. Encrypted entries cannot be decompressed without the key, so they are counted as unreadable.

Can it repair RAR or 7z files?

No. This repair scan reads ZIP local headers only. It cannot recover entries from RAR or 7z archives; use a tool designed for that format.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/repair-zip
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy