Lock / unlock PDF
Drop PDFs that have an "owner password" set (which restricts printing / copying without an open-password) and the tool re-saves them without the restrictions. PDFs encrypted with an open-password require the password and aren't supported here.
Drop PDF files here or click to select
Multiple files allowed
When to use this tool
Use the unlock mode when a PDF you legitimately have access to refuses to print, copy, or let you fill in form fields — those are owner-password restrictions, and many PDFs ship with them set "for show." Use lock mode (placeholder, see below) if and when pdf-lib ships encryption support; for true password protection today you'll want a desktop tool.
Two kinds of PDF passwords
PDF supports two passwords:
- An open-password (also called user password) — you can't open the file at all without it.
- An owner-password — you can open and read, but printing, copying text, or filling forms is blocked unless you supply it.
Sometimes both are set, often only one. The unlock tool here strips the owner-password's restrictions; it does not bypass an open-password (which would be cracking, requiring the password itself or brute force).
Step by step (unlock)
- Drop the PDFs with owner-password restrictions.
- Set mode to "Unlock".
- Click "Process & download". Each file produces a
name-unlocked.pdfin the output list. - Verify by opening the result — the printer dialog should now be available, copy/paste should work.
About the lock mode (placeholder)
The library this site uses (pdf-lib)
does not currently support adding password encryption. The "Lock" option re-saves the file
without changes; the button is kept here so it can become functional the moment pdf-lib ships
encryption support. For true locking today, use a desktop tool: Adobe Acrobat,
qpdf --encrypt, or macOS Preview's "Export → Encrypt."
Common use cases
- Print-blocked PDFs. A bank statement PDF that won't print until you supply a password — owner-password unlock fixes it.
- Copy-blocked PDFs. A textbook excerpt that doesn't allow text selection — unlock to enable copy/paste.
- Form-fill blocked. A form with locked fields you legitimately need to fill — unlock to make them editable.
- Archive cleanup. Remove restrictions on a folder of legacy PDFs before adding them to a long-term archive.
What this tool can't do
- Crack or guess an open-password (user password).
- Remove restrictions from a PDF that requires a user password to open — you need that password and a desktop tool.
- Add a real password to a PDF (yet — the library doesn't support encryption).
Acceptable use
Only use this on PDFs you own or have explicit permission to modify. Bypassing access controls on someone else's document is a violation of the terms of use and likely a violation of relevant local computer-misuse laws.
FAQ
Why does the "owner password" exist if it's so easy to bypass?
It was designed as a "polite request" rather than real protection. Most viewers honour it; a savvy user with the right tool can ignore it. If you actually want enforcement, you need an open-password.
Can I unlock a PDF if I don't know any password?
Only the owner-password kind. If the PDF won't open at all without a password, you need that password — there's no legitimate way to "unlock" it without it.
Will this tool ever support locking?
When pdf-lib ships encryption support. The button is wired up so it'll become functional automatically once the library does.
Is the unlocked output identical apart from the password flag?
Functionally, yes — page contents are preserved. Some metadata (the encryption dictionary) is dropped. Run a diff if you need to confirm specifics.