ZIP password protection is only as secure as the encryption method and password behind it. A ZIP made with the old ZipCrypto method (often labeled "legacy" or "ZIP 2.0") is not secure: it has a well-documented weakness that lets attackers recover the files without the password in many real situations. A ZIP made with AES-256 and a long, unique password is secure for the contents of the files. Even then, a ZIP password leaves the file names, sizes and dates visible, and it protects nothing once the files are extracted.
Here is what that means in practice, how to tell which kind of ZIP you have, and when an encrypted ZIP is the right tool.
Two very different kinds of ZIP password
The ZIP format has two main ways of encrypting files, and most people never notice which one their tool used.
ZipCrypto (traditional ZIP encryption)
ZipCrypto was designed in the early 1990s. Its big advantage is compatibility: almost every archive tool can open it, including File Explorer in Windows. Its big problem is that cryptographers published a practical attack on it in 1994, and tools that automate that attack are freely available today.
The attack is a "known-plaintext" attack. If an attacker knows a small piece of the original contents of any one file in the archive, about a dozen bytes, they can often work out the internal keys and decrypt every file encrypted with the same password, without ever learning the password. That sounds like a high bar, but it is not: many file types start with predictable headers, and Office documents, PDFs and images all have well-known structures. Even without that attack, ZipCrypto is fast to test, so password-guessing tools can try enormous numbers of candidates.
AES encryption
The AES extension to ZIP encrypts each file with AES using a 128, 192 or 256-bit key derived from your password. There is no known shortcut attack against AES itself. The only realistic attack is guessing the password, so a long, unique password makes an AES-256 ZIP very strong.
One detail worth knowing: the ZIP AES standard uses a relatively light key-stretching step when turning your password into a key, compared with newer designs. That makes each guess cheaper for an attacker, so password length matters even more than usual. Aim for at least 15 characters or a passphrase of five or more random words.
ZipCrypto vs AES-256 at a glance
| ZipCrypto | AES-256 | |
|---|---|---|
| Age | Early 1990s | 2000s |
| Known shortcut attacks | Yes, known-plaintext attack | None known |
| Opens in File Explorer | Yes | Often not; needs an AES-capable tool |
| Opens in modern archive tools | Yes | Yes |
| Hides file names | No | No |
| Safe for sensitive files | No | Yes, with a strong password |
What a ZIP password does not protect
Even with AES-256, a password-protected ZIP has limits you should know about.
File names and details are visible
The ZIP format keeps a list of contents, called the central directory, that is not encrypted. Anyone can open the archive and see every file name, folder name, size and modification date without the password. A file called "2025 tax return - J Smith.pdf" tells a lot by itself. If the names are sensitive, rename the files before zipping, or use a format that can encrypt the file list as well.
Extracted files are ordinary files
As soon as you or the recipient extract a file, the copy on disk is unencrypted. It might sit in Downloads, sync to cloud storage or be picked up by backup software. The ZIP protects the file in transit and at rest inside the archive, not after.
The password usually travels badly
Encrypted ZIPs are often emailed with the password in the same message, or in a second email moments later. Anyone who gets into that mailbox gets both. Send the password by text or phone instead.
Some systems block encrypted ZIPs
Because malware is often delivered in password-protected archives, some email filters reject or quarantine them. That is a delivery problem rather than a security weakness, but it affects whether the ZIP is the right tool for sending.
How to tell which encryption a ZIP uses
Most archive tools show the encryption method when you open the archive or view its properties, often in a column called "Method" or "Encryption", where you will see "ZipCrypto" or "AES-256". A rough clue: if File Explorer can open the encrypted file after you enter the password, it is very likely ZipCrypto. If File Explorer shows an error such as 0x80004005 but an archive tool opens it, it is probably AES. Our guide to fixing password-protected ZIPs that will not open covers that error.
When an encrypted ZIP is a good choice
- Sending a set of files to someone on any operating system, when you control the password delivery.
- Archiving files you rarely open, such as last year's records.
- Moving files on a USB stick that might be lost.
And when it is not:
- Files you edit every day, because you keep creating unencrypted extracted copies.
- Files whose names are sensitive, unless you rename them first.
- Sending to organizations with strict mail filters, where a cloud link to an encrypted file works better.
Making a secure ZIP
- Use a tool that offers AES-256, and select it explicitly. Some tools still default to ZipCrypto for compatibility.
- Use a long password that you have not used anywhere else.
- Rename sensitive file names before adding them.
- Test the archive by opening it with the password.
- Delete the unencrypted originals if the ZIP is now your only copy, ideally with secure delete.
Step-by-step instructions are in our guide to password protecting a ZIP file in Windows. Document Key creates AES-256 encrypted ZIPs in one step, with a password strength meter and generator, so you never end up with ZipCrypto by accident. For sending, Document Key's secure sharing packages are an alternative to ZIPs, with an optional self-opening mode and expiry date.
Old ZIP files you already have
If you have older password-protected ZIPs holding sensitive information, check which method they use. Any that use ZipCrypto should be treated as weakly protected. Extract them on your own PC, recreate them with AES-256 and a new password, then securely delete the old archives and the extracted copies.
AES-256 is only the lock. The password is the key. Our guide to creating a strong password for encryption shows how to choose one that holds up against guessing tools.
Frequently asked questions
What is ZipCrypto?
ZipCrypto is the original ZIP password scheme from the early 1990s. It is widely supported but has a known weakness that lets attackers recover files when they know part of the contents.
Is an AES-256 ZIP file secure?
The encryption is strong. The practical risk is a short or guessable password, so use a long password and send it separately from the file.
Can someone see what is inside a password-protected ZIP?
Often they can see the file names, sizes and dates, because standard ZIP encryption does not hide the archive's list of contents.
