Skip to content
DocumentTaskLab

PDF tasks

Add a password to a ZIP of documents before emailing them

Written November 25, 2026

A folder of documents — tax slips, a signed form, copies of ID — should not cross the internet as a naked email attachment. Putting them in a ZIP with a password means anyone who intercepts the email, or receives it by mistake, gets a locked file instead of readable papers. This guide makes that locked ZIP with the tools already on a Mac, explains honestly what Windows can and cannot do built in, covers the stronger Windows route, and finishes with the step people forget: sending the password separately.

First, an honest limit: a plain ZIP has no password

The ZIP you make with a right-click is not protected, on either system. On a Mac, Finder's Compress command makes a plain archive — Apple's guide to how to zip and unzip files and folders on Mac describes Compress and double-click-to-open, with no password step anywhere in it. Windows File Explorer's Compress to ZIP file and Send to > Compressed (zipped) folder are the same: convenient, and completely open to anyone who gets the file.

So a password has to come from a different tool than the right-click menu. The good news is that both systems have a workable route without buying anything: a command already built into macOS, and a long-standing free archiver on Windows. One caution applies to both: the strength of the protection depends on the encryption the tool uses and on the password itself, so read the notes on each route before sending anything truly sensitive.

A password is not a filing system

An encrypted ZIP protects the documents in transit and at rest in someone's inbox. It does not prove who sent it, it does not stop the recipient forwarding the opened documents, and if the password is lost the archive is effectively lost too — there is no recovery route. Keep your own unencrypted copies in their normal place; the ZIP is a shipping container, not your archive.

On a Mac: use the built-in Terminal command

  1. Gather the documents into one folder. Put copies of everything you are sending into a single folder with a plain name, and check the folder's contents once — what is in the folder is what the recipient gets.
  2. Open Terminal. Find it in Applications > Utilities > Terminal.
  3. Move to the folder's location. Type cd followed by a space, then drag the folder that contains your new folder (for example, the Desktop) into the Terminal window and press Return. Dragging avoids typing a long path by hand.
  4. Run the encrypting zip command. Type zip -er Documents.zip Documents — replacing both names with your folder's name — and press Return. The -e option tells zip to encrypt; -r includes the folder and everything inside it.
  5. Type the password twice. Terminal prompts for a password and then asks you to verify it. Nothing appears on screen as you type; that is normal. Choose a password of several words that you have not used elsewhere.
  6. Know this route's limit. The encryption offered by this built-in command is the older ZIP password scheme, which is widely regarded as weak against a determined attacker with time. It is a reasonable lock against casual access and misdirected email. For documents whose exposure would be serious, use the stronger route in the Windows section — the same free tool approach applies — or send the files through a service your organization approves for sensitive documents instead of email at all.

On Windows: the free 7-Zip route with stronger encryption

Because File Explorer offers no password option, Windows users need an archiver. 7-Zip is free, long-established, and — the important part — can encrypt with AES-256, a much stronger scheme than the older ZIP password. Download it only from its official site, 7-zip.org, and skip any lookalike download page an ad points you to.

  1. Gather the documents into one folder, exactly as in the Mac route, and check its contents.
  2. Right-click the folder and open the 7-Zip menu. Choose Add to archive. On Windows 11 the 7-Zip items may sit behind Show more options on the right-click menu.
  3. Set the archive format. For a recipient who will open the file with ordinary tools, choose zip as the format. The 7z format also works and is 7-Zip's own, but a recipient without 7-Zip may not be able to open it.
  4. Enter the password in the Encryption section. Type it in both password boxes, and set the encryption method to AES-256 where that choice is offered.
  5. Consider encrypting file names too. With the 7z format, 7-Zip offers an option to encrypt file names, so even the list of documents inside is hidden until the password is entered. With the zip format, file names inside the archive generally remain visible even though the contents are locked — one more reason not to name a file something revealing.
  6. Create the archive and keep the original folder. The encrypted file appears beside the folder. Your originals stay untouched; the archive is a copy.

Test the archive before you send it

  1. Open the archive as the recipient will. On a Mac, double-click the ZIP; on Windows, open it with File Explorer or 7-Zip. With the zip format the file names inside may list without a password, but opening or extracting a document should ask for it.
  2. Type the password and extract one document. Open that document and confirm it is readable and complete. A corrupt archive discovered by the recipient costs a day; discovered by you it costs a minute.
  3. Try a wrong password once. It should be refused. If the archive opens with no prompt at all, you sent yourself the plain version — rebuild it and check which file you are attaching.
  4. Check the size. Email services commonly limit attachment sizes, often around 20 to 25 MB, though the exact limit varies by provider. If the archive is too large, split the documents into two archives or use a file-sharing route instead of forcing it through email.

Send the file and the password by different routes

  1. Attach the encrypted ZIP to the email, and say in the email that a password is coming separately. Do not put the password in the same email, in the subject line, or in a second email in the same thread — anyone who gets the mailbox gets both.
  2. Send the password by a different channel. A phone call, a text message, or a messaging app the recipient already uses — any route that does not live in the same inbox as the file. Tell the recipient what the password unlocks, so a bare password in a text message makes sense when it arrives.
  3. Confirm receipt and a successful open. Ask the recipient to confirm they could open the archive before you delete anything or assume the job is done.
  4. Warn the recipient about re-forwarding. If they forward the documents on, the protection only travels if they re-encrypt; the opened documents by themselves are ordinary files again.

End state

When it goes wrong

Related document tasks

  • Add a cover sheet note and header to a PDF before sending

    A cover sheet tells the reader what they are looking at before they reach page two — who it is for, what it contains, and what to do with it — and a short header line keeps every later page identified if the file gets printed and separated.

  • Add a password and expiry to a shared Google Drive link

    Add a password and an expiry note to a shared Google Drive link — honestly: Drive links have no password setting, so restrict the link to named people, add an expiration date where your account offers it, or share a password-protected file instead.

  • Add a clickable email link and subject line in Word

    Add a clickable email link in Word with a ready-made subject line: select the link text, use Insert Hyperlink's E-mail Address form, fill in the address and subject, and test the link before the document goes out.

  • Add a QR code or barcode image into a Word document

    Add a QR code or barcode into a Word document: generate the code as an image and insert it, use a Word add-in, or use Word's built-in barcode field where it fits — then size it and test-scan the printed result.

Sources