"This PDF Is Password-Protected"
You try to merge, compress or convert a PDF and the tool refuses. Sometimes the same file opens on your computer without asking for anything, which makes the message even more confusing. The explanation is that PDF has two different kinds of password, and they behave very differently.
Two Passwords, Two Purposes
| Open password | Permissions password | |
|---|---|---|
| Also called | User password | Owner password |
| What you notice | The file asks for a password before showing anything | The file opens normally, but printing, copying or editing is disabled |
| What it protects | The content itself — it is encrypted | Only what programs are allowed to do with the content |
| Typical use | Bank statements, payslips, medical results | Forms, e-books, official documents |
With an open password, the text and pictures inside the file are scrambled. Without the password there is nothing a program can read, so there is nothing to convert. This is real protection, and with a long password and current encryption it cannot be broken in practice.
A permissions password is different. The content is readable — that is why the file opens — and the restrictions are a request that PDF programs are expected to honour. Many tools can process such files; others refuse to be safe.
What Our Tools Do
On this site, PDF Compress, PDF Merge, PDF Split, PDF to Image and the PDF converters check each file first. If it needs a password to open, the tool stops with a clear message; in Merge it also tells you which file in the list is the locked one. We do not ask for the password and we do not try to guess it. A file that only restricts printing or copying can usually be processed.
We found during testing that one of our tools used to accept locked files without any warning. Refusing early, with an explanation, is the better behaviour: you know immediately what to fix.
Removing a Password You Know
If the document is yours, or you were given the password, you can make an unlocked copy and then use any tool on it.
- Print to PDF. Open the file in a browser such as Chrome or Edge, enter the password, choose Print and select "Save as PDF" as the printer. The new file has no password. This is the quickest method and needs no extra software. Links, bookmarks and form fields are usually lost, because the pages are re-created.
- Use the program that set the password. In Adobe Acrobat: File → Properties → Security → "No Security". In Preview on a Mac: open the file with its password and use File → Export as PDF without setting a new one. This keeps links and bookmarks.
- On the command line, the free tool qpdf does it in one step:
qpdf --password=YOURPASSWORD --decrypt locked.pdf unlocked.pdf.
Bank and payroll PDFs often use a password built from personal data, such as a date of birth or part of an account number. The email that delivered the file normally says which.
If You Do Not Know the Password
Ask whoever sent the file. That is the honest answer and usually the only one. Services that promise to "unlock any PDF" either remove permissions passwords only, or try lists of common passwords against the file. Against a proper open password they fail, and in the meantime you have uploaded a confidential document to a stranger.
Removing protection from a document that someone else restricted may also break a licence or the law, depending on the document and the country. If a publisher or an authority locked a file, the restriction is part of the terms on which you received it.
Protecting Your Own PDFs Sensibly
- Use an open password when the content is confidential. A permissions password alone keeps honest people from editing; it does not keep anyone from reading.
- Make it long. The encryption is only as strong as the password. Use a generated one — our password generator creates it in your browser.
- Send the password by a different route than the file: the PDF by email, the password by text message or phone.
- Keep an unprotected original somewhere safe. A forgotten open password means the content is gone.
- Do the editing first. Merge, compress and reorder pages, then add the password as the last step.
More about working with PDFs: How to merge PDF files and How to reduce PDF file size.