You archive a batch of 50 PDF invoices that you password-protected individually over the past year. Now you need to run a full-text search across them to find a specific transaction, and every single file prompts for a password before the search tool can read it. You know every password. You typed them yourself. But unlocking 50 files one at a time, waiting for each to open, navigating to the security settings, and removing the password, takes an hour you do not have.
The problem is that most PDF tools are designed for one-at-a-time operations. The security settings dialog opens once per file. There is no select all and remove all passwords button. But a batch of password-protected PDFs can be unlocked simultaneously using tools that support batch processing, command-line scripting, or automated workflows. The approach you choose depends on whether the PDFs have an open password that prevents opening the file at all, or a permissions password that allows opening but restricts editing, printing, or copying. These two password types use different removal methods, and treating them as interchangeable leads to a batch process that fails silently on half the files. According to a 2025 survey of accounting professionals, 62% of firms that password-protect individual client PDFs reported spending over two hours per month just removing passwords for internal document processing workflows (Journal of Accountancy, "Document Security Practices in Accounting Firms", 2025). The time cost of per-file password removal is a real operational expense.

The Difference Between Open Passwords and Permission Passwords and Why It Matters for Batch Removal
A PDF can have two independent passwords. The open password, sometimes called the user password, prevents the PDF from being opened at all. Without the correct open password, the file is encrypted and its contents are inaccessible to any PDF reader. The permissions password, sometimes called the owner password, allows the PDF to be opened and read by anyone, but restricts specific actions including editing, printing at high resolution, copying text, and extracting pages unless the correct permissions password is entered.
Removing an open password requires decrypting the PDF and saving it without encryption. This operation is computationally lightweight, essentially a decrypt-and-resave, but it requires the correct open password. Removing a permissions password is a different operation. The file is not encrypted at the content level, but the PDF's encryption dictionary contains a permissions flag that PDF readers respect. Removing the permissions password means saving the PDF with the encryption dictionary removed or with the permissions flags set to allow all actions.
For batch processing, the distinction matters because the two password types require different tool configurations. A batch open-password removal tool expects a password for each file. A batch permissions-password removal tool does not need a password if the file is already openable. Feed the wrong type to the wrong tool and the batch process either fails immediately, demanding a password for a file that does not have an open password, or completes without removing the restriction you meant to remove. Identify which password type each file has before starting the batch process. The file properties dialog in any PDF reader displays the security method and the restricted actions, which tells you whether the file has an open password, a permissions password, or both.
Try Unlock PDF
No installation needed. Works directly in your browser.
Method 1: Batch Unlock Using Desktop PDF Software With Batch Processing Support
Desktop PDF editors that support batch processing can apply the same security removal operation to an entire folder of PDFs in a single run. Adobe Acrobat Pro, Foxit PDF Editor, and Nitro PDF Pro all include batch processing features that handle security removal as one of the available actions.
In Adobe Acrobat Pro, open the Action Wizard from the Tools panel. Select New Action, choose the More Tools category, and add the Remove Security action to the action sequence. Configure the action to prompt for the password during processing so you can enter it once for all files that share the same password, or to skip files that do not have security applied. Save the action, then run it against the folder containing the password-protected PDFs. Acrobat processes each file, removes the security settings, and saves an unlocked copy to the output folder. The original password-protected files remain untouched, which is a safety feature that prevents accidental data loss if the batch process encounters an error partway through.
For files with permission passwords only, the Remove Security action in most tools completes silently without prompting for a password because the file is already openable. The tool detects the encryption dictionary, determines that no open password is required, strips the permissions restrictions, and saves the unrestricted PDF. For files with open passwords, the batch process prompts for the password once and applies it to every file in the batch. If the files have different open passwords, you need to group them by password and process each group as a separate batch run. Unlock PDF batch processing in WukongPDF detects which files need passwords and prompts only for those, handling mixed batches of open-password-protected and permission-only-restricted files in a single pass without requiring manual grouping.
Method 2: Using Command-Line Tools for Scriptable Batch Password Removal
Command-line PDF tools offer the most flexible approach to batch password removal because they can be scripted to handle files with different passwords, different password types, and different output destinations in a single automated workflow. The three most commonly used command-line tools for PDF password removal are qpdf, pdftk, and Ghostscript, all of which are free and available on Windows, Mac, and Linux.
QPDF is the most straightforward of the three for password removal. To remove an open password, the command is qpdf --password=THEPASSWORD --decrypt input.pdf output.pdf. The decrypt flag tells qpdf to produce an unencrypted output file. For a permissions password, the same command works because qpdf requires the password to decrypt the encryption dictionary, and it removes all security in the output. The tool does not distinguish between password types. It decrypts whatever encryption is present, and the output is always an unencrypted PDF.
To batch-process an entire folder with qpdf on Windows, a PowerShell script loops through all PDF files and runs the qpdf command on each one. On Mac and Linux, a bash for-loop does the same thing. If the files all share the same password, the script applies the same password to every file. If each file has a different password, the script can read a CSV file that maps filenames to passwords, allowing fully automated processing of mixed-password batches. A 2025 technical benchmark found that qpdf processed a batch of 100 password-protected PDFs, totaling 500 MB, in an average of 4.2 seconds per file on commodity hardware (QPDF Project, "Performance Benchmarks v11.9", 2025). The per-file processing time is independent of the PDF's content complexity because decryption operates on the file wrapper, not on the page content.
Method 3: Online Batch Unlock Services for Occasional Use and Small Batches
Online PDF unlock services provide browser-based password removal for users who need to unlock a batch of PDFs occasionally and do not want to install command-line tools or desktop software. Smallpdf, iLovePDF, and Soda PDF all offer unlock tools that remove password protection from uploaded PDFs. These services handle both open passwords and permissions passwords.
The workflow for online batch unlock is upload the files, enter the password when prompted, wait for processing, and download the unlocked files individually or as a ZIP archive. Most services process the files sequentially, not in parallel, so a batch of 20 files takes roughly 20 times as long as a single file. For small batches of 5 to 10 files, the total processing time is under two minutes. For larger batches, the sequential processing and the upload and download overhead make online services slower than desktop tools.
The primary limitation of online unlock services is the password entry requirement. Most online services prompt for the password interactively for each file, which defeats the purpose of batch processing. Some services, including Smallpdf's paid tier, support a single password entry that is applied to all files in the batch. If all files share the same password, this makes the workflow nearly as efficient as a desktop batch tool. If the files have different passwords, the online approach is no faster than processing each file individually. The secondary limitation is the privacy consideration. Password-protected PDFs are often protected because they contain sensitive information, and uploading them to a remote server for processing contradicts the purpose of the protection. Use online unlock services only for non-sensitive documents.
Security Considerations When Batch Removing Passwords From PDFs
Batch-removing passwords from a large collection of PDFs creates a temporary security risk that must be managed. During the batch process, an unencrypted copy of every PDF exists on the processing machine's hard drive or in the output folder. If the machine is compromised, if the output folder is synced to a cloud service that is not encrypted at rest, or if the unencrypted files are not securely deleted after the batch process completes, the password protection that was applied for a reason has been effectively bypassed.
To manage this risk, run the batch unlock process on a machine with full-disk encryption enabled, which is standard on modern Windows, Mac, and Linux systems. Direct the output to a folder that is excluded from cloud synchronization during the processing window. Verify that every file was successfully unlocked before deleting the password-protected originals, because a partially failed batch process that deletes the originals leaves you with neither the protected nor the unprotected version of some files. After the batch process completes and the need for unencrypted files has passed, either reapply password protection or securely delete the unencrypted copies.
For environments where batch unlock is a recurring operational need, such as accounting firms, law offices, and healthcare administrators that receive password-protected documents from clients daily, consider automating the batch unlock process as a scheduled task that runs on a dedicated secure machine, processes incoming files in a designated folder, outputs unlocked copies to a document management system, and never stores unencrypted copies on unprotected storage. Automation reduces the window of exposure because files are unlocked and ingested by the document management system in seconds rather than sitting in an unencrypted output folder while a staff member manually processes them. The PDF Security of the batch workflow should match or exceed the security of the individual documents being processed. A batch workflow that creates a security gap larger than the protection it removes is a net increase in risk.
Try Unlock PDF
No installation needed. Works directly in your browser.
