Skip to content
UtilPouch

Compress images to a target size

Pick the limit you have to meet. The compressor finds the highest quality that fits, and shrinks the image only if quality alone is not enough.

Drop images here

JPG, PNG, WebP, HEIC, AVIF or GIF. Up to 20 files, compressed on this device.

How it works

Searches quality, not guesses it

Each image is encoded at the top quality first. If that is too big, eight rounds of binary search narrow down the best quality that stays at or under your limit.

Resizes only when it has to

Some targets are too small for a full-size photo at any quality. With "Allow resize" on, the image is scaled down in measured steps until it fits, and the row tells you the new size.

Honest when a target is impossible

If nothing fits, you get the smallest file that could be made and a red note saying so, instead of a file that quietly breaks the limit.

Questions

How does target-size compression work?

The tool encodes your image at several quality levels, using binary search to find the highest one whose file is at or under your target. If even the lowest quality is too large and resizing is allowed, it scales the image down and searches again.

Are my images uploaded to a server?

No. Decoding, compression and the ZIP are all done by your browser. The page makes no upload requests, and it keeps working if you go offline after it loads.

Which output format should I choose?

Auto uses JPG for photos and WebP for images with transparency. Choose JPG for forms and email, WebP for websites, and PNG only when you need lossless output.

Is there a limit on files?

Up to twenty images per batch. Each is processed on its own, and you can save them one by one or together as a ZIP.