Compress Images to a Target KB

Compress an image to a target KB using the highest quality setting found by the browser.

Guests can process one file up to 5 MB. Sign in to use a larger file.

Input

Output

Your result will appear here.

Your input is processed locally in this browser and is not uploaded by this tool. Tool activity

How to use

Choose an image and enter the maximum KB. Keep Automatic or select JPEG or WebP as required.

  1. Choose a PNG, JPEG or WebP image. Keep Automatic or choose an output format.
  2. Enter a target between 10 and 20,000 KB.
  3. Compress, compare sizes and download.

Shows before and after sizes and tells you when the target cannot be reached without resizing.

If the file is still too large, you can allow resizing. Check any minimum pixel dimensions first.

Frequently asked question

Are pixel dimensions preserved?

The tool keeps the original dimensions by default. Allow resizing when needed and when the recipient accepts smaller dimensions.