PDF Password
Add a password to lock a PDF, or remove an existing password — entirely in your browser. No upload, no server, nothing stored.
Your file never leaves your browser — all processing is 100% local.
PDF Password — Protect & Remove
Two tools in one. Lock PDFs before sharing, or unlock PDFs you own — entirely in your browser.
How to Use
filename_protected.pdf or filename_unlocked.pdf.Frequently Asked Questions
The user password (open password) is required just to open and view the PDF. The owner password (permissions password) is required to change the PDF's permission settings. A reader who has the user password but not the owner password can still open the file but cannot override the permission restrictions you set (printing, copying, editing).
No. This tool requires the correct password to decrypt the PDF. It does not perform brute-force or dictionary attacks. If you have forgotten the password, you need a dedicated password recovery tool.
pdf-lib uses 128-bit RC4 encryption (PDF 1.4 specification). This is the most widely compatible PDF encryption standard and is supported by every PDF reader. RC4 is considered legacy; for maximum security, use AES-256 via a dedicated offline tool or Acrobat. For everyday document protection, 128-bit RC4 is sufficient.
Permissions are a PDF standard feature and are respected by compliant readers (Adobe Acrobat, Preview, Chrome's built-in viewer). However, many third-party tools and some PDF readers ignore permission flags. Permissions are a deterrent, not a technical lock — anyone with the user password and a non-compliant reader could bypass them.
No. Your password is only used inside your browser to call the pdf-lib encryption or decryption function. It is never logged, stored, or transmitted. Once you close the tab, all data is gone.