Password protect a PDF with AES-256 encryption
Locking a PDF means anyone who opens it has to type the password first. This tool uses qpdf, a well-known open-source PDF library, to encrypt the file with 256-bit AES, the strongest encryption the PDF format supports. Adobe Acrobat, Chrome, Edge, Preview on Mac and phone PDF apps all ask for the password before showing a single page.
Use it before you email a salary slip, bank statement, medical report, contract or tax return, or before you store sensitive documents in a shared folder.
How to add a password to a PDF
- Add the PDF files. Several files can share one password.
- Type a password. The strength meter turns green for long passwords with mixed characters.
- Press Lock PDFs. Each file is encrypted in your browser.
- Download the locked copies, named file_locked.pdf, or all of them as a ZIP.
Open password and owner password
There's no way to recover a forgotten password, and that includes us. Keep it somewhere safe, and send it by a different channel than the PDF itself, for example by text message instead of in the same email.
Your files and passwords never leave your device
Encryption runs in your browser through WebAssembly. Neither the PDF nor the password is sent to a server, which is exactly what you want from a tool that protects private documents. It's free, with no sign-up or watermark. To remove a password later, use Unlock PDF.
PDF password questions
How do I password protect a PDF for free?
Add the PDF, type a password, press Lock PDFs and download the locked copy. It's free, with no sign-up.
How strong is the encryption?
Files are encrypted with 256-bit AES through qpdf. That is the strongest standard encryption available in the PDF format.
Can I lock several PDFs at once?
Yes. Add multiple files and they all get the same password. Download them one by one or as a ZIP.
What if I forget the password?
It can't be recovered. Keep a copy of the original unlocked file and store the password safely.
Will the locked PDF open on a phone?
Yes. Any standard PDF reader on Android, iPhone, Windows or Mac will ask for the password and then open it.
Is my password sent anywhere?
No. The PDF and the password stay in your browser on your device.


