All tools / Images

Image Compressor to Target Size

Make a photo fit a form or messaging limit while showing the quality tradeoff.

or drop images here ·

Files stay on this device. Nothing is uploaded..png, .jpg, .jpeg, .webp

  1. 1

    Choose images

    Pick images from your device or drop them on the page. Type is checked from the file’s bytes, not its name.

  2. 2

    Set options

    Set a target size. The tool searches encoder quality until the cap is met or reports TARGET_UNMET.

  3. 3

    Save images

    Processing happens in this tab. You download a new copy; your originals are never changed.

How to use this tool

How it works

  1. Choose JPEG, PNG, or WebP files. Type is read from bytes.
  2. Set a target size. The tool searches encoder quality until the cap is met or reports TARGET_UNMET.
  3. Download a new file. A candidate that misses the target is still a real encode, not a renamed original.

Files stay in this tab. No upload.

Lossless PNG may miss a tiny target. Originals are not overwritten.

Supported inputs and outputs

JPEG, PNG, WebP. AVIF is gated.

Example

A PNG under a 200 KB cap encodes to a file at or below 200000 bytes.

Questions and answers

What if the target is impossible?

The job reports TARGET_UNMET and still offers the best candidate.

Related: Batch Image ConverterBatch Resize, Crop and PadImage Metadata Inspector and Cleaner

Practical guides