Password Protect PDF — Encrypt Without Uploading
Add a password to a PDF using strong AES encryption, entirely in your browser. The file is encrypted on your device and never uploaded — so protecting a confidential document does not mean handing it to a server first. No account required.
How to use this tool
- Choose the PDF you want to password-protect.
- Enter the password you want to apply.
- Download the AES-encrypted PDF — the file never leaves your device.
Drop a PDF to password-protect
Processed in your browser. How it works
About Password Protect PDF
The PDF Protect tool adds a password to a PDF so that anyone opening it must type that password first. You choose a password, drop in the file, and the tool produces an encrypted copy as protected.pdf. It is the practical answer to needing to email a payslip, a contract, or a medical record without leaving it readable to anyone who happens to receive or intercept the message.
Protection is applied with qpdf, the established open-source PDF library, compiled to WebAssembly so it runs inside the browser. The tool encrypts the file at the 256-bit AES level — the strongest standard PDF encryption — which means the document's contents are genuinely scrambled, not just hidden behind a flag that a viewer can ignore. The password you enter is set as both the user password, which is required to open the file, and the owner password, so the resulting PDF asks for your password before it will display anything.
What makes this notable is where the encryption happens. Most online PDF password tools upload your file to a server to encrypt it, which means the very document you are trying to keep private passes through someone else's machine in the clear first. Here the qpdf engine runs locally; the file is read, encrypted, and written back entirely on your device, so a confidential document is never handed to a third party in order to be protected. A password is required — the tool will not produce an unprotected file — and the encrypted result downloads directly.
A few things to plan for. There is no password recovery: if you lose the password, the file cannot be opened, by you or anyone else, so store it somewhere safe. The strength of the protection depends entirely on the strength of the password, so a short or common word undermines even strong encryption. And because the password gates opening the document, every person you share it with needs to receive the password through a separate, trusted channel — not in the same email as the file.
Frequently Asked Questions
- What kind of encryption does it use?
- It uses 256-bit AES, the strongest standard encryption available for PDFs. The document's contents are actually encrypted, so the protection cannot simply be bypassed by a viewer that ignores a permissions flag.
- Is the password needed just to open the file?
- Yes. The password you set is applied as the password required to open the document, so any reader is prompted for it before the PDF will display. The same password is also set as the owner password.
- Does my file get uploaded to apply the password?
- No. The encryption runs in your browser using qpdf compiled to WebAssembly. The file is encrypted locally and never sent to a server, which is the whole point — you do not have to expose a confidential document to protect it.
- What happens if I forget the password?
- There is no recovery. Strong encryption means there is no back door, so a lost password makes the file permanently unopenable. Save the password in a password manager or another safe place before you rely on the protected copy.
- How should I share the password with the recipient?
- Send it through a different channel than the file itself — for example, text the password if you emailed the document. Putting both in the same message defeats the purpose, since anyone who sees the email gets both.
- Does a longer password really matter if the encryption is strong?
- Yes. The encryption is only as strong as the password protecting it. A short or common word can be guessed quickly regardless of the cipher, so use a long, unpredictable passphrase for anything sensitive.
- Can I remove the password later?
- Yes, if you know it. The companion Unlock PDF tool takes a protected file plus its current password and produces an unprotected copy, also entirely in your browser.
- Will the protected PDF open in normal readers?
- Yes. It uses standard PDF encryption, so any compliant reader — Acrobat, Preview, browsers, mobile viewers — will prompt for the password and open the file once it is entered correctly.
Sharing this document with EU contacts?
If it contains personal data, GDPR compliance is mandatory. EuroComply helps you check quickly.
Embed this tool on your site
Free. One line of HTML — the tool runs in your visitor's browser, no data sent to anyone.
<iframe src="https://brevio.pro/embed/pdf-protect" width="100%" height="600" loading="lazy" style="border:1px solid #e5e5e5;border-radius:8px" title="Password Protect PDF — brevio"></iframe> <p style="font:12px/1.4 sans-serif"><a href="https://brevio.pro/tools/pdf-protect">Password Protect PDF</a> by <a href="https://brevio.pro">brevio</a></p>