How to make a password-protected ZIP on Windows without installing anything
Windows 11 File Explorer has no option to put a password on a ZIP. Using a password-protected ZIP tool that runs in the browser, I encrypted a CSV and a PDF, then inspected the resulting archives to check the difference between ZipCrypto (opens with built-in Windows tools) and the stronger AES-256, a real case where an AES ZIP would not open in an older extractor, and the fact that neither method encrypts file names. What to do when the recipient can't open the file is shown with the English UI.
Contents
You need to send a quote to a client, hand a customer list to a contractor, or submit a bundle of school paperwork, and you’re told to “send it as a password-protected ZIP.” You right-click the files in Windows File Explorer and find an option to compress them to a ZIP, but nothing that sets a password.
You haven’t overlooked anything: current versions of Windows simply don’t have that feature. The compressed folders in Windows XP could set a password, but the option was removed from Vista onward and has not come back in Windows 11. Since 2024, Windows 11 File Explorer can also compress to 7z and TAR, but none of those formats offers a password either. The Mac is no different: Finder’s “Compress” has no password setting.
Even on a company PC where installing software isn’t allowed, you can make one with the password-protected ZIP tool as long as you have a browser. Right after the password, the tool asks you to choose between ZipCrypto and AES-256 encryption. That choice decides whether the recipient can open the file with Windows’ built-in features, and how well the contents are actually protected.
Creating a password-protected ZIP in the browser
The tool builds and encrypts the ZIP inside the browser and sends neither the files nor the password to any server. Here I’ll combine a customer list, client-list.csv, and a quote, quote-ABC-Trading.pdf, into a single ZIP. All screenshots were taken with the English UI, and the names and company in the samples are fictitious.
1. Decide on a password and choose the encryption method
Type a password in the first section, “Password settings”. Rather than inventing one yourself, it’s safer to open “Generate a password” and click “Generate”. The tool leaves out easily confused characters such as 0 and O, 1 and l, and makes a 20-character password by default. This time I used the 16-character Kp7wR2mXq9TzLb4N.
Next, under “Encryption method”, pick either “Compatibility first (ZipCrypto)” or “Strength first (AES-256)”. The default is AES-256; the two are compared in detail in a later section.
The password can’t be recovered from the finished ZIP, so if you forget it, the contents can’t be opened. Copy it with “Copy” and decide how you’ll pass it to the recipient before moving on.
2. Choose the files and click “Create ZIP”
Select the two files with “Choose files”, and the number of files, total size and a list of names appear below. To pack a whole folder, use “Choose folder (single)”, which keeps the folder structure inside the ZIP. You can also drag and drop files.
If “ZIP filename” is left empty, the name is taken from the first file. Here I entered quote-aes256.zip. Click “Create ZIP”, and “Completed: quote-aes256.zip (1.5 KiB)” appears below; “Download” saves it.
“Part size” is for carrying large files on a FAT32 USB stick or fitting under an email attachment limit. Handling split ZIPs is covered in detail in the article on moving videos over 4 GB with a FAT32 USB stick.
How ZipCrypto and AES-256 differ
The tool makes you choose because “opens on any PC” and “reliably protects the contents” can’t both be had at once. Here is the difference in a table.
| ZipCrypto (compatibility first) | AES-256 (strength first) | |
|---|---|---|
| Origin | The traditional method, used since PKZIP in the early 1990s | Added by WinZip in the 2000s |
| Built-in Windows extraction | Opens after entering the password | May fail to open |
| 7-Zip, WinRAR and others | Opens | Opens (except old versions) |
| Strength | Broken by a known-plaintext attack | No practical attack currently known |
| File names and sizes | Not encrypted | Not encrypted |
ZipCrypto falls once part of the contents is known
ZipCrypto’s weakness has nothing to do with brute-forcing the password. In the known-plaintext attack published by Eli Biham and Paul Kocher in 1994 (the paper “A Known Plaintext Attack on the PKZIP Stream Cipher”), knowing about 12 bytes of the encrypted contents is enough to recover the cipher’s internal state without the password, and from there extract the other files in the same ZIP. Tools implementing this attack are public and run on an ordinary PC.
Knowing part of the contents is not an unusual condition. Files such as PNG, PDF and Excel (.xlsx) start with bytes that are fixed for each format. Compression changes those leading bytes, but if the attacker has the template the file was made from (a company’s quote template, say), they can compress it the same way and guess. PKWARE, which maintains the ZIP specification (APPNOTE), itself acknowledges in the specification that the traditional encryption is weak by today’s standards.
A long password does almost nothing against this attack on ZipCrypto. If you need to protect information that must not leak, AES-256 is the default choice.
AES-256 may not open, depending on the recipient
AES-256, on the other hand, was bolted on later and wasn’t part of the original ZIP specification, so some extractors don’t support it. I tried opening the two ZIPs with Linux’s standard unzip (Info-ZIP 6.0) and with Python’s standard library zipfile.
$ unzip -P Kp7wR2mXq9TzLb4N quote-aes256.zip
skipping: client-list.csv need PK compat. v5.1 (can do v4.6)
skipping: quote-ABC-Trading.pdf need PK compat. v5.1 (can do v4.6)
$ unzip -P Kp7wR2mXq9TzLb4N quote-zipcrypto.zip
inflating: client-list.csv
inflating: quote-ABC-Trading.pdf
The ZipCrypto ZIP extracted with the same password, but the AES-256 ZIP was skipped as an “unsupported format”. Python’s zipfile also refused the AES-256 ZIP with “That compression method is not supported”. Windows File Explorer’s extraction feature is reliable only with ZipCrypto; AES-256 ZIPs can produce an error. If the recipient is on a work PC where they can’t freely install an extractor, asking “can you open AES-256 ZIPs?” before you send saves a round trip.
Select the ZIP and enter the password, and the files inside are listed; click “Save” to extract the ones you want. As long as they have a browser, the recipient doesn’t need to install anything either.
Even with a password, anyone can see the file names
A little-known fact about password-protected ZIPs is that only the file contents are encrypted. Let’s list the ZIP we made without entering the password.
$ unzip -l quote-aes256.zip
Length Date Time Name
--------- ---------- ----- ----
121 2026-11-30 10:58 client-list.csv
1629 2026-11-30 10:58 quote-ABC-Trading.pdf
With both AES-256 and ZipCrypto, the file names, original sizes and modification dates were readable as-is. In the “Open a split ZIP” screenshot in the previous section, too, the names and sizes are listed before the password has been checked. If you’re sending a file whose name alone gives away the contents, such as layoff-candidates.xlsx or CompanyX_acquisition-terms.pdf, rename it to something like document1.xlsx before compressing. If you must keep the original name, put the ZIP inside another password-protected ZIP; from the outside, the inner names are then hidden.
Sending the password by the same email makes it almost pointless
In Japan, attaching a password-protected ZIP to an email and then sending the password in a second email was long standard business practice. Known as “PPAP” (a Japanese play on the steps: send the Password-protected ZIP, send the Password, Angō-ka meaning encryption, Protocol), the method was abolished by Japan’s Cabinet Office and Cabinet Secretariat in November 2020, and private companies have since been reconsidering it too.
The problem is that the ZIP and the password travel by the same route. If someone can read your email, they can read the second message just as easily, and if you mistype the address, both messages go to the same wrong person. On top of that, an encrypted ZIP can’t be scanned by mail-server antivirus, so the format has been used to deliver malware. For this reason, some organizations delete encrypted ZIP attachments on arrival or refuse to accept them.
A password-protected ZIP is meaningful only when combined with a separate channel, for example:
- Send the ZIP by email or file sharing, and give the password by phone, SMS, chat or another separate route
- Agree on a password in advance and don’t send it each time
- Encrypt files kept on a USB stick or in the cloud, in case of loss or a sharing misconfiguration
If the other organization can’t accept encrypted ZIPs, it’s quicker to agree on sharing through a cloud storage link with an expiry date and a restricted list of people who can open it.
What to decide before you create the ZIP
Putting together what we’ve checked, here is what to decide before sending.
- Choose AES-256 if the contents need protecting; choose ZipCrypto only when you know the recipient can open files with nothing but the built-in Windows feature
- Generate the password with the tool and pass it on through a different route from the ZIP
- Check that the file names don’t give away the contents, and rename them if necessary
- In case the recipient can’t open it, let them know it can be opened with 7-Zip or the “Open a split ZIP” section
How long a password should be is worked out in the article comparing the strength of random passwords in bits. For an AES-256 ZIP, the 20-character password the tool generates by default is far beyond the reach of brute force.