1. Home
  2. Blog
  3. Security

How to password protect a PDF: lock it with AES-256 for free

SEditorial team·Updated: ·4 min read
Quick answer

To password protect a PDF, open the Protect PDF tool, select the file, type the password twice, choose whether to allow printing and copying, then press Protect PDF. The file is encrypted with AES-256 and only opens with the password, so pick a long one and send it through a different channel than the file.

You need to email a salary certificate, a passport copy or a tenancy contract to an agent or HR, and you do not want it readable by whoever it gets forwarded to next. Locking the PDF with a password fixes that in about a minute. How well it protects you depends on the password you choose and how you share it.

How to password protect a PDF

Open the tool, enter a password twice and download the protected copy.

  1. Open Protect PDF and press Select PDF file.
  2. Type your password, then type it again to confirm.
  3. Choose permissions: Allow printing and Allow copying. Untick anything you do not want to allow.
  4. Press Protect PDF.
  5. Download the protected file and open it once to test before sending.
Protect PDFFree, no sign-up, and the file never leaves your device.
Use the tool

The encryption runs inside your browser on your phone or computer, so neither the file nor the password is uploaded. That matters, because the files people lock tend to be the sensitive ones. For a wider look at how online tools handle files, see are online PDF tools safe.

Open password vs permissions

The open password is the real protection; print and copy restrictions are an extra layer you should not rely on alone.

  • Open password: encrypts the whole file. No app can read it without the password.
  • Permissions: ask the reader app to block printing or copying text. Mainstream apps follow them, some tools ignore them, and none of them stop screenshots.
Protection What it stops Strength Good for
Open password Reading the file at all Strong, if the password is strong IDs, statements, contracts
No printing Print command in compliant apps Limited View-only documents
No copying Selecting and copying text Limited Discouraging quick copy-paste
Watermark Nothing, but shows the source Deterrent Drafts, proposals

If you want a leaked copy to show where it came from, add a watermark with your name or the recipient's, as shown in adding a watermark to a PDF, then protect it.

What AES-256 means for you

AES-256 is the strongest encryption in the current PDF standard: the content is scrambled and only the right key unscrambles it. Breaking the encryption itself is not practical.

The key, however, comes from your password. A short or predictable password such as a phone number or birth date can be guessed by software quickly. The weak point is always the password, never the algorithm.

Choosing a strong PDF password

Use a long passphrase of 12 characters or more that you can remember and others cannot guess.

  • Combine several unrelated words with a number or symbol.
  • Avoid phone numbers, ID or iqama numbers, birthdays and family names; those are tried first.
  • Never reuse your email or banking password.
  • Use a different password for each important file or recipient.

Stick to Latin letters, numbers and common symbols. Some older PDF readers handle non-Latin characters in passwords unpredictably, which can leave the recipient unable to open the file.

Send the password through a different channel

Sending the file and its password in the same message cancels the protection. If that message reaches the wrong person, they have both.

  1. Send the protected file, for example by email.
  2. Send the password by SMS, a phone call or a different app.
  3. Never put the password in the email subject, the file name or the document.
  4. Ask the recipient not to forward the file and password together.

What the recipient sees

The file asks for the password as soon as it is opened in any reader, such as the iPhone Files app, Chrome or Adobe Acrobat Reader. After the right password, the content appears exactly as you made it.

Worth telling the recipient in advance: WhatsApp and email previews may show no thumbnail because the content is encrypted, and the print option will be missing or greyed out if you blocked printing. If the file is going to an official upload portal, check first that it accepts protected files; some portals reject them.

Protect last, after every other edit

Make protection the final step, after merging, compressing, signing and numbering pages. Most tools need to read the file, and an encrypted file cannot be read without the password.

If the file is large, run it through Compress PDF first, then protect it. To edit it later, open it with the password and remove protection as described in unlocking a PDF with a password you know, make the changes, and protect it again.

Other ways to protect a PDF

If you write the document in Microsoft Word on Windows, you can encrypt it while saving: File, Save As, choose PDF, click Options and tick Encrypt the document with a password. On a Mac, Preview can do it through File, then Export, with the Encrypt option.

These are handy when the file already lives in Word or on a Mac. For a finished PDF on your phone, the browser tool is quicker.

Finally, keep an unprotected original somewhere safe or store the password in a password manager. A forgotten password cannot be recovered; that is the whole point of encryption.

Frequently asked questions

How do I lock a PDF with a password for free?

Open Protect PDF, select the file, enter and confirm a password, press Protect PDF and download the result. The file will ask for the password every time it is opened.

Can I password protect a PDF on my phone?

Yes. The tool works in iPhone and Android browsers, and the encryption happens on your phone without uploading the file.

What is the difference between an open password and permissions?

An open password encrypts the file so it cannot be read without it. Permissions ask the reader app to block printing or copying; most apps respect them, but some ignore them, so they are not strong protection on their own.

What if I forget the PDF password?

It cannot be recovered with our tool, because the encryption is designed not to open without it. Keep an unprotected copy somewhere safe or store the password in a password manager.

Does a password stop screenshots?

No. Anyone who has the password and opens the file can take screenshots, so only send sensitive files to the people who need them.

Related articles