Home PDF tools Unlock PDF

Unlock PDF

Remove a PDF password in your browser. Type the password the file asks for before it will open, or leave the field empty when the file opens freely but blocks printing, copying or editing, and press Unlock PDF. You get a new, unencrypted copy as a download, with the before and after sizes and the page count of the result measured on your own file. Nothing is uploaded, and no password you do not know can be recovered here.

Use this on a PDF you own or have the right to modify. The file is read from your disk by this page and never uploaded, so the document stays on your device.

FileNo file loaded
Pages in the original
Original size
Unlocked size
Pages in the unlocked file
No PDF loaded yet.

Type the password your reader asks for before the document opens. Leave this field empty for a file that opens straight away but blocks printing or copying, because those restrictions are removed without any password. A password you do not know cannot be recovered here: this tool tries what you type here and nothing else, and it is not a password cracker.

Choose a PDF file to begin.

The unlock engine is qpdf (Apache-2.0) compiled to WebAssembly — about 1.2 MB — and it is downloaded only when you first press Unlock PDF, never when the page loads. The file itself is handled by pdf-lib, which comes with the page.

Two honest limits. First: this is a decryption tool for your own files, not a cracking tool. If a document has an open password and you do not have it, no setting on this page will open it. Second: removing protection from a copy does not change who the document belongs to, so unlocking a file you were not entitled to modify is not something this page can help with.

What is a PDF unlocker?

A PDF unlocker removes protection from a PDF and writes a new copy that opens without a password. This page does that inside your browser: you pick the file, type the password only if the document asks for one, press the button, and the page gives you back a decrypted PDF to download. Your original file is left exactly as it was on disk.

PDF protection comes in two forms, and they behave completely differently. An open password (also called the user password) is the one a reader asks for before it will show a single page; without it the document is unreadable, and this page needs you to type it. Owner restrictions are different: the file opens with no password at all, but the permission settings inside it tell a reader to grey out printing, text copying or editing. Those restrictions are removed without any password, which is why the password field can be left empty for them.

The heavy lifting is done by qpdf, a well-known open-source PDF tool, compiled here to WebAssembly so it can run in the page instead of on a server. It derives the decryption key from the password you supply, decrypts the file's streams and strings, drops the encryption dictionary, and saves a clean PDF. Nothing about the pages is redrawn: the text in the output is the same vector text, in the same position, on the same number of pages.

Because the whole run happens on your own device, there is no upload, no queue and no copy of your document anywhere else — which matters when the file is a contract, a payslip or a medical letter. Once the page and the engine have loaded, you can even turn the network off and the unlock still works.

How to use this PDF unlocker

  1. Press Choose a PDF file and pick the document. The page reads it and tells you straight away whether the file is encrypted or not, plus its page count and size where those can be read.
  2. If your reader asks for a password when you open the file, type that password into the Open password field. If the file opens freely and only printing or copying is blocked, leave the field empty.
  3. Press Unlock PDF. On the first run the page fetches the qpdf engine (about 1.2 MB) and keeps it in the tab, so a second file unlocks without downloading it again.
  4. Read the readout: original size, unlocked size, and the page count of the unlocked file, counted by loading the decrypted bytes back into the page.
  5. Press Download to save the result as yourfile-unlocked.pdf. Your original PDF is untouched, so a mistake costs nothing but a reload.
  6. If the run fails, the page says so and offers no download — you never get a half-decrypted or empty file to worry about.

Worked example

The test files used here were built for this page. The main one is quarterly-report.pdf: 4 A4 pages of ordinary selectable text, each page carrying a heading and a line of figures, saved with a title and an author. It is 1,933 bytes (1.89 KB). It was then encrypted with both an open password (user123) and an owner password at AES-256, which produced quarterly-report-encrypted.pdf at 2,805 bytes — qpdf describes that file as revision 6 with AESv3 stream, string and file encryption. Every number below is what this page reported in a browser, and every download was checked again afterwards with qpdf 12.3.2 on the command line.

The downloaded results were then examined on the command line, and those checks cover the four things worth knowing about a decrypted file:

The failing cases matter just as much, because they are the ones users actually hit:

One more measured detail worth knowing before you compare sizes on your own file: the unlocked copy is not byte-identical to the pre-encryption original. 1,933 bytes of original came back as 2,099 bytes after decryption — larger, because qpdf writes the file its own way, and still smaller than the 2,805-byte encrypted version that had to carry the encryption. Decryption is a rewrite, not a subtraction, and once a file has been encrypted and rewritten no tool can hand back the exact original bytes.

Who is this PDF unlocker for?

How PDF passwords, permissions and decryption actually work

It helps to know what is really inside a protected PDF, because it explains both what this page can do and what it cannot.

Two passwords, one key. A PDF can carry a user password (the one that opens the document) and an owner password (which protects the permissions). A reader derives an encryption key from the password you type and uses it to decrypt the file's streams and strings. If the file has an empty user password, anyone can derive that key without typing anything — which is exactly why a rights-restricted file opens without a prompt. The owner password does not stop that: it only authenticates the person who is allowed to change the permissions, and a tool that ignores permissions can simply not look at them.

