PDF Tools
Protect PDF
Add password protection to PDF files. Free online tool — no upload, no sign-up, runs entirely in your browser.
See how to use this toolProtect PDF
Add password protection and permission flags to a PDF directly in your browser.
Encryption
Use a strong password. Permission flags depend on PDF reader support and should not replace legal or access-control safeguards.
Process files to see download results.
Privacy: PDF and image files are processed in your browser. Recommended limit: files under 100 MB or a few hundred pages; encrypted or scanned PDFs may need extra memory.
About Protect PDF
Protect PDF encrypts a document with a password and (optionally) restricts what recipients can do with it — print, copy text, edit content, or fill forms. Our tool applies PDF encryption by writing the standard security handler into the document and encrypting its content streams with AES (the strongest cipher PDF supports — RC4 is legacy and we don't use it). A user password opens the document for viewing; an owner password separately controls permissions, so you can let a recipient read and print but block copying or editing.
The encryption level matters. We default to 256-bit AES (PDF 2.0 / extension level 8), which is what modern Acrobat and Preview support — brute-forcing it is computationally infeasible for any strong password. Older PDF 1.5-era 128-bit RC4 encryption, still offered by some online tools, is weak and should be avoided for anything sensitive. The permission restrictions are enforced by compliant readers: Acrobat, Preview, and Edge honor them, though a determined user with the right tools can strip them — so treat permissions as a deterrent, not a hard wall, and rely on the AES encryption of the content itself as the real protection.
Everything runs in your browser via pdf-lib and the Web Crypto API. Your password and the document never leave your device — essential, because handing an unencrypted confidential document to a cloud 'protect PDF' service to encrypt it is self-defeating: the service sees the plaintext. Here, the encryption happens locally, and only the encrypted bytes are written to your download.
How to use it
- 1Upload the PDF you want to protect.
- 2Set a user password (required to open the document) — use a strong one, at least 12 characters.
- 3Optionally set an owner password to control permissions separately from viewing.
- 4Choose permission restrictions: allow/disallow printing, copying, editing, and form filling.
- 5Click Protect and download. The file is encrypted locally with 256-bit AES.
When to use it
- ✓Encrypt a client deliverable containing PII before emailing it, so only the recipient with the password can open it.
- ✓Protect a draft contract shared externally so reviewers can read and comment but not edit or copy text.
- ✓Lock down an employee handbook or financial report to read-and-print only, blocking content extraction.
- ✓Encrypt a tax-return PDF before storing it in a shared cloud drive, as defense in depth.
- ✓Add an owner password to a research draft so it can't be edited without permission, even by those who can open it.
Features
- •256-bit AES encryption (PDF 2.0) — the strongest cipher PDF supports, not legacy RC4.
- •Separate user and owner passwords for distinct viewing vs. permission control.
- •Granular permissions: print, copy text, edit content, fill forms, and annotate.
- •Encryption happens locally via pdf-lib and Web Crypto; the plaintext never touches a server.
- •Output is a standard encrypted PDF readable in Acrobat, Preview, Chrome, and Edge.
Related tools
Unlock PDF
Remove password protection from PDF files. Free online tool — no upload, no sign-up, runs entirely in your browser.
Sign PDF
Add your signature to PDF documents. Free online tool — no upload, no sign-up, runs entirely in your browser.
Watermark PDF
Add watermarks to PDF documents. Free online tool — no upload, no sign-up, runs entirely in your browser.
Compress PDF
Reduce an image-heavy PDF by rendering each page as a compressed image. Choose a level and compare the resulting file size.
Organize PDF Pages
Reorder, delete, and rearrange pages in your PDF. Free online tool — no upload, no sign-up, runs entirely in your browser.
HTML to PDF
Convert HTML web pages to PDF. Free online tool — no upload, no sign-up, runs entirely in your browser.
Crop PDF
Crop PDF pages to remove unwanted margins. Free online tool — no upload, no sign-up, runs entirely in your browser.
Edit PDF
Add text, images, and annotations to PDF. Free online tool — no upload, no sign-up, runs entirely in your browser.
FAQ
What encryption does the tool use, and is it secure?
We use 256-bit AES encryption, the strongest cipher the PDF standard supports (introduced in PDF 2.0 / extension level 8). With a strong password of 12+ characters, brute-forcing AES-256 is computationally infeasible. We deliberately do not offer the legacy 128-bit RC4 encryption that some older tools still use, because RC4 is cryptographically broken and unsafe for sensitive content.
What's the difference between the user password and the owner password?
The user password (also called the open password) is required to open and view the document. The owner password (also called the permissions password) separately controls what an open document allows — printing, copying, editing. A recipient who has only the user password can open the file but is bound by the permissions you set; the owner password overrides those restrictions. Set both for maximum control.
Are the permission restrictions unbreakable?
Permission restrictions are enforced by compliant PDF readers (Acrobat, Preview, Edge), but a determined user with specialized tools can strip them. Treat permissions as a deterrent against casual copying, not as an absolute wall. The real protection is the AES encryption of the content itself — without the password, the content cannot be decrypted at all, regardless of permissions.
If I forget the password, can the file be recovered?
No. We do not store your password anywhere — it is never uploaded and never written to our servers. AES encryption is symmetric, meaning the same password decrypts the file. If the password is lost, the content is unrecoverable. Store the password in a password manager or share it with the recipient through a separate channel from the file itself.
Are my document and password uploaded during protection?
No. Encryption runs entirely in your browser via pdf-lib and the Web Crypto API — the plaintext document and your password never leave device memory. This is essential: handing an unencrypted confidential document to a cloud 'protect PDF' service to encrypt it is self-defeating, because the service sees the plaintext. Here, only the encrypted bytes are written to your download.
Can I protect a PDF that's already encrypted?
First unlock the existing encryption with our Unlock PDF tool using the current password, then re-protect the unlocked copy with a new password and permission set. Re-encrypting an already-encrypted file directly would require the original key and isn't supported — decrypt then re-encrypt for a clean result.