PDF Batch Compress

Compress multiple PDF files with image downsampling and optimization, packaged as ZIP

Process multiple PDF files in one operation and compress each according to the same settings.

Features:

  • Upload multiple PDF files at once
  • Apply same compression settings to all files
  • All compressed outputs packaged in a single ZIP
  • Quality presets: screen, ebook, printer, prepress
  • Image DPI downsampling control
  • Web linearization option

Optimization steps:

  • Downsample color/gray/mono images
  • Font subsetting and duplicate image detection
  • Stream recompression and object stream optimization
  • Optional linearization for web delivery

Use Cases:

  • Batch document preparation for web delivery
  • Reducing storage size for document archives
  • Optimizing multiple PDFs for email attachments

Click to upload files or drag and drop files here

Maximum file size: 10MB Maximum files: 10
Supported formats: application/pdf

Key Facts

Category
Documents & PDF
Input Types
file, select, number, checkbox
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The PDF Batch Compress tool allows you to optimize and reduce the file size of multiple PDF documents simultaneously. By applying customizable image downsampling, font subsetting, and stream optimization settings, it packages your compressed PDFs into a single, convenient ZIP archive.

When to Use

  • When you need to reduce the size of multiple PDF documents at once to meet email attachment limits.
  • When preparing a batch of heavy PDF reports for fast web loading and online distribution.
  • When archiving large volumes of PDF files and wanting to minimize server or local storage usage.

How It Works

  • Upload up to 10 PDF files that you want to compress.
  • Select a compression profile (Screen, eBook, Printer, or Prepress) and optionally set a custom image DPI override or enable web linearization.
  • Click compress to run image downsampling, font subsetting, and stream optimization across all files.
  • Download the resulting ZIP archive containing all of your optimized PDF files.

Use Cases

Optimizing a batch of monthly financial reports for email distribution.
Downsampling high-resolution image-heavy PDFs for faster loading on mobile web browsers.
Compressing scanned document archives to save storage space on corporate servers.

Examples

1. Batch Optimizing E-Books for Web Distribution

Digital Publisher
Background
A publisher has ten newly designed e-books in PDF format, but the high-resolution images make the files too large for readers to download quickly.
Problem
The PDFs need to be compressed to a balanced quality level and linearized for fast web viewing without processing each file individually.
How to Use
Upload the ten PDF files, select the 'eBook (balanced)' compression profile, check the 'Linearize for Web' option, and start the batch compression.
Example Config
Quality: eBook, Linearize: True, Image DPI: 150
Outcome
The publisher receives a ZIP file containing all ten optimized PDFs, significantly reduced in size and ready for instant web streaming.

2. Compressing Scanned Contracts for Archive Storage

Legal Assistant
Background
An assistant needs to archive several scanned contract PDFs, but the scanner's default settings generated unnecessarily large files.
Problem
The files are consuming too much server space, and they need to be downsampled to a standard screen resolution.
How to Use
Upload the scanned PDFs, select the 'Screen (max)' compression profile, and set the Image DPI Override to 150.
Example Config
Quality: Screen, Image DPI: 150, Linearize: False
Outcome
The PDFs are compressed with downsampled images and packaged into a ZIP archive, saving over 60% of the original storage space.

Try with Samples

pdf, image, file

Related Hubs

FAQ

What compression profiles are available?

You can choose from Screen (maximum compression), eBook (balanced quality and size), Printer (high quality), and Prepress (best quality preservation).

Can I set a specific image resolution for the compressed PDFs?

Yes, you can use the Image DPI Override option to set a custom DPI value between 0 and 600.

What does the 'Linearize for Web' option do?

It optimizes the PDF structure so that web browsers can display the first page of the document before the entire file finishes downloading.

How do I receive the compressed files?

All processed and compressed PDF files are packaged together and delivered as a single ZIP file download.

Is there a limit to the number of files I can upload?

Yes, you can upload up to 10 PDF files at a time, with a maximum file size limit of 10 MB per file.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-batch-compress

Request Parameters

Parameter Name Type Required Description
sourceFiles file (Upload required) Yes -
quality select No -
imageDpi number No -
linearize checkbox No -

File type parameters need to be uploaded first via POST /upload/pdf-batch-compress to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-batch-compress": {
      "name": "pdf-batch-compress",
      "description": "Compress multiple PDF files with image downsampling and optimization, packaged as ZIP",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-batch-compress",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]