Skip to content
Bytevive

7-Zip “Can not open the file as archive”, Headers Error, and CRC Failed explained

What 7-Zip's archive errors mean, how to tell damage from a missing part or wrong password, and how to recover intact files from a broken ZIP.

By the Bytevive team9 min read

A laptop showing 7-Zip’s “Can not open the file as archive” error next to an external hard drive

You double-click an archive in 7-Zip and get Can not open the file as archive. Or it opens, you click Extract, and the progress window fills up with Headers Error, Unexpected end of data, Data Error, or CRC Failed.

These messages sound alike but they point at different problems, and some of them aren’t damage at all. A missing part of a split archive, a wrong password, or a web page saved with a .zip name all produce errors that look like corruption. This guide explains what each message means, how to test which one you have, and what you can still get back.

What each message means

MessageWhat 7-Zip is telling youMost common cause
Can not open the file as archiveIt can’t read a header at the start or the end of the fileCut-off download, wrong format behind the name, or one split part on its own
Headers ErrorIt found the archive, but the information about the files inside is damaged or inconsistentDamage near the end of the file; in 7z archives with encrypted names, a wrong password
Unexpected end of dataThe file stops before the archive doesIncomplete download or copy, or a missing split part
Data ErrorA file’s compressed data couldn’t be decompressedDamaged bytes inside that file’s data
CRC FailedA file decompressed, but its checksum doesn’t match the one stored when it was archivedDamaged bytes in that file
CRC Failed in encrypted file. Wrong password?Same check, in an encrypted archiveUsually just the wrong password
Unsupported compression methodThe archive uses a method this version can’t decodeAn old 7-Zip, or a ZIP made with a rare method

Why the end of the file matters so much

Both ZIP and 7z keep their table of contents at the end. A ZIP stores each file with a small local header in front of it, then finishes with a central directory that lists every file, as the ZIP specification describes. A 7z archive starts with a 32-byte header that points to an end header and a metadata block holding names, sizes, and checksums, according to 7-Zip’s own recovery guide.

Inside a ZIP archive

Each file carries its own small header, so files can be found even when the central directory at the end is gone.

  1. Header + file 1Name, size, CRC, data
  2. Header + file 2Name, size, CRC, data
  3. Header + file 3Name, size, CRC, data
  4. Central directoryList of every file
  5. End recordWhere the list starts
First byteLast byte
Not to scale. A 7z archive is laid out differently: one 32-byte start header, the compressed data, then the metadata and end header.

Downloads and copies are written front to back, so an interrupted one loses the end first. That’s why “Can not open” and “Unexpected end of data” are so common: the files may be sitting in the archive, but the list that 7-Zip reads first is gone. The difference between the formats matters for recovery. A ZIP repeats each file’s name and size in its local header, so the files can be found again without the central directory. A 7z archive keeps that information only in the metadata block at the end, and most 7z archives are solid, with all files compressed as one stream, so a cut-off 7z is much harder to recover.

Step 1: rule out the things that aren’t damage

  • Split archives. Names like backup.7z.001, backup.zip.001, or backup.z01 mean a multi-part set. Put every part in the same folder and open the first one. A missing middle part gives “Unexpected end of data” or “Can not open”.
  • The wrong password. If 7-Zip asked for a password, or says “Wrong password?”, type it again carefully, watching for keyboard layout and Caps Lock. With encrypted file names, a wrong password can even show up as a Headers Error.
  • It isn’t an archive. Open the file in Notepad and look at the first characters. A ZIP starts with PK, a 7z with 7z followed by odd symbols, a RAR with Rar!. If you see <html>, you downloaded a web page, often a login or error page, and need to download it again.
  • An old 7-Zip. The 7-Zip FAQ notes that 7-Zip 9.20 can’t open RAR5 archives, while current versions can. Update before assuming the archive is broken.

Step 2: test the archive and check the size

Compare the file size with what the website or sender says it should be. A shortfall means the copy is incomplete, and downloading it again is the only way to get the missing part. If the publisher lists a checksum such as SHA-256, compare it too.

Then use 7-Zip’s Test button (or 7z t archive.zip on the command line). Testing decompresses everything without writing files, and the report tells you whether the problem is the structure (the archive won’t open) or particular files (CRC or data errors on some names). That’s the split the 7-Zip FAQ uses when it describes corrupted archives.

Step 3: get out whatever you can

If the archive opens but some files fail, extract anyway. 7-Zip carries on past errors, so the good files land in the folder and the damaged ones are listed at the end. Check the files it flagged before trusting them.

If 7-Zip won’t open the archive at all, try another tool before you give up. The 7-Zip FAQ says that when it can’t open a ZIP, the archive usually has incorrect headers, and that some other programs open such archives because they ignore errors. Windows File Explorer and WinRAR are worth a try. Whatever opens it, copy everything out right away.

Repairing a damaged ZIP with Bytevive

