ZIP File Cannot Be Opened — Invalid Archive Error
Attempting to extract a ZIP file produces "Not a valid archive", "Cannot open file", or "The compressed file is damaged or incomplete".
Last updated
Why ZIP Files Fail to Open
Cause 1: Interrupted Download (Most Common)
A ZIP file's central directory is written at the end of the file. If your download was interrupted before completion, the central directory is missing and no extraction tool can open the file — even if most of the content is there.
Diagnosis: Compare the downloaded file size to the size reported on the download page or server. A truncated download is always smaller.
Fix: Re-download the complete file. If on an unstable connection, use a download manager that supports resumable downloads.
Cause 2: File Partially Transferred or Copied
Like downloads, copying a file from a failing hard drive or across a slow network can produce an incomplete copy.
Fix: Verify the source file first, then copy again.
Cause 3: Wrong File Type
Some files use the ZIP container format but have different extensions — .jar, .apk, .docx, .xlsx, .epub, .cbz are all ZIP-based formats. Renaming them to .zip may confuse some extraction tools.
Fix: Open the file with the appropriate application for its actual type.
Cause 4: Extraction Tool Version / Size Limit
Files larger than 4 GB require ZIP64 format. The built-in Windows extractor does not support ZIP64. Files with more than 65,535 entries also require ZIP64.
Fix: Use 7-Zip (free) — it handles ZIP64, RAR, 7z, and every other common archive format.
Cause 5: Archive Requires a Password
If the archive is encrypted, most tools will prompt for a password. Some may show a generic error if the password field is left blank.
Fix: You need the correct password. See our guide on password-protected files.
Advertisement
Step-by-Step Diagnosis
- Check file size — is it the expected size? If smaller, it was truncated.
- Try 7-Zip — free tool that handles more edge cases than built-in extractors.
- Try a different extractor — WinRAR, The Unarchiver (macOS), or Archive Utility.
- Check the file header — a valid ZIP starts with
PK(hex50 4B) as its first two bytes. Open in a hex editor to verify. - Re-download — if from the internet, always re-download before assuming irreparable corruption.
Recommended Free Extraction Tools
| Tool | Platform | Supports |
|---|---|---|
| 7-Zip | Windows | ZIP, ZIP64, 7z, RAR, TAR, GZ, and more |
| The Unarchiver | macOS | ZIP, RAR, 7z, TAR, and more |
| PeaZip | Windows, Linux | ZIP, 7z, RAR, and more |
| Built-in Archive Utility | macOS | Basic ZIP only |
| Built-in File Explorer | Windows | Basic ZIP only (no ZIP64) |
Frequently asked questions
Why does my ZIP file say "invalid archive" or "unexpected end of file"?
These errors mean the ZIP is corrupted. The most common cause is an interrupted download — the file downloaded partially and the end of the archive (which contains the file index) is missing. Re-download the complete file and check that the file size matches the expected size.
Can 7-Zip open a corrupted ZIP file?
Yes — 7-Zip's extraction engine is more tolerant than the built-in Windows extractor. Right-click the ZIP → 7-Zip → Extract Files. Even when the ZIP index is missing, 7-Zip can scan the data area directly and recover files. Download 7-Zip free at 7-zip.org.
How do I fix a ZIP file that says "CRC failed"?
A CRC (Cyclic Redundancy Check) error means one or more files inside the ZIP have data that does not match the stored checksum — the data was changed or corrupted after the ZIP was created. Re-download the ZIP from the source if possible. If the ZIP was created locally, the original files may be on a failing storage device.
How can I check if a ZIP file is corrupted without extracting it?
In 7-Zip: right-click the file → 7-Zip → Test Archive. This verifies the checksum of every file in the archive without extracting. If it reports errors, the ZIP is corrupted. If it passes, all files are intact.