Unlock PDF
Decrypt authorized password-protected PDFs and remove printing, copying, or editing restrictions completely inside your browser with batch ZIP export.
Decrypt authorized password-protected PDFs and remove printing, copying, or editing restrictions completely inside your browser with batch ZIP export.
Ready locally via WebAssembly & JavaScript- ✓Automatic inspection of PDF trailer dictionaries to distinguish open-password locks from owner-only restrictions
- ✓Full Standard Security Handler decryption supporting RC4-40, RC4-128, AES-128, and ISO 32000-2 AES-256 streams
- ✓Lossless binary stream reconstruction preserving original vectors, fonts, hyperlinks, and AcroForm structures
Password-protected PDFs protect files in transit, yet those same locks routinely break everyday workflows—blocking automated invoice ingestion, preventing pages from being combined into a master report, or forcing you to retype the same account passcode every time you reopen a monthly statement. Unlock PDF removes both open passwords (when you provide the authorized key) and owner-level permission restrictions locally inside your browser, producing clean, unencrypted PDF binaries ready for archiving, editing, or downstream automation.
Two Distinct Locking Models: Open Passwords vs. Permission Flags
When you drop a document into the workspace, the parser inspects the file trailer via pdf-lib before touching any content stream. Specifically, it tests whether the document loads without credentials and checks whether the trailer dictionary references an /Encrypt object. That single diagnostic separates locked PDFs into two fundamentally different security categories.
Why Owner-Only Restrictions Clear Instantly
Under ISO 32000-1 and ISO 32000-2, a publisher can set an Owner Password while leaving the User Password empty ("") to disable printing, text selection, or document assembly. Because every PDF reader must display the pages without prompting the user for a secret, the standard requires the encryption key to be computable from the empty user password combined with public parameters in the /Encrypt dictionary (/O, /U, /P, and document /ID). Once the File Encryption Key is derived, the decryptor decodes every encrypted string and stream cleanly and omits the /Encrypt entry when serializing the unlocked output. No password prompt is needed because the document was never cryptographically sealed against reading.
Why AES-256 Open Passwords Cannot Be Bypassed
When a non-empty User Password is configured, the document cannot be parsed until the authorized secret is supplied. Under AES-256 (Revision 6), verifying a password executes Algorithm 2.A—a hardened loop combining SHA-256, SHA-384, SHA-512, and AES-128-CBC rounds—before unwrapping the 256-bit File Encryption Key from /UE (or /OE if you supply the Owner Password instead). Even on dedicated multi-GPU clusters, brute-forcing a high-entropy password across a symmetric keyspace is computationally impossible. Our tool performs legitimate cryptographic decryption using the credential you supply; it does not run dictionary attacks or bypass access controls.
Encryption Modes and Decryption Requirements
Not every protected PDF behaves identically when decrypted. The matrix below summarizes what credentials are required and how each security handler responds.
| PDF Protection Type | Trailer /Encrypt Present? | Opens Without Prompt? | Credential Needed to Unlock | Browser Decryption Support |
|---|---|---|---|---|
| Unencrypted Standard PDF | No | Yes | None (passed through unchanged) | Detected automatically as already unlocked |
| Owner-Only Restrictions (RC4 / AES) | Yes | Yes | None — empty user key derives FEK | Instant restriction & /Encrypt removal |
| User Password (RC4-40 / RC4-128) | Yes | No | Authorized User or Owner Password | Full client-side decryption |
| User Password (AES-128 / AES-256 R6) | Yes | No | Authorized User or Owner Password | Full client-side decryption |
| Public-Key (X.509 Certificate) / DRM | Yes (/SubFilter /adbe.pkcs7.s5 or custom handler) | No | Private X.509 key or remote DRM license server | Unsupported — requires issuing enterprise client |
What Happens Under the Hood During Decryption
Unlike print-to-PDF workarounds—which re-render pages through a virtual printer driver, destroying selectable text, hyperlinks, bookmarks, and AcroForm fields while inflating file size—structural decryption preserves the document's internal object graph intact:
- Key Derivation & Validation:
@pdfsmaller/pdf-decryptreads/V,/R,/Length,/CF, and/StmFfrom the/Encryptdictionary, validates the supplied credential against/Uor/O, and recovers the raw File Encryption Key. - Per-Object Stream Decoding: Every indirect object (identified by its object number and generation number for RC4/AES-128, or its per-stream 16-byte IV for AES-256) is decrypted in place. Compressed object streams (
/Type /ObjStm) andFlateDecodepage content streams retain their exact vector instructions and font mappings. - Trailer Sanitization & Cross-Reference Rebuild: The
/Encryptreference is deleted from the trailer dictionary, stream/Lengthvalues are recalculated after removing AES padding and IV prefixes, and a clean cross-reference table is written to a freshUint8Arrayin memory.
Because decryption finishes entirely inside browser RAM without transmitting your passwords or financial statements over the network, sensitive records stay under your physical control. If a queue contains multiple documents sharing the same passcode—such as twelve monthly tax or banking PDFs—the Bulk Password control assigns that key across every pending file before bundling the results into unlocked_pdfs.zip.
Verifying Cleared Encryption with CLI Tools
After exporting an _unlocked.pdf file, engineering or compliance teams integrating the document into automated pipelines can confirm that no encryption metadata or permission bitmask remains using Poppler's pdfinfo or qpdf:
# Inspect encryption status before and after unlocking
pdfinfo statement_unlocked.pdf | grep -i "Encrypted"
# Expected output:
# Encrypted: no
# Equivalent local CLI decryption for headless CI pipelines
qpdf --password="YourAuthorizedPassword" --decrypt statement.pdf statement_unlocked.pdf
Once unlocked, the document can seamlessly enter downstream operations—such as combining monthly statements via Merge PDF or upgrading an outdated RC4-128 file to modern AES-256 credentials inside Protect PDF.
Common Decryption Failures and Recovery Paths
If an authorized password triggers an error during unlocking, check three frequent technical culprits:
- Damaged Cross-Reference Tables or Truncated Trailers: Downloads interrupted mid-transfer can corrupt the final
startxrefpointer, causing the parser to reject the file before decryption even begins. Run the broken container through Repair PDF first if it is unencrypted, or re-download an intact copy from the original portal. - Unicode Normalization & Trailing Whitespace: PDF 2.0 Revision 6 normalizes passwords using SASLprep (RFC 4013) UTF-8 profiles, whereas older PDF 1.4 generators truncate credentials to 32 bytes in PDFDocEncoding. Copy-pasting passwords from emails frequently sneaks in an invisible trailing space or non-breaking space (
U+00A0); toggle the visibility eye icon to inspect the exact characters. - Enterprise DRM Wrappers (AIP / RMS / LiveCycle): Files wrapped in Microsoft Purview Information Protection or Adobe Policy Server use proprietary
/Filterhandlers outside ISO 32000's/Standardhandler. Those files require authentication against the issuer's rights-management server and cannot be unlocked by any standalone standard PDF decryptor.
How to Use Unlock PDF
Drop one or more locked PDF files onto the workspace or browse your local filesystem to load them.
Review each file's detected lock status to see whether it requires an open password or carries owner-only restrictions.
Enter the authorized password next to each locked file, or use the Bulk Password field to apply a shared key across the queue.
Click Unlock PDF to decrypt object streams and strip the /Encrypt trailer dictionary directly inside your browser.
Download individual _unlocked.pdf files or export the entire batch at once as an unlocked_pdfs.zip archive.
Frequently Asked Questions
Can this tool unlock a PDF if I do not know the open password?
Why did my restricted PDF unlock without asking me for any password?
Does unlocking a PDF reduce image quality, alter fonts, or flatten interactive forms?
How do I unlock dozens of bank statements that all share the same password?
Why does a document fail to unlock even when I type the right password?
Key Features
- Automatic inspection of PDF trailer dictionaries to distinguish open-password locks from owner-only restrictions
- Full Standard Security Handler decryption supporting RC4-40, RC4-128, AES-128, and ISO 32000-2 AES-256 streams
- Lossless binary stream reconstruction preserving original vectors, fonts, hyperlinks, and AcroForm structures
- Batch multi-file processing with individual per-file password inputs plus a one-click Bulk Password applier
- Instant local processing inside browser memory so decrypted financial and legal records never touch external servers
- Single-file _unlocked.pdf downloads or bundled unlocked_pdfs.zip archive export for multi-document queues
Common Use Cases
- Stripping recurring open passwords from monthly bank statements, brokerage confirmations, and utility invoices before uploading to accounting software
- Removing print and text-copy restrictions from vendor manuals or internal reports you own so teams can extract tables and print handouts
- Decrypting legacy encrypted chapters prior to combining contracts into a single master binder or running automated PDF indexing
- Batch-unlocking archived payroll packets and HR forms that share a standard departmental password before migrating to a new DMS
- Clearing obsolete RC4-128 security handlers from older corporate templates before upgrading them to modern AES-256 protection
- Preparing locked architectural or legal drafts for downstream editing, annotation, or automated CI/CD document pipelines
Related Tools
Explore More Tools in This Category
View All Developer & Utility ToolsOrganize PDF
Rearrange, rotate, delete, duplicate, and insert pages in your PDF documents. Fast, secure, and 100% local client-side processing.
Add Page Numbers to PDF
Insert custom vector page numbers, Bates-style headers, or footers into single or batch PDFs with full control over typography, ranges, offsets, and rotated pages locally.
PDF Metadata Editor
Modify standard PDF properties, author UTF-8 custom fields, apply reusable templates, or wipe sensitive timestamps and XMP streams completely locally in your browser.
PDF Metadata Viewer
Audit PDF Info dictionaries, XMP flags, encryption ciphers, permission bitmasks, embedded fonts, and page dimensions in read-only mode directly inside your browser.
PDF Extract Pages
Extract specific pages, custom ranges, or multi-block selections from a PDF into a single combined PDF, individual page files, or separate range ZIPs locally.
PDF Crop Pages
Crop page margins, strip dark scanner borders, and update PDF CropBox and MediaBox boundaries across all or selected pages locally in your browser.
PDF OCR
Extract selectable text from scanned PDFs, parse tabular grids, and assemble searchable sandwich PDFs across 16 languages directly in your browser using WebAssembly.
PDF to Word Converter
Convert static PDF files into editable Microsoft Word (DOCX) documents directly inside your browser. Reconstructs headings, paragraphs, bullet lists, tables, and scanned pages with zero server uploads.