You cannot password protect a ZIP file with File Explorer alone. Windows 10 and Windows 11 can create ZIP files, but neither has a password option. To add one, use an archive program that supports AES-256 encryption: select your files, choose ZIP as the format, set AES-256 as the encryption method, type a strong password and create the archive. Anyone who opens it will then need that password to extract the files.
This guide walks through the steps, explains why AES-256 matters more than the password box itself, and covers how to share the password safely.
Why Windows cannot do it by itself
File Explorer's built-in zip feature, Compress to → ZIP File on Windows 11 or Send to → Compressed (zipped) folder on Windows 10, creates plain, unencrypted ZIP files. Windows 11 version 24H2 added a Compress to → Additional options wizard with 7Z and TAR formats and compression settings, but it still has no password field.
Windows can open some password-protected ZIPs, namely those using the old ZipCrypto method, but it cannot create any. For encryption you need a separate archive program.
ZipCrypto vs AES-256: the part that actually protects you
There are two kinds of ZIP encryption, and they are not equally safe:
| ZipCrypto (legacy) | AES-256 | |
|---|---|---|
| Strength | Weak, with known attacks | Strong, widely trusted standard |
| Opens in File Explorer | Yes, with a password prompt | Generally no, needs an archive program |
| Good for confidential files | No | Yes |
ZipCrypto is mainly useful when the only goal is to stop casual opening and the recipient has nothing but File Explorer. For anything private, such as contracts, payroll, ID documents or medical records, use AES-256. The catch is that your recipient will need an archive program that supports AES-encrypted ZIPs, which most current ones do.
How to password protect a ZIP file with AES-256
Here is the process in Universal Zip, which encrypts ZIP and 7Z archives with AES-256:
- In File Explorer, select the files or folders you want to protect.
- Right-click the selection and choose Add to archive.
- Set the format to ZIP.
- Choose a compression level. Normal is fine for most jobs.
- Turn on encryption, select AES-256 and type your password twice.
- Optionally split the archive into parts if it is too large to send in one piece.
- Click to create the archive, then test it by opening it and entering the password before you send it.
The original, unencrypted files stay where they were. If the goal is to keep them private on your own PC, delete the originals once you have tested the archive, and empty the Recycle Bin.
Encryption protects file contents, but a ZIP always shows its list of file names. If the names themselves are sensitive, use 7Z instead, which can hide file names until the password is entered.
ZIP or 7Z for a protected archive?
Both formats support AES-256 in Universal Zip. The difference is in what is visible and who can open it:
- ZIP: widest compatibility. Most archive programs on Windows, macOS and Linux can open an AES-encrypted ZIP with the password. File names remain visible.
- 7Z: usually smaller files, and the option to encrypt file names so nobody can even see what is inside. The recipient needs a program that opens 7Z.
For sending to clients or colleagues you do not know well, ZIP is the practical default. For your own backups or sensitive transfers to people who you know have an archive tool, 7Z with hidden names is the stronger choice. Our guide to encrypting file names in a 7Z archive shows how.
Choosing a password that holds up
AES-256 is only as strong as the password you give it. Someone who gets hold of the file can try passwords as fast as their hardware allows, so short or guessable passwords fall quickly.
- Use length. A passphrase of four or more random words, or at least 12 mixed characters, is a sensible minimum.
- Avoid the obvious. No company names, client names, dates or "Password123".
- Use a different password per archive when you send to different people, so one leak does not open everything.
- Store it safely. There is no recovery for a forgotten AES-256 password. Keep it in a password manager. Universal Zip also has a built-in password manager that remembers the archive passwords you use most.
How to send the password
The most common mistake is putting the password in the same email as the attachment. If that email is forwarded, misdirected or read by someone else, the encryption achieved nothing.
- Email the encrypted ZIP.
- Send the password through a different channel: a text message, a phone call or a messaging app.
- Agree a password in advance with people you send files to regularly, then change it periodically.
Our guide on sending confidential files by email covers this in more depth, including what to do when files are too large to attach.
What the recipient needs to do
Tell the person receiving the file what to expect, because an AES-encrypted ZIP may produce a confusing error if they try to open it with File Explorer alone. A short note like this helps:
"The attached ZIP is encrypted with AES-256. Open it with an archive program that supports AES-encrypted ZIP files, not File Explorer, and enter the password I'm texting you."
If they report that the password does not work, the cause is usually that they are using File Explorer or a very old tool, or that a space was copied with the password. Our zip password not working guide has the full list of fixes you can send them.
Adding a password to an existing ZIP
If you already have an unencrypted ZIP, the cleanest approach is to create a new encrypted archive from the original files. If you only have the ZIP, extract it to a folder, then create a new AES-256 ZIP or 7Z from that folder, test it, and delete the unencrypted copies. Alternatively, archive programs that convert between formats can re-pack the files in one step and let you set a password on the new archive.
Frequently asked questions
Can Windows password protect a zip file by itself?
No. File Explorer in Windows 10 and 11 can create ZIP files but has no option to add a password. You need an archive program that supports encryption.
Will the person I send it to be able to open it?
They will need the password and an archive program that supports AES-encrypted ZIP files. File Explorer on its own generally cannot open AES-encrypted ZIPs.
What is a good password for a zip file?
Use a long passphrase of four or more random words, or at least 12 mixed characters. Send it through a different channel from the file, such as a text message.
