BatchHow-ToFree⏱ 8 min read

How to Compress Multiple PDFs at Once — Batch Compression

Need to compress 10, 20, or 50 PDFs at once? The right approach depends on how many files you have, whether they're sensitive, and how much time you want to spend. This guide covers every practical option — from free browser tools to desktop apps to a command-line one-liner that handles hundreds of files in seconds.

Your Options for Batch PDF Compression

Method comparison at a glance

Method 1: Browser Tool — One at a Time, No Upload

ShrinkPDF processes files locally in your browser with no upload — which means it cannot process multiple files simultaneously (each file uses browser memory while being processed). For batches of up to 10 sensitive files, the workflow is:

  1. Open shrinkpdf.fyi in a browser tab
  2. Compress the first file and download it
  3. Click "Compress another file" to reset, then upload the next one
  4. Repeat for each file

This takes about 30–60 seconds per file depending on size. For 10 files, total time is approximately 5–10 minutes. For larger batches, use one of the methods below.

When to use this method

Use ShrinkPDF one-at-a-time for sensitive documents: IC copies, payslips, medical records, bank statements, signed contracts. These should not be uploaded to third-party servers, even temporarily. For non-sensitive files like marketing materials, reports, or presentations, the batch methods below are faster.

Method 2: ILovePDF Batch (Upload Required)

ILovePDF supports batch compression on their free tier — you can upload multiple PDFs at once and download a ZIP file of the compressed results.

  1. Go to ilovepdf.com/compress_pdf
  2. Click "Select PDF files" and select multiple files at once (hold Ctrl/Cmd to select multiple)
  3. Choose a compression level and click Compress PDFs
  4. Download the ZIP file containing all compressed PDFs

Limitations: Free tier has daily task limits (the number is not clearly displayed). Files are uploaded to ILovePDF's servers and deleted after processing. Do not use for sensitive personal documents.

Method 3: PDF24 Desktop App (Free, Local Processing)

PDF24 offers a free desktop application for Windows and Mac that compresses PDFs locally — no upload required — and supports batch processing through its interface.

  1. Download PDF24 Creator from pdf24.org/en/creator (free, no subscription)
  2. Open the app and navigate to the Compress tool
  3. Drag multiple PDF files onto the interface
  4. Select a compression profile and click Compress All
  5. Choose an output folder for the compressed files

PDF24 processes files locally using Ghostscript under the hood, which gives excellent compression ratios. The interface is functional but not polished. Good for Windows users who need regular batch compression without using the command line.

Method 4: Ghostscript Command Line (Most Powerful)

Ghostscript is a free, open-source PDF engine used by most server-side PDF tools (including ILovePDF). Running it locally gives you the same compression quality as cloud tools, with no upload, no limits, and the ability to process hundreds of files in seconds.

Install Ghostscript

Compress a single file

Single file compression command

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Replace /ebook with /screen for maximum compression or /printer for higher quality.

Compress all PDFs in a folder (Windows)

Windows batch script

for %f in (*.pdf) do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile="compressed_%f" "%f"

Compress all PDFs in a folder (Mac/Linux)

Shell script for Mac/Linux

for f in *.pdf; do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile="compressed_$f" "$f"; done

The PDFSETTINGS options:

Tips for Managing Batch Compression

✓ Try ShrinkPDF Free — No Login Required

No registration. No file size limit. Your file never leaves your browser.

📚 Compress My PDF Now

Frequently Asked Questions

Can ShrinkPDF compress multiple PDFs at once?
Not simultaneously — ShrinkPDF processes one file at a time because compression runs locally in your browser and each file uses browser memory during processing. For sensitive files (payslips, IC copies, bank statements), process them one at a time in ShrinkPDF. For non-sensitive batches of 10+ files, ILovePDF's batch upload or PDF24's desktop app are faster alternatives.
What's the fastest way to compress 50 PDFs for free?
For non-sensitive files, ILovePDF's batch compression is the fastest — upload all 50, click compress, download one ZIP. For sensitive files, Ghostscript command line is fastest (processes all files in seconds locally). PDF24's desktop app is a good middle ground — local processing with a GUI, no command line required.
Will all files in a batch get the same compression level?
When using ILovePDF or Ghostscript, yes — you apply one compression setting to all files in the batch. When using ShrinkPDF one at a time, you can choose different levels for different files if needed.
Is there a limit to how many files I can batch compress for free?
With Ghostscript and PDF24, there is no limit — both run locally on your hardware. With ILovePDF's free tier, there is a daily task limit that may restrict large batches. With ShrinkPDF, there is no limit but you process files one at a time.
Can I automate PDF compression on a schedule?
Yes, using Ghostscript. Write a shell script (Mac/Linux) or batch file (Windows) using the commands in this guide, and schedule it using Task Scheduler (Windows) or cron (Mac/Linux). This is useful for automatically compressing newly received documents in a watched folder.