Encryption revisions differ a lot. qpdf reports the revision and the algorithm, and old files are common enough to be worth naming. Revision 2 and 3 use RC4 with a 40-bit or a longer key; revision 4 adds AES-128 (qpdf calls it AESv2); revision 6 uses AES-256 (AESv3) and is what a modern writer produces. On the test file above, qpdf --show-encryption printed R = 6 with AESv3 for the new file, R = 4 with AESv2 for the AES-128 version, and R = 2 for the RC4 one. All three decrypt here, because qpdf implements all of them.

Permissions are just flags. The restricted test file reported P = -3392 with printing, extraction and every kind of modification marked "not allowed", where an unrestricted file reports P = -4. Those flags live in the file's encryption dictionary, and this is the whole of what "remove PDF restrictions" means: the copy that qpdf writes has no encryption dictionary at all, so there is nothing left for a reader to obey. It is not a hack around the permission check — the check is gone.

What decryption is not. It is not cracking. The password you type is used to derive a key, and a wrong password simply fails to derive it: qpdf returns a failure and writes nothing. Nothing on this page tries millions of candidate passwords, and no service, dictionary attack or guess is involved. It also does not undo a redaction — content that was already removed from a file was removed when it was saved, and no unlocker can bring it back. And because the file is rewritten, any digital signature attached to the original stops validating: signatures cover the exact bytes that were signed, and a rewritten file is not the same bytes. If a signed contract has to keep its signature valid, do not rewrite it; ask the sender for an unprotected copy.

Why the size moves. The output is a newly written file, so its byte count is not obliged to match the original. It is usually smaller than the encrypted input, because the encryption wrapper is gone, and it can be slightly larger or smaller than the pre-encryption original, because qpdf writes the document structure its own way. Both numbers are shown after every run, counted from the bytes you loaded and the bytes the engine produced.

Common use cases

Pro tips

FAQ

Are my PDFs uploaded to a server?

No. The file is read from your disk by your own browser, decrypted inside the page by qpdf compiled to WebAssembly, and handed back to you as a download. Nothing is uploaded, no copy is stored on a server, and no account or email address is needed. Once the page and the engine have loaded you can disconnect from the network and the unlock still works.

Can this tool unlock a PDF without the password?

Only when the file never asked for a password in the first place. A PDF can be locked in two different ways: with an open password, which has to be typed before the document will open at all, and with owner restrictions, which let the file open freely but block printing, copying or editing. This tool removes owner restrictions with no password at all. If the document has an open password that you do not know, it cannot be recovered here — the page tries the password you type and nothing else, and it is not a password cracker.

Which PDFs need a password and which ones unlock without one?

If your reader asks for a password when you open the file, it has an open password and you must type that password here. If the file opens straight away but printing, copying or editing is greyed out, it carries only owner restrictions, and leaving the password field blank is enough. This page tells you which of the two it thinks your file is as soon as you load it.

What does the tool actually do to the file?

It writes a new copy of the document with the encryption removed. qpdf, running inside the page, derives the decryption key from the password you supplied, decrypts the streams and strings of the file, drops its encryption dictionary, and saves a fresh PDF that any reader can open. The pages themselves are not redrawn, re-compressed or rasterised, and the sizes this page shows after a run are counted from your own file.

Will the text still be selectable after unlocking?

Yes. Decryption rewrites the file container; it does not turn pages into pictures. Text stays vector text, so it is still selectable, copyable and searchable, and any images inside the file keep their original resolution. Locking a PDF never changed the text, and unlocking does not either.

Does unlocking change the page count or the page size?

No. Every page is carried over as it was, with the same size and the same rotation. This page reports the page count of the unlocked file after the run, because it loads the decrypted bytes back and counts them, so you can check that the document came through whole before you download it.

Why does the tool tell me my file is not encrypted?

Because it is not. Some files are called locked when what is really restricted is printing or copying, and others are simply unfamiliar. The page tests your file the moment you load it with pdf-lib, which refuses to read an encrypted document, so a clean load is a reliable signal that there is no open password. You can still press Unlock PDF to rewrite the file, and that produces a harmless re-saved copy.

What happens if I type the wrong password?

The run fails and no file is produced, so there is never a partial or half-decrypted download. You can correct the password and press Unlock PDF again as many times as you like; nothing is locked out and no attempt is logged anywhere, because the decryption happens entirely on your own device.

Can I remove printing and copying restrictions without a password?

Yes. Restrictions such as no printing, no text extraction and no editing are owner settings carried inside the file, not a lock on opening it. This page removes them without any password, and then reports the before and after sizes of the file it wrote.

Can I unlock a PDF on a phone or tablet?

Yes. The page runs in the browser on iOS and Android, and the download behaves the same way it does on a desktop. It is slower on a phone because the decryption engine has to download on the first run. For a very large document a desktop browser is the more comfortable place to do it.

Is there a page limit or a file size limit?

There is no fixed limit. The file is held in your browser's memory and the engine runs on the same device, so a very large document is bound by your own RAM and processor rather than by anything on this page. For big files, use a desktop browser and close other tabs first.

Is this PDF password remover free, and does it add a watermark?

It is free, with no sign-up, no email gate, no daily counter and no account. Nothing is added to your document: no watermark, no stamp, no extra page and no branding. The unlocked file contains exactly what the original contained, minus the protection.

Related searches

unlock pdf, remove pdf password, unlock pdf online free, remove password from pdf, pdf password remover, unlock pdf without password, remove pdf restrictions, decrypted pdf, decrypt pdf online, unlock pdf free, pdf unlocker online, remove password from pdf without software

Related tools