Password-Protect a PDF
Add a password to a PDF
To password-protect a PDF, drop it in, choose an open password, confirm it and click Protect: the document is encrypted with AES-256 and downloaded. You can also set a separate owner password and restrict printing, copying or editing. Everything runs in your browser. A lost password can't be recovered, so keep it safe.
- Files processed on your device
- No server-imposed size limit
- 100% free
How to password-protect a PDF
- 1Drop in your PDF. It opens inside your browser and is never uploaded.
- 2Type the open password and confirm it. Optionally add a separate owner password and set permissions for printing, copying, editing and more.
- 3Click “Protect the PDF”: the file is encrypted with AES-256 and downloads immediately. Store the password safely, because it can't be recovered.
The encryption behind it
Your document is encrypted with AES-256, the strongest option in the PDF standard (revision 6 of the standard security handler, the one defined in PDF 2.0). Without the password, page contents, text and images can't be read at all. This isn't a cosmetic lock on the viewer.
Current readers all handle it: Adobe Acrobat Reader, Preview on Mac, the built-in viewers in Chrome, Edge and Firefox, and most mobile apps. Very old software without AES-256 support won't open the file, even with the right password. If a recipient can't open the file, ask them to update their PDF reader before anything else.
Open password, owner password and permissions
The open password is required to view the document. The optional owner password also lets someone change permissions or remove the protection; if you don't set one, the open password covers both roles.
Permissions control what a reader can do once the file is open:
- printing: off, low resolution (150 dpi at most) or full quality;
- copying text and images;
- editing content, adding comments and filling in forms;
- assembling the document (inserting, deleting or rotating pages);
- text extraction for screen readers, which you should leave on for accessibility.
Limits, stated plainly
The open password is real protection: without it, the file is unreadable. Permissions are a different story. They rely on the PDF reader playing by the rules, and while compliant software honors them, a non-compliant tool can ignore them once the document is open. For information that must never be seen, redaction is the only safe answer.
An already-protected PDF can't be protected again, so unlock it with its current password first. And nobody can recover a lost password, us included: keep it in a password manager.
Choosing and sharing the password
The strength meter guides you as you type. Aim for at least 12 characters mixing words, numbers and symbols, or a passphrase you'll actually remember. Skip birthdays and the recipient's name; they're the first things anyone would try.
Never put the password in the same email as the file. Text it, read it out over the phone or send it through a different app. Our guide to password-protecting a PDF goes through these habits in detail.
When to protect a PDF
Encryption earns its keep whenever a document could be read by the wrong person while it's being sent or stored:
- pay stubs, tax returns and bank statements going to a landlord, lender or attorney;
- medical records or insurance paperwork shared by email;
- contracts, quotes and proposals sent before they're signed;
- HR documents such as reviews and offer letters kept on a shared drive;
- scans of your passport or driver's license saved to a USB stick or cloud storage.
Do it last, and keep it local
Protection should be the final step, since most tools refuse encrypted PDFs. Merge, sign or watermark first, then protect the result. Encryption is done by pdf-lib inside your browser: neither the document nor the password is sent anywhere, and the tool works offline once the page has loaded.
Technical specifications
- Processing
- 100% local, in your browser
- Technology
- pdf-lib · Web Worker
- File size
- No server-imposed size limit: your device's memory is the only limit
- Privacy
- File never uploaded or stored: suited to GDPR and professional secrecy
- Price
- Free, no sign-up, no watermark
Frequently asked questions
What encryption does it use?
AES-256, the strongest algorithm in the PDF standard (revision 6, as defined in PDF 2.0). Acrobat Reader, Preview on Mac and the viewers built into current browsers all support it.
Is my password sent to a server?
No. The document and the password stay in your browser; encryption happens on your device and nothing is uploaded, stored or logged on a server.
What if I forget the password?
The document becomes permanently inaccessible. Nobody can recover the password, us included. Keep an unprotected copy somewhere safe and save the password in a password manager.
What's the owner password for?
It lets someone change permissions or remove the protection, while the open password only lets them read the document. Without a separate owner password, the open password does both jobs.
Can people get around the printing and copying restrictions?
Sometimes. Compliant readers honor them, but non-compliant software can ignore them once the file is open. The open password, on the other hand, is a real cryptographic barrier.
Can I protect a PDF that already has a password?
No. Remove the existing protection first with the Unlock tool, using the current password, then apply the new one.
Will the protected PDF open on a phone?
Yes, in most current apps; they'll ask for the password when you open it. Only very old software without AES-256 support may fail.
How do I turn a Word document into a password-protected PDF?
In two steps: convert the .docx with the Word to PDF tool first, then drop the resulting PDF here and choose a password. You get a PDF encrypted with AES-256. A .docx that's already password-protected has to be unlocked in Word first.

