Image Compressor

Compare actual file sizes at the original dimensions. Adjust JPEG or WebP quality and try a target size.

Images stay in this browser. Nothing is uploaded or saved between visits.

Drop static JPG, PNG or WebP images here, or paste an image.

Resource limits and browser support

Up to four images: 25 MiB, 16 million pixels and 8000 pixels per side each; 64 MiB and 32 million source pixels in total. Serial worker processing has a 60-second deadline per image.

JPEG flattens transparent pixels onto white. Re-encoding can change color or metadata; professional print fidelity and complete metadata removal are not promised. Browsers without worker canvas use a bounded canvas fallback: cancellation discards late results, but an active browser codec cannot be forcibly stopped.

Choose images to compare real dimensions and file sizes.

How to use this tool

  1. Choose static JPG, PNG or WebP images and an output format.
  2. For JPEG or WebP, choose a quality ceiling and optionally a target size in KiB. Dimensions stay unchanged.
  3. Process and compare actual bytes. Target search uses a bounded number of attempts and can report that the target was not reached.
  4. Inspect the preview before downloading. Larger outputs are labelled honestly, and individual results remain available if ZIP export fails.

Try a known example

A 1200 × 800 source remains 1200 × 800 in this tool. File-size changes depend on image content, format and browser encoder. PNG is a lossless re-encode and may be larger; no fixed saving is promised.

Try a working example

Questions and useful limits

Will every image get smaller?

No. Already optimized files and format conversions can grow. The result reports actual before/after bytes, including increases. Use the resizer when you also want fewer pixels.

What does the target size guarantee?

Nothing is silently promised. JPEG/WebP search tries up to six quality values below your quality ceiling; if none meets the target, the smallest tested result remains available with an explicit unmet-target message. PNG has no quality or target search.

What happens to transparent pixels?

PNG and supported WebP export retain alpha. JPEG flattens onto white. Unsupported WebP export produces a clear error rather than a PNG incorrectly named WebP; choose PNG or JPEG to retry.

More free tools