Document Key
Windows 10 & 11 Buy license · $29.95
How-to

How to Password Protect a ZIP File in Windows 10 and 11

Learn how to password protect a ZIP file in Windows. File Explorer cannot add a password, so here is how to make an AES-256 ZIP and avoid weak encryption.

Updated 5 minute read The Document Key team

Windows can create ZIP files, but File Explorer has no option to add a password. To password protect a ZIP file in Windows 10 or 11, you need a tool that creates encrypted archives: select your files, choose ZIP as the format, pick AES-256 as the encryption method, and enter a strong password. Avoid the older "ZipCrypto" setting, which is still offered for compatibility but can be cracked.

Here is how the process works, which settings matter, and how to make sure the person you send it to can actually open it.

Why File Explorer cannot do it

File Explorer's built-in ZIP support has always been about compression, not security. On Windows 10 you right-click and choose Send to → Compressed (zipped) folder. On recent versions of Windows 11 you right-click and choose Compress to, which offers ZIP, 7z and TAR. None of these routes has a password field.

File Explorer can open some password-protected ZIP files, but its built-in extractor has historically supported only the old ZipCrypto method. AES-encrypted ZIPs often fail in File Explorer with error 0x80004005 and need an archive tool that supports AES. If someone sent you one that will not open, see fixes for password-protected ZIPs that will not open in Windows 11.

ZipCrypto vs AES-256: choose AES

When you add a password to a ZIP, the archive tool usually asks which encryption method to use:

  • ZipCrypto (also called legacy, standard or ZIP 2.0 encryption) dates from the early 1990s. It opens almost everywhere, but it has a known weakness: if an attacker knows a small part of the contents of one file, they can often recover the whole archive without the password.
  • AES-256 is the modern option. With a strong password there is no practical way to break it. Most current archive tools on Windows and macOS can open it.

Unless you know the recipient can only use a very old tool, always pick AES-256. Our guide on whether ZIP password protection is secure goes into the details.

How to create a password-protected ZIP

The exact menus differ between archive programs, but the steps are the same:

  1. Select the files or folder in File Explorer.
  2. Right-click and choose your archive tool's Add to archive or Create encrypted archive option. On Windows 11 the tool may be under Show more options.
  3. Set the archive format to ZIP.
  4. Set the encryption method to AES-256.
  5. Type the password twice. Use at least 15 characters, or a passphrase of several random words.
  6. Create the archive, then test it by opening it and entering the password.
  7. Delete the original unencrypted files if the ZIP is now the copy you are keeping.

Document Key includes this as its encrypted archives feature. It compresses and encrypts in one step, producing a standard AES-256 encrypted ZIP that opens in most archive tools, and the password strength meter helps you avoid a weak password. If you also want the originals gone, its secure delete option overwrites the unencrypted files so they cannot be recovered.

What a ZIP password does not protect

An encrypted ZIP protects the contents of each file. It does not hide everything:

  • File names are visible. Anyone can list the names, sizes and dates of the files inside without the password. If the names themselves are sensitive, such as "Smith divorce settlement.pdf", rename the files before zipping or use a format that hides the file list.
  • Extracted copies are not protected. Once you or the recipient extract the files, they are ordinary unencrypted files on the disk.
  • A weak password undoes AES. Password-guessing tools can test enormous numbers of short passwords. The encryption is only as strong as the password.

Sending a password-protected ZIP

Encrypted ZIPs are a common way to email documents, but a few things trip people up:

Send the password separately

Never put the password in the same email as the ZIP. Send it by text message, a phone call or a different messaging app. Our guide to sending a password securely covers the options.

Some email systems block encrypted ZIPs

Mail scanners cannot look inside an encrypted archive to check for malware, so some company mail filters reject or quarantine them. If your ZIP bounces, upload it to cloud storage and send a share link instead. The file stays encrypted on the cloud service.

Tell the recipient what they need

If the recipient uses File Explorer to open the ZIP and it fails, they may need an archive tool that supports AES. A short line in your email avoids confusion: "This is an AES-256 encrypted ZIP. If File Explorer cannot open it, use an archive program that supports AES encryption."

An alternative is a secure sharing package. Document Key can bundle files into one encrypted package, optionally self-opening so the recipient does not need Document Key installed, with an optional expiry date.

ZIP passwords for your own storage

An AES-256 ZIP is a reasonable way to archive files you rarely open, such as old tax years or finished client projects. For files you edit regularly it gets awkward, because every edit means extracting, working on an unencrypted copy, and zipping again. For working files, encrypting the files directly or keeping them in an encrypted vault drive is more practical.

Opening a password-protected ZIP you received

If someone sends you an encrypted ZIP, double-click it in File Explorer first. If it uses ZipCrypto, Windows asks for the password when you open or extract a file. If it uses AES, File Explorer may show an error instead, and you need an archive tool that supports AES encryption.

  1. Save the ZIP to a folder you control, not straight into a cloud-synced folder.
  2. Open it with your archive tool and enter the password exactly as given. Passwords are case sensitive.
  3. Extract only what you need, and delete the extracted copies when you are finished if they are sensitive.

If you are told the password is wrong and you are sure it is right, retype it rather than pasting it, because copied passwords often pick up a hidden space at the end.

Quick settings checklist

SettingRecommendedWhy
FormatZIPOpens in the widest range of tools
Encryption methodAES-256ZipCrypto has known weaknesses
Password length15+ characters or 5+ random wordsDefeats password-guessing tools
Sensitive file namesRename before zippingZIP file lists are readable without the password
OriginalsSecurely delete if no longer neededOrdinary deletion leaves recoverable data
Password deliveryDifferent channel from the fileOne intercepted email should not reveal both

Frequently asked questions

Can File Explorer create a password-protected ZIP?

No. The Send to Compressed folder and Compress to options in File Explorer make ordinary ZIP files with no password option. You need an archive or encryption tool.

Which ZIP encryption should I choose?

Choose AES-256. The older ZipCrypto method, sometimes called legacy or ZIP 2.0 encryption, has known weaknesses and can often be cracked.

Are file names hidden in a password-protected ZIP?

Usually not. Standard ZIP encryption protects the contents of each file, but the file names inside the archive can still be listed without the password.

Get three guides like this every month, plus software update notices.Subscribe →