PDF Security

How to Password Protect a PDF

Published 2026-08-23 · FreePDFToolbox

Password protection is the baseline for sending documents safely. Here's how encryption actually works in a PDF and how to set it up.

Password-protecting a PDF prevents casual readers from opening it and lets you restrict what they can do with it.

How PDF encryption works

A protected PDF uses standard PDF encryption. Two passwords exist:

  • User password — required to open the file.
  • Owner password — unlocks the permission restrictions (printing, copying, editing).
If you lose the password, the file cannot be recovered. There is no backdoor.

Protect a PDF in four steps

  1. Open Protect PDF.
  2. Choose the PDF.
  3. Set a user password (and optionally a separate owner password).
  4. Choose permissions — printing, copying, modifying — then click PROTECT.

Encryption happens locally in your browser; neither the file nor the password is transmitted.

Choosing a strong password

  • Use 10+ characters.
  • Mix upper/lowercase, digits and symbols.
  • Avoid names, dates and dictionary words.
  • Store it in a password manager.

Permission settings decoded

PermissionWhat it does
Allow printingReaders can print
Allow copyingReaders can copy text
Allow modifyingReaders can edit the document

Note: permission restrictions are enforced by well-behaved PDF readers; determined technical users can bypass them.

Removing the password later

You can remove protection any time with Unlock PDF — as long as you know the password.

Frequently asked questions

How strong is the encryption?

The strongest standard PDF encryption supported by the library is applied (AES-256 where available).

Can someone crack a PDF password?

Short passwords can be brute-forced. A long, random password is impractical to crack.

Does protection work on phones?

Yes — the tool is mobile-friendly and the protected file opens in any standard reader.

Protect your document now with Password Protect PDF.