Protect / Unlock PDF
Add password protection with custom permissions, or remove a password from a PDF. Runs entirely in your browser — no upload required.
Two Modes: Protect and Unlock
Protect mode encrypts your PDF with AES-128 encryption and requires a password before anyone can open the document. You can also set an owner password (which controls permissions) separately from the user password (which controls opening). This is the standard way to restrict access to sensitive documents before sharing them by email, cloud storage or USB.
Unlock mode removes the password from a PDF that you already have permission to access. This is useful when a PDF was password-protected a long time ago and now needs to be shared with a team, or when the password requirement is getting in the way of using other PDF tools that cannot handle encrypted files.
PDF Permission Settings
When protecting a PDF, you can set fine-grained permissions that control what recipients are allowed to do with the document, even after they enter the password to open it. Standard permission flags include:
- Allow printing — Whether the document can be printed at all, and at what quality.
- Allow copying text and images — Whether content can be selected and copied to the clipboard.
- Allow editing — Whether the document can be modified in a PDF editor.
- Allow form filling — Whether interactive form fields can be filled in.
- Allow annotations — Whether comments and markup can be added.
These restrictions rely on PDF viewer compliance — professional PDF viewers like Adobe Acrobat respect them, though some third-party tools may not enforce them. For strong security, combine permission flags with a strong encryption password.
When Should You Password-Protect a PDF?
Password protection is appropriate any time you need to control access to a document before sharing it. Common use cases include sharing financial statements or tax documents with an accountant, sending legal contracts that should only be readable by named parties, distributing exam papers that should not be accessible before the exam, sharing medical records with authorised personnel, and distributing proprietary reports to paying subscribers or clients. The key advantage of PDFForge is that your documents are never uploaded — the encryption happens entirely in your browser, so there is no risk of the file being intercepted during a server-side processing step.
Is Browser-Based PDF Encryption Secure?
PDFForge uses the PDF-Lib library to apply AES-128 encryption, which is the standard used across professional PDF tools. Browser-based encryption is actually more secure than many online services in one important way: your file never travels across the internet to be encrypted on a remote server. The encryption key is generated on your device and the encrypted file is produced locally. No one — not even PDFForge — can intercept your document or your password during the process.
Frequently Asked Questions
Can I use this tool to crack someone else's password-protected PDF?
No. The unlock function only works if you supply the correct password. PDFForge does not attempt to crack or brute-force passwords. You must own or have authorisation to access the document before using the unlock function.
What happens if I forget the password I set?
There is no way to recover it through PDFForge. Always store your passwords in a password manager and keep an unprotected backup of any document you protect. PDF encryption, when properly applied, cannot be reversed without the password.
Will permissions be respected by all PDF viewers?
Major PDF viewers (Adobe Acrobat, macOS Preview, modern browsers) respect permission flags. Some third-party readers and command-line tools may ignore them. Permissions are a deterrent, not an absolute security measure. For truly sensitive documents, consider redacting confidential information rather than relying solely on permissions.
Can I remove the password so I can use other PDFForge tools on the file?
Yes. If you have a password-protected PDF that you own, unlock it first using the Protect / Unlock tool, then use the resulting unlocked PDF with any other PDFForge tool such as Merge, Split or Compress.