How to remove a PDF password
- Drop your password-protected PDF into the zone above, or click to browse.
- Type the PDF's current password into the field that appears.
- Click Unlock & download. The unlocked PDF saves directly to your device — you can now open it freely without ever entering a password again.
Everything runs in your browser using pdf-lib.
No file is sent to a server — open DevTools (F12) → Network while unlocking to verify zero upload requests.
When to unlock a PDF
- Removing a document you password-protected yourself — a PDF you encrypted months ago no longer needs a password now that it is being shared internally. Unlock it to eliminate the prompt for every recipient.
- Preparing a file for further processing — many PDF tools (merge, split, compress, add page numbers) cannot process password-protected files. Unlock first, then use any other tool.
- Archiving secured documents — long-term archives benefit from being in plain, unencrypted PDF so they can be opened by any future PDF viewer without relying on password management.
- Printing or editing a restricted file — some PDFs carry owner passwords that restrict printing or text selection even when there is no open password. Removing these restrictions restores full access.
- Converting to other formats — PDF-to-Word and PDF-to-image tools frequently reject encrypted inputs. Unlocking unblocks the conversion pipeline.
How it works under the hood
PDF encryption is defined in the PDF specification. An encrypted PDF stores its content (text, images, fonts) encrypted with a symmetric key derived from the user password. When you open such a file in a PDF viewer, you supply the password, the viewer derives the key, and decrypts the content on the fly.
pdf-lib loads the encrypted document with the password you provide: PDFDocument.load(bytes, { password }). Once loaded successfully, the library has decrypted all content into memory. Calling doc.save() without any encryption options writes the content back to bytes without re-applying encryption — producing a plain, password-free PDF.
This means the tool works only for PDFs where you know the password. It is not a brute-force cracker — it does not try combinations, it does not use GPU acceleration, and it is not designed to bypass access controls you do not own. It is simply a convenience tool for documents you legitimately have access to.
Limits and what to expect
- You must know the password: this tool decrypts a PDF you already have access to. If you have forgotten the password, this tool cannot help.
- AES-256 encrypted PDFs (PDF 2.0): pdf-lib fully supports RC4 and AES-128 encryption (the most common types). Some AES-256 features introduced in PDF 2.0 may not be supported — if the tool reports an error despite a correct password, try Adobe Acrobat's Save As instead.
- Owner password vs. user password: PDFs can have two passwords. The user password gates opening the file. The owner password gates editing and printing. This tool handles both — loading with either password removes the restriction layer from the saved output.
- Scanned PDFs inside an encrypted wrapper: if the PDF contains scanned images (not real text), unlocking still works — the scan is preserved. Text search and copy will still not work because there is no embedded text layer, which is a property of the scan, not the encryption.
- Browser support: Chrome 90+, Firefox 90+, Safari 15+, Edge 90+.
Privacy: what happens to your file
Your PDF and your password are processed entirely in browser memory. Nothing is sent to a server. The decrypted file is assembled locally and downloaded directly to your device.
For sensitive documents where the password itself is confidential — legal contracts, financial records, medical files — this architecture means the password is never transmitted over a network. Open the Network tab in DevTools while unlocking to see zero outbound requests.