Skip to content

Images

Image Compressor

Reduce JPEG, PNG or WebP images toward a target file size, with optional resizing and a local preview.

How to use this tool
  1. Choose a PNG, JPEG or WebP image.
  2. Set a target size, export format and optional maximum side.
  3. Compress, inspect the preview and size report, then download.

Loading tool…

Find this tool in

About this tool

What is Image Compressor?

Reduce an image's export size by balancing dimensions, format and lossy quality against its intended use. Preview the output and inspect its actual byte count before replacing the original. Compression is not guaranteed to make every image smaller, particularly when the source was already efficiently encoded.

A worked example

Reduce a large photo's dimensions before adjusting quality

Example input

2400 × 1600 px photo
maximum side: 1200 px
JPEG export

Expected result

1200 × 800 px
Actual bytes depend on the image and quality setting.

Choose a maximum side of 1200 pixels and generate the export. The aspect ratio remains three to two. Compare its preview and measured file size with the source rather than expecting a fixed compression percentage. Resize first when the original dimensions exceed the needs of the destination.

Common mistakes and limits

  • Repeated lossy recompression can accumulate artifacts. Return to the original when trying another setting.
  • JPEG does not preserve transparency. Check the export background and supported browser formats before downloading.

Features

What you can do

  • Target size in KB with bounded quality search
  • Optional maximum-side resizing without upscaling
  • JPEG and WebP exports with size comparisons

Frequently asked questions

Questions about Image Compressor

Will the image always reach the target size?

No. Image detail, dimensions and the browser encoder affect file size. If the lowest quality cannot reach your target, reduce the maximum side. Compression is lossy, metadata can be removed, and already optimized files may become larger. JPEG fills transparency with white.

Related tools