What Unlock PDF does — and does not do
Unlock PDF removes password protection from a PDF that you already know the password for. You supply the file and its password; the tool opens it with PDF.js, copies every page into a fresh, unencrypted document with pdf-lib, and gives you the result. From then on the file opens without prompting, can be merged, split or compressed with the other tools here, and can be printed or copied from without restriction. It is not a password cracker: if you do not have the password, the tool cannot open the file, and no legitimate browser-based tool can.
Two kinds of PDF password
| Type | What it does | Needed to unlock here? |
|---|---|---|
| User (open) password | Required to open and view the file at all | Yes |
| Owner (permissions) password | File opens freely but printing, copying or editing is restricted | Usually not — the file opens without it, so leave the field blank or enter the owner password if you have it |
Many “locked” PDFs only have an owner password. They open normally but grey out printing or copying in the viewer. Because the content itself is readable, rebuilding the document drops those restrictions along with the encryption. Whether you should do that depends on why they were set — see the note on permissions below.
How PDF encryption works
A protected PDF encrypts its content streams (text, images, fonts) with a key derived from the password, using RC4 in older files and AES-128 or AES-256 in modern ones. The page structure — how many pages, their sizes — remains visible, but the content is unreadable without the key. When you enter the correct password, the viewer derives the key, decrypts each stream on the fly, and displays the page. This tool does the same thing and then writes the decrypted streams into a new file with no encryption dictionary, which is why the output is a standard, unprotected PDF.
Common reasons to unlock a file
- Bank and utility statements that arrive protected with your account number or date of birth and are tedious to open every time.
- Payslips and tax documents from an employer or accountant, before filing them in a personal archive.
- Processing with other tools — encrypted files cannot be merged, split or compressed until unlocked.
- Your own documents where you set a password and no longer need it.
- Printing a restricted document you are entitled to print, such as a ticket or a form sent to you for completion.
A note on permissions and responsibility
Removing an owner password on a document you received is technically trivial, but the restrictions were put there by the author. For your own files, or files sent to you for your own use, removing them is generally fine. For copyrighted material — e-books, paid reports, licensed standards — the restrictions typically reflect the licence terms, and circumventing them may breach that licence or local law. Use the tool for documents you have the right to use freely.
What is preserved
- Page content, fonts, images and vector graphics — copied exactly, no quality change.
- Page sizes and rotation.
- Annotations and form fields attached to pages.
- Not preserved: bookmarks, document metadata (title, author) and any digital signatures, which are invalidated by rewriting the file.