PDF Owner Password vs User Password

Two passwords, one file, completely different jobs. Confusing them is why people think a PDF is protected when it is only being politely asked to behave.

One file, two passwords

The PDF format allows a document to carry two separate passwords, and they are not two copies of the same thing:

In everyday speech both get called “the PDF password”, which is where the trouble starts. A file can have only an owner password and no user password: it opens freely, but the print button is greyed out. That is not a protected document in any meaningful sense, and it is what most people actually mean when they say their PDF is “locked”.

The user password: an actual barrier

When a document has a user password, its content is encrypted with a key derived from that password. Without the right password there is no readable content: not the text, not the images, not the structure. This is a mathematical barrier rather than a rule a program agrees to follow.

Practically, that means three things:

The owner password: a request, not a lock

An owner password does not stop anyone opening the file. It stores flags like “printing: not allowed” or “copying text: not allowed”, and the PDF reader checks them before it lets you do those things. Well-behaved software complies. The document itself is not made unreadable.

Do not treat a permissions restriction as confidentiality. Because the restriction is metadata that the viewer is asked to honour, tools exist — including ours — that remove it without knowing the owner password. That is not a flaw in one program; it follows from how the restriction is defined. If the content must stay secret, it needs a user password, or it should not be sent at all.

What an owner password is genuinely good for is the everyday case: stopping a colleague from casually re-editing a final version, or preventing accidental printing of something that should stay on screen. It is a speed bump, and speed bumps are useful. They are not walls.

Which one do you actually need?

Ask what you are protecting against, then pick:

A short note on what is under the hood

Encryption strength is recorded in the file, and it is not uniform across the PDFs in circulation:

You do not normally need to think about this, but it explains a confusing experience: two files both “password protected” can be wildly different in strength. A 2006 document with RC4 is not in the same league as a 2020 one with AES-256.

Can a forgotten password be recovered?

Not by us, and not by anyone who is being straight with you. There is no back door. If a document has a user password you have forgotten, the options are remembering it, finding a copy of it elsewhere, or asking the sender for an unlocked version. Services that promise recovery are, in practice, running guesses against the password — which works only when the password was weak, and takes longer the stronger it was.

If a document has only an owner password, the permission restriction can be removed without knowing anything, which is exactly the point made above about it not being confidentiality.

How this maps to the tools on this site

If you are unsure which situation you are in, the two-second test: try to open the file. If it asks for a password, that is a user password. If it opens and only printing or editing is disabled, that is an owner password — see unlocking a PDF for editing or printing.

Frequently asked questions

Ready to apply it? Protect PDF encrypts with AES-256 in your browser, and Unlock PDF removes restrictions you are entitled to lift.

Open Protect PDF

Keep reading