How to Password Protect a PDF

How to Password Protect a PDF

Open Protect a PDF, type a new password, and download the encrypted file. The lock is AES-256, applied by a qpdf build that runs in the browser. Test the download before you delete the unlocked original.

Open Protect a PDF With a Password

Rules for the password

The new password must be 1 to 127 UTF-8 bytes. It cannot contain a null character, and it cannot start with @ or -. Those two characters are rejected because the encryption tool would treat them as syntax.

If the PDF is already locked, type the current password as well. The download then opens with the new password. The site does not store either one.

What the lock does not do

You do not get separate switches for printing or copying. A random owner password is generated and thrown away, so those permission flags are not something you can set here. The password you chose is the one that opens the file.

A lost password cannot be looked up. Keep the password in a place you control, or keep an unlocked copy. Unlock PDF only helps when you still know the password.

Try it offline

Wait until the status reads Ready offline, then disconnect and protect a small file. The password engine is part of the cache. The PDF and the password stay in the tab.

Tools in this guide