How to password protect a PDF

Sending a bank statement, a payslip or a signed contract? A password stops anyone who gets the file by mistake from opening it. Here is how to lock a PDF for free on any device, and how to share the password safely.

To password protect a PDF for free, open Protect PDF, drop in the file, type a password twice, and press Protect PDF. The copy you download asks for that password before it opens, and it is encrypted with AES-256, the strongest standard PDF encryption. It works on Windows, Mac, iPhone and Android, and the file is locked inside your browser, so it is never uploaded. On a Mac you can also use Preview, and on Windows you can lock a PDF straight from Word; both are explained below.

Password protect a PDF in your browser (any device)

  1. Open Protect PDF.
  2. Drop in the PDF, or tap to choose it.
  3. Type a password of at least 6 characters, then type it again.
  4. Optional: tick Also block printing, copying and editing if the person who opens it should only read it.
  5. Press Protect PDF and download the locked copy. Your original file is not changed.

Open the downloaded copy once to check: your PDF reader should ask for the password.

Password protect a PDF on a Mac with Preview

Preview, the PDF app that comes with every Mac, can add a password. Apple's Preview guide gives these steps:

  1. Open the PDF in Preview.
  2. Choose File, Export. Give the copy a new name if you want to keep an unlocked original.
  3. Click Permissions, select Require Password To Open Document, and type the password twice.
  4. Untick any actions (such as printing) that should need the owner password, and set an owner password.
  5. Click Apply, then Save.

Save a Word document as a password-protected PDF (Windows)

If the document starts in Word on Windows, you can lock it as you make the PDF:

  1. In Word, choose File, Export, Create PDF/XPS Document, then Create PDF/XPS.
  2. Click Options and tick Encrypt the document with a password.
  3. Click OK, type the password twice, click OK, then Publish.

Excel and PowerPoint on Windows have the same option. For a PDF you already have, use Protect PDF instead.

Which method should you use?

MethodWorks onGood to know
ToolPeasy Protect PDFAny device with a browserAES-256; nothing uploaded; can also block printing and copying
PreviewMacBuilt in; set open and owner passwords separately
Word, Excel, PowerPoint exportWindowsOnly for documents you are turning into a PDF

How to choose a password, and send it safely

  • Make it long. Three or four random words (for example river-tulip-cable-91) are stronger and easier to type than a short jumble. Avoid names, birthdays and phone numbers.
  • Never send the password in the same email as the PDF. If the email goes to the wrong person, both arrive together. Send the password by text message, WhatsApp or a phone call instead.
  • Keep a note of it. A strong PDF password can't be recovered or reset. If you forget it, the file stays locked, even for you.
  • Banks and employers often use a pattern, such as date of birth plus part of an ID number. That is fine for a statement they send you, but for your own files choose something nobody could guess from your details.

Open and print restrictions: what they do and don't do

A PDF can have two kinds of protection. An open password encrypts the file, so nobody can read it without the password. Permissions (no printing, no copying) only ask PDF readers to switch those buttons off; once someone can open the file, they can still take screenshots or photograph the screen. Use permissions to prevent accidents, and the open password to keep a file private.

If what you need to hide is a few lines rather than the whole file, an account number or a name, Redact PDF removes that text for good, so you can share the rest without any password.

Removing the password later

If you get tired of typing a password on your own file, Unlock PDF saves a copy without it. You need to know the password: it does not crack locked files. To make a protected file smaller first, unlock it, compress it, then protect it again.

Frequently asked questions

Is it free to password protect a PDF?

Yes. Protect PDF is free, with no sign-up and no watermark; free uses are shared across all ToolPeasy tools. Preview on a Mac and Word on Windows are free if you already have them.

Is AES-256 safe?

Yes. AES-256 is the strongest encryption in the PDF standard. In practice your password is the weak point: a long, random one keeps the file safe; a short or guessable one does not.

Can I password protect a PDF on my iPhone or Android phone?

Yes. Open Protect PDF in your phone's browser, choose the PDF from Files or Downloads, type the password and download the locked copy. Nothing is uploaded.

Why can someone still open my PDF without a password?

You probably set only permissions (no printing or copying), not an open password. Make a new copy with an open password; with Protect PDF, the password you type is always the one needed to open the file.