When no tool will open a ZIP, the files can still be found by reading the archive from the front, one local header at a time, instead of relying on the missing central directory (see our interactive ZIP walkthrough for how that catalog works). That’s what Bytevive’s ZIP repair does, in your browser:

  1. Open ZIP Repair and sign in with a free account.
  2. Drop the ZIP on the page. Archives up to 1 GB work, and nothing is uploaded.
  3. Bytevive walks through every file entry, decompresses each one, and checks it against its stored checksum, so you see which files read back perfectly and which are damaged.
  4. It builds a new ZIP containing only the files that passed, which you can download and open with any unzip tool.

It’s honest about the rest. Damaged files are left out rather than handed back broken. Files that are password-protected can’t be checked, and files using compression methods other than the standard Deflate and Store are flagged instead of guessed at. If the archive turns out to be healthy, it says so, which points back to the tool you were using. For more on ZIP damage, see fixing “unexpected end of archive” and Windows’ “compressed folder is invalid” error.

7z and RAR archives

Bytevive doesn’t repair these formats yet; it recognizes them and tells you so. Here’s what does work:

  • RAR: WinRAR’s Repair archive command (Tools → Repair, or Alt+R) writes a new fixed. or rebuilt. copy and leaves the original alone. Its chances are much better if the archive was made with a recovery record. Without one, WinRAR’s documentation says it can only rebuild the structure, files that fail their checksum can’t be recovered, and solid archives often yield only the first file.
  • 7z: First try the newest 7-Zip, including beta versions, as 7-Zip’s recovery guide suggests. The same page walks through a manual hex-editor recovery for archives whose end is missing. It’s technical, and at best it recovers raw data without the original file names.

When it can’t be recovered

  • The data was never written. If a download stopped at 60%, the last 40% isn’t in the file.
  • Solid archives with early damage. When every file shares one compressed stream, damage near the start can make everything after it unreadable.
  • Encrypted archives without the password. No repair tool can or should get around encryption.
  • Files that fail their checksum. A CRC mismatch means that file’s bytes changed. Some file types tolerate it, but there’s no way to restore the original bytes from the archive alone.

How to avoid it next time

  • Check the size, or a published checksum, after big downloads before deleting the source.
  • Run Test on important archives right after you create them.
  • For RAR backups, add a recovery record; WinRAR’s documentation calls 3 to 10% of the archive size a reasonable choice.
  • For important backups, consider non-solid archives, so damage costs you one file instead of everything after it.

The bottom line

“Can not open the file as archive” and “Unexpected end of data” usually mean the end of the file is missing; CRC Failed and Data Error point to specific damaged files. Rule out split parts, passwords, and non-archives, then test and extract what you can. For a ZIP that nothing will open, Bytevive can rebuild it from the intact files, free and without uploading. For RAR use WinRAR’s Repair, and for 7z start with the newest 7-Zip.

Frequently asked questions

What does “Can not open the file as archive” mean in 7-Zip?
7-Zip couldn't find the structure it needs at the start or end of the file. Usually the file was cut off, isn't really the format its name says (an HTML page saved as .zip is common), or it's one part of a split archive opened on its own.
Does “CRC Failed” mean the whole archive is lost?
No. CRC Failed is reported per file. It means that file's extracted data doesn't match the checksum stored when the archive was made, so it's damaged. Other files in the same archive may extract perfectly. In encrypted archives, 7-Zip adds “Wrong password?” because a wrong password produces the same mismatch.
Why does Windows or WinRAR open a ZIP that 7-Zip won't?
The 7-Zip FAQ says that when it can't open a ZIP, the archive usually has incorrect headers, and some other programs open such archives because they ignore errors. Either way, if another tool opens it, copy your files out with that tool.
Can Bytevive repair 7z or RAR archives?
Not yet. Bytevive's archive repair works on ZIP files today, up to 1 GB, and recognizes 7z and RAR files so it can tell you that. For RAR, WinRAR's Repair command is the best option. For 7z, the 7-Zip site documents a manual recovery procedure.
Is my archive uploaded when I use Bytevive?
No. The ZIP is read and rebuilt inside your browser, on your own computer. You need a free account, but the file itself never leaves your device.

Sources

Every claim, error message, price, and limit cited above comes from these pages, checked on November 27, 2026. If one has changed, tell us at support@bytevive.com and we’ll update the article.

  1. 7-Zip FAQ (why some ZIP archives won't open, recovering 7z archives)
  2. 7-Zip: How to recover corrupted 7z archive
  3. PKWARE: ZIP File Format Specification (APPNOTE.TXT)
  4. WinRAR documentation: “Repair archive” command
  5. WinRAR documentation: Command R, repair a damaged archive
  6. WinRAR documentation: Protecting archives from damage (recovery record)
  7. files.wiki: 7Z file extension, common problems and fixes

ZIP won't extract? Rescue what's inside.

Free account, archives up to 1 GB. Every file is checked, and nothing is uploaded.

Repair a ZIP, free

Other free tools: video, PDF, photo, Office, ZIP, and audio repair.