Local image batch compression/format conversion (capacity reduction) | ZeroTools

Register JPEG, PNG, WebP, and HEIC/HEIF images, specify a target capacity and maximum edge, and sequentially compress them. Output can be selected from JPEG, PNG, and WebP. It does not guarantee staying below the target capacity or maintaining image quality, so please also check the display, transparency, and color after saving.

Loading tool interface...

When to use this tool

Back to the tool ↑

Reduce an image’s file size or dimensions before export.

Try it first

Use the image from the practical guide and aim for a JPEG below 100 KB and no larger than 1,200 px on its longest side. Check the resulting size and dimensions.

Before you start

The result depends on the image and settings. Verify both limits before submitting the file.

Local Browser Processing and Network Communication Notice

This tool's processing operates locally within your browser. Standard site assets, analytics, and advertisements may communicate separately. There are no guarantees.

ZeroTools: Browser Processing & Privacy

ZeroTools focuses on tools that process input on your device. Check each tool’s scope and limitations before use.

Processing and privacy policy
Chapter 1

How to Compress Images Under Target Submission Limits

Application portals, administrative forms, and customer support channels often enforce strict constraints on uploaded images, such as requiring each individual file to stay under 100 KB or limiting pixel dimensions to 1200 px.

This tool lets you configure exact per-file numerical ceilings for target size and pixel dimensions in advance, evaluate outputs in a side-by-side comparison, and adjust parameters to satisfy submission criteria.

Chapter 2

Setting Individual Target Size, Long Edge, and Output Format

Files are not compressed immediately upon selection. You can queue up to 50 files (JPEG, PNG, WebP, or HEIC/HEIF) up to 30 MiB each, processing them in sequence.

- Target Size (KB): Set an integer between 1 and 5000 KB per file (calculated as 1 KB = 1,000 bytes; 100 KB = 100,000 bytes).

If an image cannot be compressed to this threshold, it is flagged as target unachieved.

- Max Long Edge (px): Select a preset (1280, 1920, 2560, 99999 px) or specify a custom integer from 1 to 99999 px. Note that 99999 px functions as a finite ceiling, not an infinite mode.

Upscaling is disabled. To satisfy strict file size caps, the engine may downscale output pixel dimensions below your chosen max long edge.

- Output Format: Choose JPEG, PNG, or WebP. JPEG does not support transparency (transparent areas turn opaque). While PNG and WebP accommodate alpha channels, re-encoding and resizing do not guarantee bit-exact pixel preservation and can increase file sizes for certain graphic assets.

Chapter 3

Verification Example with Demo Image

Clicking "Load Verification Demo Image" when the queue is empty loads a test poster (2,526,322 bytes, 1200×800 px, containing fine typography, gradients, and granular patterns without personal data) and preconfigures JPEG output, a 100 KB target, and a 1200 px max long edge.

In verified PC browser testing conducted on October 23–24, 2026, executing compression produced:

- Result: 75,379 bytes / 976×650 px / image/jpeg

While the individual 100 KB limit was satisfied, canvas dimensions were automatically reduced from 1200×800 px to 976×650 px to meet the byte ceiling.

Output metrics will naturally vary depending on source characteristics and operating environments.

Chapter 4

Side-by-Side Review and Adjustment Workflow

After processing, the original preview remains visible alongside the generated result, allowing direct comparison of visual quality, dimensions, byte sizes, output MIME types, and percentage changes.

You can save the output under a distinct filename for review. Modifying settings resets previous outputs while keeping registered source images intact, letting you re-run compression immediately with new parameters.

Page reloads clear memory permanently.

Chapter 5

HEIC Handling, Metadata, and Privacy

- HEIC/HEIF Conversion: HEIC inputs are pre-converted in-browser into a quality 0.9 JPEG primary frame. The queue header calculates reductions against the actual uploaded HEIC byte size, whereas detailed comparison panels display the intermediate JPEG baseline.

Exif, HDR, and depth layers may not persist.

- Metadata: Retention or removal of Exif tags and color profiles is not guaranteed.

- Local Execution: All compression operates entirely within your browser runtime without transmitting image files to external processing servers.

Frequently Asked Questions (FAQ)

A.
Inputs target browser-readable images and HEIC/HEIF, and outputs can be selected from JPEG, PNG, and WebP. HEIC/HEIF is first converted to JPEG.
A.
It is not guaranteed to always fit. Results vary depending on image content, dimensions, output format, and encoder.
A.
Yes. Changing settings will discard the old results and return the images to a pending state, allowing you to re-execute the compression with the new parameters.
A.
They are not the same. PNG capacity is difficult to reduce, and it may become larger than JPEG or WebP.