PDFRookie
All guides

How to password protect a PDF with AES-256 encryption

A password on a PDF means it can't be opened without that password, even if the file ends up in the wrong inbox. This is useful for payslips, contracts, medical documents and anything else you wouldn't want read by accident.

Step by step

  1. Open the Protect PDF tool and choose your file.
  2. Type a password, then type it again to confirm. The button stays disabled until they match.
  3. Click Protect PDF and download the encrypted copy.
  4. Try opening the new file to confirm that it asks for the password.

Choosing a good password

  • Use a long phrase of several unrelated words rather than a short, clever one.
  • Don't reuse a password from your email or banking.
  • Send the password through a different channel than the file, for example by phone or a separate message.

Important to know

  • If you forget the password, it cannot be recovered. Keep the original, unprotected file somewhere safe.
  • The tool uses AES-256, the standard strong encryption supported by modern PDF viewers. Very old viewers may not open it.
  • Your file and password are processed in your browser and are not uploaded.

Need to remove the password later?

If you know the password, the Unlock PDF tool saves a copy without it.

Frequently asked questions

How strong is the encryption?

AES-256 using the open-source qpdf library, running in your browser.

Can I recover the password if I forget it?

No. Keep the password and an unprotected original safe.

Is my password sent anywhere?

No. Nothing leaves your device.

Protect PDF

Lock a PDF with a password using AES-256 encryption.

Protect a PDF now

More guides

Was this guide helpful?

Feedback is public and anonymous. Please don't include anything private.