Skip to content
Esc

Password protect a PDF

File and password stay on this device

Set a password and the PDF is encrypted with AES-256, the strongest standard PDF encryption. It runs in this tab with qpdf compiled to WebAssembly, so neither the document nor the password is sent anywhere.

How to use it

  1. Drop the PDF.
  2. Type the password twice. Optionally set a separate owner password and turn printing, copying or editing off.
  3. Press Protect PDF and download. Keep the password safe: there is no way to recover it.

Details

Encryption
AES-256 (PDF 2.0 / Acrobat X and later). Opens in Adobe Reader, Chrome, Edge, Firefox, macOS Preview and phone viewers
Restrictions
Printing, copying text and editing can be turned off; they apply in readers that respect PDF permissions
Engine
qpdf (Apache-2.0) compiled to WebAssembly, about 1.3 MB, downloaded only on this page

Questions

Are my files uploaded?

No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.

What is the owner password?

It unlocks the restrictions (printing, copying, editing). The open password lets people read the file. If you leave the owner password empty, the open password is used for both.

How strong is the protection?

AES-256 with a long password cannot be broken by guessing in practice. A short or common password can be. Use at least 10 characters, or a passphrase of several words.

I forgot the password. Can you recover it?

No. The password never leaves your device, and nobody, including us, can open the file without it.

Are the print and copy restrictions secure?

They are honoured by mainstream readers but are not strong security: some tools ignore them. The open password is the real protection.