Protect PDF
Lock a PDF with an open password using AES-256 encryption, and optionally restrict printing, copying and editing. Your file and password stay on your device.
Add a PDF & set a password
Lets the owner change the restrictions below. If empty, a random one is generated and not shown.
Limits — please read
- Uses AES-256 (PDF 2.0 / Acrobat X and newer). Very old PDF readers may not be able to open the file.
- The password cannot be recovered. If you forget it, neither we nor this tool can open the file.
- Print/copy/edit restrictions are a request to PDF readers; most respect them but some ignore them. Only the open password truly protects the content.
- Already-encrypted PDFs must be unlocked first. Digital signatures and some interactive form features may not survive.
- Strength depends on your password: use a long passphrase.
Protected PDF
How to use Protect PDF
- Add a PDFDrop the PDF to protect.
- Set the passwordType it twice. Optionally set a permissions password and restrictions.
- Protect and downloadDownload the encrypted copy and keep the password somewhere safe.
How PDF password protection works
The PDF is encrypted in your browser with AES-256, the strongest encryption in the PDF standard, using the open-source @cantoo/pdf-lib library. The password is used only on your device and is never sent anywhere.
PDFs have two passwords: the open (user) password needed to view the file, and a permissions (owner) password that controls printing, copying and editing. If you leave the permissions password empty, a random one is generated, so nobody can lift the restrictions without it.
Frequently asked questions
Is my password sent anywhere?
No. Both the file and the password stay in your browser.
What happens if I forget the password?
The file cannot be opened. There is no recovery or reset.
Which encryption is used?
AES-256, supported by Adobe Acrobat/Reader X and newer and all current browsers and PDF apps.
Can I remove the password later?
Yes, with Unlock PDF, as long as you know the password.
Related tools
All toolsUnlock PDF (Remove Password)
Remove a PDF password you know and save an unlocked copy.
Watermark PDF
Stamp text or a logo across PDF pages, with opacity and angle.
Compress PDF
Reduce PDF size locally via structure cleanup or page downscaling.
Merge PDF
Combine multiple PDF documents into one ordered PDF offline.