Skip to content
Aback ZIP

Troubleshooting · 7 min read · Updated

Fix: compressed (zipped) folder is invalid

Windows says a compressed (zipped) folder is invalid. Check the causes: a bad download, wrong format, damage, encryption or an old extractor, and the fixes.

That Windows message means File Explorer could not read the ZIP's structure. It does not necessarily mean the file is broken: a truncated download, a RAR file renamed to .zip, AES-256 encryption or a very large ZIP64 archive all produce the same error. Open the file in ZIP Viewer to see what is actually inside, and use Repair ZIP if readable entries need to be recovered.

What Windows is complaining about

Explorer reads the end of a ZIP file first, where the central directory lists every entry and its position. If that index is missing, cut off or inconsistent with the rest of the file, Explorer gives up before it tries to open any file inside. Other archive programs are often more forgiving, which is why a ZIP that fails in Explorer may open in 7-Zip.

Likely causeClueWhat to do
Download stopped earlyFile size is smaller than the size shown on the siteDownload again, preferably over a stable connection
Not a ZIP at allName ends in .zip but a viewer reports another signatureRename to the real extension and open with the matching tool
Damaged central directoryA viewer lists some entries but reports errors at the endRecover the readable files into a new archive
Encrypted with AESExplorer asks for a password it cannot handle, or fails outrightUse an AES-capable extractor; Aback ZIP supports WinZip AES and ZipCrypto
Large or unusual ZIP64 archiveFile is over 4 GB or has more than 65,535 entriesTry a modern extractor, or split the source into smaller archives
Split into partsYou only have .z01, .001 or .part1 filesJoin the parts into one ZIP first

Step 1: confirm it is really a ZIP

Windows associates the .zip extension with Explorer, but the extension is only a label. The real format is decided by the bytes at the start and end of the file. A ZIP normally begins with PK\x03\x04; an empty ZIP begins with PK\x05\x06, and a spanned marker uses PK\x07\x08. An RAR file starts with Rar!, a 7z file with 7z\xbc\xaf\x27\x1c, and a GZIP file with 1f 8b.

  1. Open ZIP Viewer and choose the file. If the index parses, you will see a folder tree with entry names, sizes and compression methods.
  2. If the viewer reports an unrecognised signature, the file is not a ZIP. Check what was actually downloaded.
  3. If it reports a damaged or incomplete structure, continue to the recovery steps below.

Aback ZIP supports ZIP (including ZIP64), TAR and GZIP-family inputs. RAR and 7z are detected and reported, not opened, and there is no conversion from them.

Step 2: rule out a bad download

  • Compare the file's size with the size advertised on the download page. A smaller file is almost always incomplete.
  • Download it again once before assuming it is corrupt; transfers fail more often than archives are born broken.
  • If the publisher lists a checksum, compute yours with ZIP Checksum and compare. A matching hash proves the bytes are exactly what was published.
  • Check that your browser did not save an HTML error page under the .zip name. Opening the file as text will show <html> near the start.
  • If the archive arrived by email, compare with the original attachment; mail gateways sometimes strip or re-encode parts of a message.

Many messages that look like corruption are really a transfer problem. The same error is covered from the other direction in common ZIP errors explained.

Step 3: check the structure

  1. Run Test ZIP Integrity. It decompresses every entry, checks each CRC-32 (or the AES authentication code) and scans the structure for overlapping entries and mismatched headers.
  2. Read the per-file report. If only one entry fails, the rest of the archive is still usable.
  3. Open the same file in ZIP Viewer to see which entries appear and whether sizes and timestamps look sensible.

A CRC-32 mismatch means the data changed; it does not tell you why. CRC-32 is a checksum for accidental corruption, not a cryptographic signature, so a matching value is not proof that a file was not deliberately altered.

Step 4: recover what you can

  1. Open Repair ZIP and choose the damaged file. It scans for file records instead of trusting the central directory.
  2. Review the list of recovered entries. Each is checked against its recorded checksum before it is accepted.
  3. If some files are partly readable, decide whether to keep those fragments; they are flagged separately.
  4. Download the new ZIP. The original file is left untouched, so you can try a different setting later.

Repair is inherently partial. If the central directory is gone, names and timestamps may be missing for some entries, and no tool can reconstruct bytes that were never downloaded. The full walkthrough is in how to repair a corrupted ZIP file.

Do not try password-cracking tools when an archive is encrypted. Aback ZIP can remove a password only when you already know it.

Step 5: verify the result

  • Run Test ZIP Integrity again on the rebuilt archive; it should pass cleanly.
  • Compare the entry count and file names with what you expected.
  • Open the rebuilt file in Explorer to confirm the original error is gone.

If the rebuilt ZIP still fails in Explorer but passes everywhere else, the problem is the recipient's extractor or archive size, not the data. In that case split the archive into parts below 4 GB and under 65,535 entries and send those instead. A short checklist is in check if a ZIP file is corrupted.

When the file was never a ZIP

Renaming setup.rar to setup.zip does not convert it. Explorer will keep reporting an invalid compressed folder until the extension matches the format. The same applies to .7z, .tar.gz and single-file .xz or .zst archives.

Actual formatOpen with
RAR, 7zWinRAR, 7-Zip or another dedicated extractor; Aback ZIP does not support these
TAR, TAR.GZ, TGZExtract TAR or Extract ZIP in Aback ZIP, or tar on Linux and macOS
Single .gz, .bz2, .xz, .zst fileGZIP Compress & Extract or XZ, BZ2 & ZST Extractor

Why Explorer differs from other tools

File Explorer is a convenient shell integration, not a full archive application. It handles the common case well and gives a single vague message for everything else. A dedicated extractor such as 7-Zip supports more compression methods, more encryption schemes and more recovery behaviour, which is why the same file may open there and fail in Explorer. None of that makes the ZIP invalid; it means the reader has narrower rules.

Explorer also applies Windows conventions to names. Entries with characters Windows forbids, extremely long paths or names that differ only in letter case can be skipped or merged during extraction. If a ZIP opens but files are missing, that is a name-handling problem rather than structural damage, and a different extractor usually shows the entries correctly.

  • Open the same file in two readers. If one lists the entries and the other does not, the problem is reader compatibility, not corrupt data.
  • Check the encryption type. WinZip AES is strong but not understood by Explorer; traditional ZipCrypto is weak but widely supported. Aback ZIP supports both with a known password.
  • Check the size and entry count. A ZIP above about 4 GB or 65,535 entries uses ZIP64. Modern Explorer reads it, but older versions and embedded software may not.
  • Check the source format. RAR and 7z files renamed to .zip will never open as ZIPs, whatever tool you try.

Do not keep re-saving a file with a different extension hoping Explorer will accept it. Each failed attempt can make the original harder to identify. Keep one untouched copy and work from that.

Tools for this

Frequently asked questions

No. The same message appears for a wrong file extension, a partial download, AES encryption that Explorer cannot read and some large ZIP64 archives. Check the bytes before assuming the data is damaged.

More guides