Unlock PDF removes password protection from a PDF you have the password for, saving a copy that opens without a prompt. It also lifts owner-password restrictions on printing, copying and editing. QPDF runs in your browser, so the document and password never leave your device.
How to unlock a PDF
- Drop the PDF onto the tool or click Choose file. Password-protected PDFs can be selected normally, but cannot be previewed until unlocked.
- Enter the password the PDF asks for. If it opens without a prompt, leave the box empty — many restricted PDFs carry only an owner password.
- Click Unlock PDF. QPDF decrypts a copy in your browser and writes a new PDF.
- Wait while the copy is checked. The tool confirms it opens and reports the page count and size.
- Download
<name>-unlocked.pdfand open it in any PDF reader. Your original stays unchanged.
Open passwords and owner passwords
PDF encryption can involve two different passwords. The open password, sometimes called the user password, is required before a reader shows any pages; without it the file cannot be read. The owner password, or permissions password, controls printing, copying text, editing or adding pages after the file is open. Many PDFs from banks, employers and ebook shops carry only an owner password: they open without a prompt but show restrictions. For those, leave the password box empty and let QPDF write an unrestricted copy. A PDF can have both passwords; if it prompts when opening, enter its open password.
What unlocking does
QPDF decrypts the file and writes a new PDF without an encryption dictionary. The output opens without a password or permission flags, so printing, copying and editing are no longer blocked. Pages are copied, not re-rendered: text stays selectable, images keep their resolution, and bookmarks, links, forms and tags generally carry across. File size may shift slightly, and digital signatures should be expected to stop validating. Your original is untouched; only the download is unprotected.
When unlocking works, and when it does not
Unlocking works when you know the open password and the PDF uses standard encryption supported by QPDF (RC4, AES-128 or AES-256). Many owner-password-only PDFs also unlock with an empty password. The file needs to be mostly intact.
It does not work when:
- The open password is lost or unknown. This is not a password cracker: QPDF does not guess or bypass a password, and neither does this tool. Ask the issuer for a new copy.
- The PDF uses certificate-based encryption or third-party DRM. QPDF may not decrypt it; use the original application or reader.
- The file is badly damaged. QPDF recovers some faults but is not a repair tool. Try a dedicated repair tool, or save a fresh copy from a desktop reader.
- The PDF was never encrypted. QPDF writes a copy, but no password was removed because there was none.
- The file is empty, not really a PDF, or renamed with a .pdf extension. The tool rejects these before running QPDF.
Unlock only documents you may change
Removing protection is not automatically legal or acceptable. Use this tool only on PDFs you created or own, or on files whose owner has given you explicit permission to modify. Passwords and permission flags often protect personal data, licences, contracts or records. Removing them from someone else's document can breach terms of use, copyright rules or data protection law, even if the file opens. If you are unsure, stop and ask. This tool cannot open a PDF whose password you do not know, and should not be used to try.
Security after unlocking
An unlocked copy is unprotected: anyone who receives it can open, print, copy and sometimes edit it. The password and permission flags are gone, not hidden. Store the download appropriately, especially for bank statements, medical records, contracts or identity documents; an encrypted folder or trusted password manager is safer than a shared downloads folder. Share it through a suitable channel and delete extra copies. Unlocking does not remove metadata such as author or title, or make the content confidential.
Scanned, damaged and unusual PDFs
Scanned PDFs are page images, sometimes with an OCR text layer. Unlocking removes encryption but does not alter the images, run OCR or make a scan searchable; a scan without a text layer still has none afterwards. Damaged PDFs can fail even with the right password. QPDF recovers some structural problems, but a truncated download or broken cross-reference table may need proper repair first. Files with embedded files, JavaScript actions or complex forms usually survive decryption, but test the result. Save filled forms before unlocking so unsaved answers are not lost.
Privacy
The PDF and password are processed entirely in your browser. QPDF is compiled to WebAssembly and loaded by the page, so no file, password or filename is uploaded. There is no account, queue or copy kept by the tool; reloading or closing the tab clears the password and file from memory. Extensions that can read page content could see what you type, so use a trusted browser profile for sensitive documents.
Related PDF tools
- To join the unlocked file to another document, use Merge PDF.
- To reduce the size before sending it, use Compress PDF.
- To add a signature to the copy, use Sign PDF.
Unlock PDF FAQ
Can I unlock a PDF without the password?
No. Unlocking means decrypting with the correct open password, or an empty password that many restricted files already accept. The tool cannot guess or bypass a password. If you have lost it, contact the issuer. Owner-password-only PDFs often unlock with an empty password.
What is the difference between an open password and an owner password?
An open password is required before pages display. An owner password sets permissions after opening, such as printing, copying or editing. A PDF can have either or both. If a reader prompts you, enter the open password; if not, leave the box empty.
Does unlocking remove printing and copying restrictions?
Yes, when QPDF can decrypt the file. The permission flags are stored in the encryption data, and a decrypted copy removes them with the password. The download can normally be printed, copied and edited. Copyright and contractual limits still apply.
Is the original PDF changed or deleted?
No. The tool reads a copy into browser memory and creates a separate output. Your original stays as it was and is never sent anywhere. Only the downloaded <name>-unlocked.pdf is unprotected, so keep the original if needed.
Why does the tool say my PDF was not encrypted?
QPDF found no encryption to remove, usually because the file was already unprotected. It writes a fresh copy instead of decrypting. The download is valid, but nothing was unlocked.
Can I preview the PDF before unlocking it?
No. A password-protected PDF cannot be rendered before decryption, so there are no thumbnails or page count in advance. Afterwards the tool opens the output with pdf-lib, confirms it is readable, and reports the page count and size. Open the download to inspect it.
Does unlocking reduce quality or break the PDF?
Unlocking copies page content rather than re-rendering it, so text stays selectable and images keep their quality. Size can change slightly as QPDF rewrites the structure. Digital signatures may stop validating, and some reader-specific features may need checking. Test important files first.
Is my PDF or password uploaded anywhere?
No. QPDF runs as WebAssembly in your browser, and the password is held only in page memory. Neither is uploaded, stored or logged. Reloading or closing the tab discards them. A browser extension with page access could observe input, so use a trusted profile.