Your bank statement arrives encrypted. The password is the last four of your account number, except this is a closed account from three years ago and you no longer remember which convention they used back then. The PDF is yours. You have every right to open it. You can't.
So you Google "unlock pdf," click the first result, and upload your bank statement to a stranger.
That is the moment this article exists for.
Two passwords, two completely different problems
PDF has two kinds of password, and almost everyone confuses them.
A user password (sometimes called the document-open password) is real cryptography. The file's content streams are encrypted with RC4-128 or AES-128/256. Without the password, the bytes are unreadable. To unlock the file, you have to supply the password. No tool can skip this. Anything that claims otherwise is either lying or producing garbage.
An owner password (sometimes called the permissions password) is a different beast. The file opens without any password at all. The encryption flag is set, but the restrictions it carries (no printing, no copying) are advisory. The viewer chooses to honor them. A standards-compliant library can strip an owner password without ever knowing what the password was, because the password isn't gating access. It's gating an honor system.
| Type | Also called | What it actually does |
|---|---|---|
| User password | Document-open password | Encrypts content. Required to read the file. |
| Owner password | Permissions password | Document opens fine. Restrictions are advisory. |
So which one is in your way? If the file opens but you cannot print or copy from it, that is an owner password and you don't need to remember anything. If the file refuses to open at all, that is a user password and you need the original.
Why so many "PDF unlocker" tools produce blank pages
This is the part the marketing pages skip.
PDF encryption is partial. The file structure stays in the clear, so you can still read the cross-reference table, page tree, and metadata. Only the strings and content streams are encrypted. A naive unlocker loads the PDF with a flag like ignoreEncryption: true (this exists in pdf-lib, the most popular JavaScript PDF library), then re-saves it. That flag does what it sounds like. It skips the encryption check. It does not run the per-object decryption pass.
The result is a PDF with the right number of pages, the right file size, the right metadata. Open it and every page is blank, or filled with byte soup that used to be a font reference.
There are open issues on the pdf-lib repo from real users hitting this exact failure: #1390, #1296, #1326. Same symptom every time. The library's own warning calls out that "modifications attempted on the returned PDFDocument may fail or have unexpected results." A surprising number of free web unlockers ship this exact code path anyway.
The right approach renders the document through a full PDF decoder (pdfjs-dist is the reference implementation), which performs the per-object decryption pass per ISO 32000, then re-emits the pages as a fresh, unencrypted PDF. That is what qpdf does on the command line. That is what /tools/unprotect-pdf does in your browser.
The privacy hole at the center of every cloud unlocker
A password-protected PDF is, by definition, sensitive. Tax form. Medical record. Sealed legal document. The reason it has a password is that someone decided it should not be casually readable.
To use a cloud unlocker, you upload that exact file. Then you paste the password into a web form. A third party now has plaintext access to the document the password was meant to protect, plus the password itself.
This is not paranoia. Third-party compromise was the source of at least 36% of all data breaches in 2024. Supply-chain attacks accounted for 47% of all individuals affected by breaches in the first half of 2025. The Cleo managed-file-transfer breach in late 2024 leaked HR documents from Kellogg's and adidas through a single zero-day in a vendor most of those companies didn't even realize they were trusting (FortifyData).
"We delete files after one hour" is a TOS promise. It is not a technical guarantee. The only technical guarantee is that the bytes never went anywhere in the first place.
What people are actually trying to do
The legitimate use cases are not exotic:
- A bank statement PDF locked with a password convention you no longer remember. The account is closed. The bank cannot resend it without a 6-week paper trail. You own the document.
- A W-2 or 1099 your employer emailed encrypted, and you need a clean copy to upload to TurboTax or hand to your accountant.
- A vendor quote that opens fine but blocks printing, while you have a buying decision to make today.
- A signed contract you want to forward to a co-author without sharing the password.
The privacy posture matters in every one of these. The whole point of unlocking the PDF is so that you can read it. Not so a stranger's server can read it on your behalf.
How to unlock a PDF the right way
OxygenPDF's unprotect tool runs entirely in your browser. The file is read into memory through the browser's File API and never sent anywhere. For owner-password files, it strips the encryption dictionary in one pass, no password needed. For user-password files, it asks for the password, decrypts every page through pdfjs-dist, and rebuilds a clean, unencrypted PDF using pdf-lib.
The difference from the broken ignoreEncryption shortcut is the part that matters: every page actually renders. You get text you can search, copy, and edit. You get a normal PDF.
Three steps:
- Open /tools/unprotect-pdf.
- Drop your locked PDF onto the page. If it has a user password, type it once.
- Download the unlocked file.
No upload. No account. No daily task limit. No ads. The file size cap is whatever your browser's memory can hold, which on a modern laptop is closer to a gigabyte than the 5 MB cap on Smallpdf's free tier.
When you should pay for Acrobat instead
Honesty matters here. Adobe Acrobat Pro is the reference implementation. If you work in a regulated environment that needs audit logs of every encryption operation, or you have to batch-decrypt thousands of files inside a corporate document pipeline, that is what Acrobat is for.
For a freelancer who needs to unlock a PDF six times a year, paying $20 a month is silly. So is uploading the file to someone you don't know.
If you also need to add a password back to a different file, /tools/protect-pdf handles that locally too. Same browser tab, no upload, real encryption.
The right tool for unlocking a PDF is the one that opens it, hands you back what is yours, and forgets about it the moment you close the tab.
Rohman

