abox.tools

Language: English

How to unlock a PDF, and which kind of locked it is

“Protected” covers two completely different things. One is a password that genuinely keeps everybody out. The other is a note inside the file asking your reader not to print it, which your reader has agreed to honour. Telling them apart takes a second and decides everything that follows.

Open the PDF Unlocker Permission restrictions and open passwords are different. This page tells you which your PDF uses.

View as Markdown

The short answer

Open the PDF Unlocker and drop the document in. Within a second it will tell you which of two situations you are in, and they are not close to each other:

The rest of this explains why those two are so different, which is worth knowing before you hand a document to anything that offers to unlock it.

Print your statement, or prepare a locked file for another job

For your own statement whose print button is disabled, add the PDF and read the protection report. Remove permissions when it opens without a password; if it requires one, supply a working user or owner password. Download the unlocked copy, reopen it without entering a password, and check the page count and print preview. Keep the protected original, particularly if it carries a digital signature. Certificate-encrypted files require the appropriate key and are not handled here.

Unlocking can also be the first step in a packet assembled from a copier's restricted scan. Carry the result into the merger, remove unneeded pages, then protect the finished copy when it should still require a password. Inspect that final file, not only the intermediate unlocked one. Removing the protection creates a copy that opens freely; it does not recover a missing password or change your rights in the document.

The two locks, and why only one of them is a lock

A PDF has room for two passwords, and readers present them almost identically, which is where all the confusion comes from.

The user password, also called the open password, is used to decrypt a document that requires it. A working user or owner password can unlock it here. Without either, this tool leaves it closed; it does not search for a password or a key.

The owner password controls permissions: printing, copying, editing or filling in forms. A file may have an owner password with an empty user password, so it opens without a prompt while a reader enforces those restrictions.

Here is the part almost nobody is told. A file that opens without asking you for anything must contain everything needed to derive its own key, because your reader just derived it, without asking you for anything. So the contents are encrypted with a key that anybody can work out. What stops your reader printing is a separate field inside the document — a row of permission bits — that readers honour because they have agreed to. Adobe documented it that way from the beginning. It is a request, not a barrier.

Removing permission restrictions from a file that already opens needs no password search. Removing a required open password here needs a working password you supply. Those are different operations, and the page identifies the case before proceeding.

How to tell which one you have, without any tool at all

Double-click the file.

In most readers you can see the detail: open the document properties and look at the Security tab, which lists every permission as Allowed or Not Allowed. The PDF Unlocker shows the same list, and adds the thing no reader shows you — which encryption scheme the file uses, and what that scheme is worth today.

What “encrypted” is worth depends entirely on when it was done

Two documents can both report “password protected” and be thirty years apart in what that means. The format has been through five generations:

If somebody has sent you a document and told you it is safe because it is password protected, this is the question to ask. A twenty-year-old workflow can still be emitting the first entry on that list.

If you have lost the open password

This tool cannot recover a lost open password. First ask the sender for the password or an accessible copy, and keep the original while you investigate.

Password-recovery tools try candidates or attack weak, obsolete protection. Success depends on the password and encryption: a short or predictable password is different from a strong password under modern encryption. Some tools run locally and some require an upload. None of that search is performed by the PDF Unlocker here.

The PDF Unlocker does not guess, and does not offer to. There is no dictionary and no loop in it anywhere — you can read the source. That is a deliberate line rather than a missing feature: for the oldest documents a search really would work, which is exactly why the refusal is written down instead of left to be assumed.

What is worth trying first, before anything else: whoever sent it to you usually still has it. Corporate documents are very often locked with the same password across a whole department, or with something predictable like your date of birth or the last digits of an account number — banks and payroll systems do this routinely, and the password is nearly always described in the covering email you have already deleted.

Should you upload it?

Consider what is actually in the documents people need unlocked. Bank statements that will not print. Payslips. Medical letters. A contract that will not copy. Tax paperwork. Almost by definition, a protected document is one somebody thought was worth protecting.

Handing that to a website means the private thing arrives at their server first, intact, and — if it has an open password — you have helpfully sent the password along with it. What they keep, how long for and who has access to it is not something you can check from the outside, whatever the page says.

None of it needs to happen. Every step in unlocking a PDF is arithmetic on bytes: derive a key, run a cipher, write the file back out. A browser does all three perfectly well, which is what the tool here does — the document and the password stay in the tab, and the page keeps working with the network unplugged. If you want to prove that rather than take our word for it, that is the test: disconnect, and use it anyway.

There is a more general version of this argument in is it safe to upload files, and the same question about the documents people most regret sending in is it safe to upload a bank statement.

Two things that will happen to the file, and one that will not

A signature will stop being valid. If the document was digitally signed, removing the encryption breaks the signature — not because of anything careless, but because a signature covers the exact bytes of the file it was applied to, and unlocking writes a new file. Any program that did this would have the same effect. Keep your original; it is still the signed one.

The file usually gets slightly smaller. Rewriting a document leaves behind the superseded copies of objects that earlier edits appended to it. That is a side effect, not the point.

The pages themselves do not change. Nothing is re-rendered, re-encoded or reflowed: the drawing instructions, the embedded fonts and the images come through exactly as they arrived. Text stays selectable, scans stay at the resolution they were scanned at, and nothing moves on the page. If a tool hands you back a document that looks softer or where the text has become a picture, it has done something other than unlock it.

Is it allowed?

That is a question about your rights in the document rather than about the technology, and the answer depends on the file and on where you are.

What can be said without any hedging is what the format does. The restrictions are a field inside the document that readers honour by agreement; they are not a cryptographic barrier and have never been presented as one. The everyday uses are the obvious ones: your own statement that will not print, a report you paid for that will not copy, a scan whose pages you need to reorder, a form you are supposed to fill in. If the document is not yours to use, removing a permission bit does not make it yours.

Afterwards

An unlocked document is an ordinary one, so the rest of the box works on it: merge or split it, make it smaller, or take a name out of it properly — which, if the reason it was locked was that it contains something private, is very likely the next thing you actually want.