Skip to content
Convertto

Password-Protect a PDF — Real AES Encryption, In Your Browser

Encrypt a PDF with a password using AES-128, and choose what readers are allowed to do.

To password-protect a PDF, add the file and set an open password. The document is encrypted with the PDF standard security handler using AES-128 — real encryption, performed in your browser, so the file and the password never leave your device. Anyone opening the result is asked for the password by every PDF reader. You can also restrict printing, copying and editing, though those restrictions are a request that readers honour rather than something enforced by the cipher.

Runs in your browser
Cipher
AES-128 in CBC mode, or RC4-128 for legacy readers
Handler
PDF standard security handler, revision 4
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Is this real encryption or just a restriction flag?

Real encryption. Every string and every content stream in the document is encrypted with a key derived from your password, exactly as the PDF specification defines. You can confirm it: open the protected file in a text editor and the words that were in the document are no longer there. Tools that only set a "do not print" flag leave the text sitting in plain sight.

AES-128 or RC4-128?

AES-128 unless you have a specific reason. It is what every reader made since about 2005 supports. RC4 is cryptographically broken and is offered only for genuinely ancient software — treat it as a compatibility setting, not a security one.

What is the owner password for?

It separates two rights. The open password lets someone read the document; the owner password lets someone change the permissions. Set only an open password and the two are the same, which means anyone who can read the file can also lift its restrictions.

Can I recover the file if I forget the password?

No, and nobody else can either. That is the point of encryption. Store the password somewhere before you close this tab.

Do the permission settings actually stop anyone?

They stop well-behaved readers, which in practice is most people most of the time. They do not stop software that chooses to ignore them, because anything that can decrypt the file to display it can also print it. Use permissions to express intent, and the password for security.

How to use the protect pdf with password

  1. 1Select your pdf file — the file stays on your device and is never uploaded.
  2. 2Enter or paste your open password.
  3. 3Enter or paste your owner password.
  4. 4Choose the cipher.
  5. 5Turn "Allow printing" on or off as needed.
  6. 6Turn "Allow copying text" on or off as needed.
  7. 7Turn "Allow editing" on or off as needed.
  8. 8Turn "Allow comments" on or off as needed.
  9. 9Turn "Allow filling forms" on or off as needed.
  10. 10Turn "Allow reordering pages" on or off as needed.
  11. 11Turn "Allow screen readers" on or off as needed.
  12. 12Press Run, then download the result when it is ready.

Sources & specifications

Embed this tool

Put the working protect pdf with password on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More pdf tools