How to Password Protect a Zip File Before Sending It

24 November 2026

Password-protected zip file prepared for secure sending

Windows and Mac can both zip a file in a couple of clicks, but neither can password protect a zip file on its own.
To actually lock the archive, you need a free tool like 7-Zip on Windows or Keka on a Mac, and you have to choose strong AES-256 encryption instead of the weak default most tools reach for.
That covers the file itself. The harder part is sending it. A password only helps if the recipient receives it through a separate channel, and a locked zip still gives you no way to expire the link, confirm who downloaded it, or pull it back once it has gone. This guide covers how to do the zip properly, then how to get it to the other person without undoing the protection.

Can You Password Protect a Zip File Without Extra Software?

No. The built-in compression on both Windows and macOS only packages files, it does not encrypt them. On Windows, the right-click Send to Compressed (zipped) folder option has no password field anywhere in it. On a Mac, Finder's Compress behaves the same way. For a real password, a third-party tool is the only route.

This catches people out, because a zip feels like a sealed container. Left unencrypted, anyone who receives it can open it with a single right-click. The familiarity of the format gives a false sense of security that the format itself does not back up.

How to Password Protect a Zip File on Windows

On Windows, use the free, open-source 7-Zip. Install it, right-click your files, choose Add to archive, set a password, and pick AES-256 as the encryption method. That last setting is the part that makes the password worth having.

  1. Download and install the free, open-source 7-Zip from the official site, then close and reopen File Explorer.
  2. Right-click the file or folder you want to send, then choose 7-Zip followed by Add to archive.
  3. Set the Archive format to zip, or 7z if you want the strongest option and the recipient can open it.
  4. In the Encryption box, type a strong password of at least 12 characters with mixed cases, numbers and symbols.
  5. Change the Encryption method to AES-256. Never leave it on ZipCrypto.
  6. Tick Encrypt file names if the names alone give too much away. This needs the 7z format.
  7. Click OK to build the protected archive.

One thing to remember before you rely on it. There is no reset and no master key, so if you lose the password on an AES-256 archive, the files are gone for good. Store it somewhere you can find later.

How to Password Protect a Zip File on a Mac

On a Mac, the quickest route is Terminal, but it uses weak legacy encryption, so Keka is the better choice for anything sensitive. Finder's Compress has no password option at all, so one of these two does the job.

  1. Terminal (quick, weaker). Open Terminal, then run zip -er protected.zip YourFolder and type the password twice when prompted. This uses the old ZipCrypto standard, which is easy to crack, so keep it for low-stakes files only.
  2. Keka (stronger, AES-256). Install the free Keka app, drag your files into it, choose the format, tick the encryption box and set a password. Keka applies proper AES-256 encryption, which is the level you want for client work or personal data.

Why AES-256 Encryption Beats the Default Zip Password

AES-256 is strong, modern encryption that governments use to protect classified data, while the older ZipCrypto standard built into many zip tools can be broken in minutes with free software. When a tool offers the choice, AES-256 is the only one worth using for anything you would mind a stranger reading.

Factor ZipCrypto (legacy) AES-256
Strength Weak, crackable in minutes Strong, used for classified data
Where it shows up Default in older tools and Mac Terminal 7-Zip, WinRAR and Keka, by choice
File names Left visible inside the archive Can be hidden with the 7z format
Opens on any device Yes, including Windows Explorer Needs a compatible tool installed

The trade-off is compatibility. A ZipCrypto file opens almost anywhere, including straight from Windows Explorer, while an AES-256 archive needs the recipient to have a compatible tool. For sensitive files that gap is worth it. For a quick, low-risk transfer it may not be.

What a Password-Protected Zip File Cannot Protect You From

A password on a zip secures the contents, but it does nothing about how the recipient gets the password, whether you can recall the file later, or who ends up opening it. The protection stops at the file. Everything about the delivery is still down to you.

  • The password has to travel separately, and if it lands in the same email as the zip, the lock is pointless.
  • There is no expiry, so the file sits in an inbox or a downloads folder for as long as the recipient keeps it.
  • You get no download confirmation and no way to revoke access once it has been sent.
  • With ZipCrypto, the file names stay readable even while the contents are locked.

If the files hold personal data, a password on a zip does not cover your wider duties under Irish data protection rules, which apply to how that data is sent, stored and kept secure throughout.

How to Send a Protected Zip File Securely

The cleaner approach is to send through a platform where password protection and link expiry are built into the delivery, so the controls travel with the file rather than sitting in a separate zip step. The recipient downloads from a link without creating an account, and you keep control after it leaves your outbox.

That gives you a few things a zip cannot. Those secure delivery controls live in the send itself, not in a file the recipient can keep forever.

  • The recipient downloads straight from a link, with no account to set up.
  • The link expires on a timer you choose, so nothing lingers after the job is done.
  • You can see when a file was downloaded and cut the link if plans change.
  • Files are held on EU-based infrastructure, which matters when the data is sensitive.

Password protecting a zip is worth doing for files that stay on your own machine. For files you are handing to a client or a colleague, skip the zip-and-password routine and send it as a secure transfer where the protection is part of the delivery and the password never has to travel beside the file.

Frequently Asked Questions

Can I password protect a zip file without installing anything?

Is a password-protected zip file actually secure?

How do I password protect a zip file on a Mac?

Can I recover a zip password if I forget it?

Should I email the password together with the zip file?

What is the safest way to send a password-protected file?