Image Compressor — Quality and Maximum Width

Image Tools

Loading tool...

About This Tool

Re-encode images as WebP, JPEG or PNG with an optional width reduction. Compare original and output sizes and download individual results.

How to Use

  1. Select up to 20 supported images, each at most 20 MiB.
  2. Choose a maximum width from 1 to 8192 pixels.
  3. Select WebP, JPEG or PNG and quality from 10–100%.
  4. Compress, compare sizes and download each successful result.

Re-encode and optionally reduce width

This compressor redraws PNG, JPEG, WebP, GIF or BMP input using your selected output format. Images wider than the maximum width are reduced proportionally; narrower images keep their dimensions. Height rounds to whole pixels with a minimum of one. The process is browser-local and does not upload selected files. It is not an optimizer that guarantees the smallest possible file.

Choose the output

JPEG and WebP receive the quality slider value as a 10–100% encoding hint. PNG does not use this as a lossy quality control. The output can be larger than the original, especially when converting an already compressed image. Compare the displayed original and new sizes rather than assuming a saving. JPEG fills transparent areas with white; PNG and supported WebP encoding can retain transparency. Animation becomes a still image, and original metadata or color profiles are not guaranteed to survive.

Limits and failed files

The batch accepts up to 20 supported files of at most 20 MiB each, processed one after another. Decoded sources above 40 million pixels fail. Output must fit within 8192 pixels on each side and 16 million pixels in total; a tall image may need a smaller maximum width to fit. Decode has a 15-second timeout. Dimensions are checked after decoding, so memory use can rise before rejection. A corrupt file or failed encoder does not stop remaining files. A mismatched output MIME type is rejected.

Keep useful results

Results show source and output dimensions, file size and individual download links. Totals include successful images only. There is no ZIP, target-kilobyte mode or guarantee of a percentage saving. Changing settings or files clears old results and releases their URLs. Preserve the originals and inspect sharpness, colors and transparency. Use Image Resizer for a percentage scale or exact dimensions.

Frequently Asked Questions

Can the result be larger?
Yes. Re-encoding or changing format can increase size.
Does it enlarge smaller images?
No. Maximum width only reduces images wider than that limit.
Does PNG use the quality slider?
Not as a lossy quality setting in canvas encoding.