How to Unlock a PDF (Remove a Known Password) — Free
Forgot the password on your own PDF? If you know (or have the right to use) the password, removing it is quick and free. This guide covers the legal ways — and draws the line at what you must not do.
qpdf --password=YOURPASS --decrypt in.pdf out.pdf on the command line. Only do this for files you own or are authorized to open.
Real-world use — what we verified
We unlocked a PDF whose password we knew, then it opened without prompting.
Honest note: this only removes a password you already have — it won't recover or brute-force an unknown one, by design and by law.
The legal line (read this first)
These methods only work when you already know the password — e.g. your own document, or one a colleague shared with you. They cannot and should not be used to break into someone else's protected files. Password protection exists for a reason; respect it.
Method 1: Adobe Acrobat (free trial / subscription)
- Open the PDF in Acrobat and enter the password.
- Tools → Protect → Remove Security.
- Enter the password again to confirm removal.
- Save. The file is now openable without a password.
Method 2: qpdf command line (free, open-source)
Install qpdf, then run:
qpdf --password=YOURPASS --decrypt locked.pdf unlocked.pdf
This decrypts a file you can already open, producing an unprotected copy.
What unlocking does NOT do
| Can remove | Cannot do |
|---|---|
| Open password (you know it) | Crack an unknown password |
| Permissions (print/copy locks) | Access files you aren't authorized for |
After unlocking
- Now you can split, merge or compress the file.
- If you only need the text, export via PDF to Word.
- To remove specific pages instead, see Delete Pages.
FAQ
Can this open a PDF when I don't know the password?
No — and it shouldn't. These steps require the password you already have.
Is qpdf safe?
Yes, it's a widely used open-source tool; it only decrypts files you can already open.
Will removing security change my content?
No. The pages and text are unchanged; only the password protection is removed.