Categories

Batch Image Compress

Compress multiple images with quality control, output format selection, and size optimization

Click to upload files or drag and drop files here

Maximum file size: 200MB Maximum files: 100
Supported formats: image/jpeg, image/jpg, image/png, image/webp, image/bmp, image/tiff, image/avif, image/heif

Key Facts

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

Overview

Batch Image Compress is an online media tool for compress multiple images with quality control, output format selection, and size optimization. It is especially useful when working with image, png content.

When to Use

  • Use it when you need to format image, png content quickly in the browser.
  • Helpful for media workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide Image Files (up to 100), Target Quality (1-100), Target Size per File (MB), Output Format as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as image, png test files to verify edge cases and output quality.

Use Cases

Format image, png data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

image, png, jpg

Related Hubs

FAQ

What does Batch Image Compress do?

Batch Image Compress helps you format image, png content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick format workflow, want to verify output, or need a browser-based utility for media tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does Batch Image Compress accept?

Batch Image Compress accepts Image Files (up to 100), Target Quality (1-100), Target Size per File (MB), Output Format and supports file uploads for 1 field.

Is there an API for Batch Image Compress?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

API Documentation

Request Endpoint

POST /en/api/tools/batch-compress

Request Parameters

Parameter Name Type Required Description
imageFiles file (Upload required) Yes -
targetQuality number No -
targetSize number No -
outputFormat select No -
preserveAspectRatio checkbox No -
preserveMetadata checkbox No -
progressive checkbox No -
smartResize checkbox No -
keepOriginalNames checkbox No -
compressionMethod select No -

File type parameters need to be uploaded first via POST /upload/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-batch-compress": {
      "name": "batch-compress",
      "description": "Compress multiple images with quality control, output format selection, and size optimization",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=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]