About password-protecting PDFs
This tool adds a password to a PDF, encrypting it with 256-bit AES so it can only be opened by someone who knows the password. The encryption is done in your browser using qpdf compiled to WebAssembly, so your PDF and password are never uploaded. It is the secure way to share confidential documents.
How Protect PDF works
How to use it
- Drop or choose a PDF.
- Enter a password and confirm it.
- Click Protect & download to save the encrypted PDF.
How it works
The tool runs qpdf in your browser to encrypt the file with AES-256. The password becomes the key: anyone opening the PDF in a reader will be asked for it, and the content stays unreadable without it. Because everything happens locally, neither the file nor the password leaves your device.
Important
Keep the password somewhere safe — there is no way to recover or reset it, and a strong password cannot be bypassed. To password-protect a file that is already encrypted, remove the existing password first.
Common uses
- Password-protect a PDF
- Encrypt a confidential document
- Secure a PDF before emailing it
- Lock a contract or statement
- Protect personal records
- Add AES-256 encryption to a PDF
- Restrict who can open a file
- Share a document securely