PROCESSED ON YOUR DEVICE

Compress to target size

Adjust quality and dimensions toward a target size in KB.

Your files and inputs are processed in this browser. Nothing is uploaded.

Preparing the tool. If controls stay unavailable, allow JavaScript and reload.

Tool controls

Files stay in this browser and are never uploaded.

Desktop: 15 MB, 16 million pixels, 8192px per side. Small screens: 8 MB, 6 million pixels, 4096px per side. Animated WebP and SVG are unsupported.

Choose or drop one JPG, PNG or WebP file.

Output format

Quality and resolution are reduced to meet the target. Up to 8 resolutions are checked; an unreachable target returns an error.

PNG/WebP preserve transparency. JPG fills transparent areas with the selected color. Original metadata is not retained when re-encoding.

Quality applies to JPG/WebP only. PNG is re-encoded losslessly and may not become smaller.

Choose an image to check its format and dimensions.

How to use

  1. Choose an image and enter the target size.
  2. Select an output format and run the tool.
  3. Check whether the target was reached before saving.

Before you start

Very small targets may be impossible. Dimensions and quality can decrease; failed targets are reported.

Example

For a 100 KB attachment limit, enter 100 and check the final size.

Common questions

Are my files uploaded?

No. This tool processes data in your browser. Only tool IDs and display preferences may be saved on your device.

Do I need an account?

No. You can use this tool for free without signing up.