Optimize Image

Compress Image to Target Size

Automatically pick the quality that gets an image under a target file size.

Image

Choose a file to convert. It's processed locally — never uploaded. Tip: add several files to convert them all at once.

Settings

Output

Result appears here after you select

{ } How to use

  1. Choose the image.
  2. Enter the size you need in KB and pick a format.
  3. Select Process, then download the result.

{ } How it works

Compress Image to Target Size works on the file you upload. Adjust the options, then select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.

Inputs

  • Image — upload a file (image/png,image/jpeg,image/webp,.png,.jpg,.jpeg,.webp); it is read locally in your browser
  • Target size (KB) — a value (default: "200")
  • Format — choose one — JPG, WebP (default: JPG)

Output

A downloadable JPG file — use the Download button in the Output panel.

{ } Common uses

  • Meet a hard upload limit, such as a form that refuses anything over 200 KB.
  • Get a photograph under an email attachment cap.
  • Hit a size budget for a web page without guessing at quality numbers.

{ } Limitations

  • Only the quality is adjusted, never the dimensions. If the target cannot be reached even at the lowest quality — a large photograph against a very small target — you get the smallest file this tool can make, and it will still be over your limit. Resize the image first and try again.
  • The quality is found by a short search of eight attempts, so the result lands under the target rather than exactly on it. Expect to be comfortably under rather than right at the number.
  • Quality is pushed as low as it needs to go, which on a demanding target can look visibly bad. Compress Image gives you direct control when you would rather choose the quality yourself.

{ } FAQ

Is my data uploaded to a server?

No. Everything runs locally in your browser — your files never leave your device.

Can I process more than one file at once?

Yes — add several files and they’re all processed and downloaded together as a ZIP.

Is this tool free?

Yes — it’s completely free and needs no sign-up.

Why is my result well under the target rather than close to it?

Because the search stops after eight steps and only ever keeps an attempt that is already under the limit. Landing exactly on a byte count would need many more encodes for very little gain, and being safely under is the useful answer.

{ } Guides