Compress Images to a Target Size

Set a maximum size for every image, or use a quality preset. Compress JPG, PNG, WebP, and more in batch with verified downloads. 100% browser-based. Zero uploads.

No Upload Required Batch Compression Target Size Control ZIP Download

Drop your images here

or click to browse —select multiple images at once

Supports JPG, PNG, WebP, GIF, BMP —Up to 20 MB each, 30 images

How it works

Three simple steps —everything happens in your browser.

1

Upload your images

Drag and drop or click to select multiple images. JPG, PNG, WebP, GIF, and BMP are supported.

2

Choose a quality preset or target size

Use Low, Medium, or High, or choose a maximum size for every completed image.

3

Verify and download

Target-size results are checked before individual download or ZIP export.

Why choose ToolKnit for Image Compression?

100% Private —No Server Uploads

Your images never leave your device. All compression is done locally using the Canvas API. No data is sent to any server —ever.

Batch Processing

Compress up to 30 images per batch. Files are processed one at a time to control memory, then packaged into a convenient ZIP download.

Verified Target Size

The final encoded bytes are checked before download. Quality is adjusted first, with proportional resizing only when needed to meet the limit.

Optional Resize

Optionally downscale images that are too large. Perfect for preparing web-ready images or meeting email size limits.

Pro Tips

  • Use a target-size preset such as 200 KB or 500 KB when a website sets an upload limit.
  • Completed target-size images are always at or below the selected maximum, not just approximately smaller.
  • Transparent PNGs stay transparent. Enable Smart smaller format only when WebP is accepted by your destination.
  • A ZIP contains each successful image at its limit; archive overhead can make the ZIP itself slightly larger.
FAQ

Frequently Asked Questions

Can I compress an image to a specific file size?

Yes. Choose Compress to a target size, select a common limit such as 100 KB, 200 KB, or 500 KB, or enter a custom maximum. Every completed image is checked before download.

Will every result stay below my selected limit?

Yes for completed target-size results. ToolKnit verifies the final encoded bytes and includes a file only when it is at or below your chosen maximum. An image that cannot meet the limit, such as an animated GIF that must keep its frames, is clearly excluded.

What happens to PNG and GIF images?

Transparent PNGs keep transparency. By default PNGs stay PNG; you can opt into WebP for a smaller compatible output. Animated GIFs are kept unchanged to avoid losing frames, so they cannot be claimed as target-size results when they exceed the limit.

Can I compress multiple images to the same size?

Yes. The selected maximum applies to every image in the batch individually. Successful images can be downloaded as a ZIP; the ZIP file itself may be slightly larger because of archive overhead.

Do my images get uploaded to a server?

No. Compression happens entirely in your browser using the Canvas API. Your images are never uploaded anywhere, and the tool works offline once loaded.