Batch PDF Unlocking: How to Unlock Multiple PDFs at Once
- Batch PDF unlocking removes passwords or restrictions from many files at once, saving time when you have a folder of protected documents.
- Free browser-based tools handle one file at a time — for true batch processing, command-line tools like qpdf or desktop software work best.
- For a quick single-file unlock, the Puma PDF Unlocker handles it in seconds with no install.
Table of Contents
If you have one protected PDF, an online tool handles it in seconds. If you have a folder of 50 protected PDFs — quarterly reports, batch exports, archived contracts — clicking through them one at a time isn't practical. Batch PDF unlocking lets you feed in a directory of files and get unlocked copies out the other side.
The right approach depends on whether the PDFs have open passwords you know, owner restrictions only, or a mix.
Batch Unlock PDFs on Windows
The most reliable free option on Windows is qpdf, a command-line tool that processes multiple files with a loop:
:: Unlock every PDF in a folder (owner restrictions only)
for %f in (C:\locked\*.pdf) do qpdf --decrypt "%f" "C:\unlocked\%~nxf"
:: Unlock with a known open password
for %f in (C:\locked\*.pdf) do qpdf --password=YOURPASSWORD --decrypt "%f" "C:\unlocked\%~nxf"
Download qpdf from the project's releases page — it's free and open source. Place it in a folder on your PATH or run it from its directory.
If you prefer a GUI, PDF24 and PDFsam both have desktop apps that accept multiple files via drag-and-drop and can remove restrictions in batch.
Batch Unlock PDFs on Mac
Install qpdf via Homebrew, then run a loop in Terminal:
# Install
brew install qpdf
# Batch unlock owner-restricted PDFs
for f in ~/locked/*.pdf; do
qpdf --decrypt "$f" ~/unlocked/"$(basename "$f")"
done
# With a known password
for f in ~/locked/*.pdf; do
qpdf --password=YOURPASSWORD --decrypt "$f" ~/unlocked/"$(basename "$f")"
done
The loop processes every .pdf in the source folder and writes unlocked copies to the output folder. The original files are not modified.
Alternatively, macOS Automator can run a PDF unlock action on a folder — set up a Folder Action that pipes each new file through a script.
Sell Custom Apparel — We Handle Printing & Free ShippingBatch Unlocking When All PDFs Share the Same Password
If all the files use the same open password — common with batch exports from accounting software, bank portals, or HR systems — a single qpdf loop with that password handles the whole folder at once.
Many systems generate PDFs with predictable passwords tied to account numbers or dates. Bank statement PDFs often follow a pattern (see our guide on bank statement PDF passwords). Once you know the pattern, you can script the unlock across all files.
Owner Restrictions Are Easier to Batch Remove
Owner-restricted PDFs (print-locked, copy-locked, edit-locked) can be batch-unlocked without knowing any password — the restriction is enforced by convention, not by encryption. qpdf's --decrypt flag removes these without any password argument.
Open-password PDFs require the correct password for each file. If different files have different passwords, you'll need to script individual passwords or process them one at a time.
For single files with owner restrictions only, the Puma PDF Unlocker is the fastest option — no install, no command line, just drag and click.
Unlock a Single PDF Right Now — Free
Have just one PDF to unlock? Skip the command line. Drop it into the Puma PDF Unlocker and get the unrestricted version in seconds.
Unlock PDF FreeFrequently Asked Questions
Can I batch unlock PDFs without any software install?
Free online tools are single-file only. For true batch processing without installing software, you can use a Python script with the pypdf library, or a Google Colab notebook that processes files you upload. For most users, qpdf is the fastest path — it's a small install and handles folders in one command.
Will batch unlocking change the content of the PDFs?
No. Removing password protection or owner restrictions doesn't alter the text, images, fonts, or layout of the document. The only change is that the security settings are cleared.
What if some PDFs in my folder are already unlocked?
qpdf handles this gracefully — it processes already-unlocked PDFs without errors and writes them to the output folder unchanged. You can run a mixed folder safely.
My batch has thousands of PDFs. Will this still work?
Yes, though it will take longer. qpdf processes files sequentially at high speed (typically under a second per file for small PDFs). A folder of 1,000 PDFs usually completes in a few minutes. For very large batches, run it overnight.

