Image Compressor
Compresses images to a target quality or file size in your browser, with a live…
Encodes the same image as JPEG, WebP, AVIF and PNG at one quality setting and shows the real byte counts side by side.
The Image Format Size Comparer encodes the same image as JPEG, WebP, AVIF and PNG at one quality setting and shows the real byte counts side by side. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.
| Typical, photographs | AVIF < WebP < JPEG < PNG |
|---|---|
| Typical, flat graphics | PNG can beat the lossy formats outright |
| WebP against JPEG | Roughly 25–35% smaller at matched quality |
| AVIF against JPEG | Roughly 40–50% smaller |
| Transparency | JPEG has none; the other three do |
Uses the browser's built-in encoders at their default effort. Dedicated command-line encoders given time will produce smaller files in every format, so treat these as a fair comparison rather than as best-achievable sizes.
Compresses images to a target quality or file size in your browser, with a live…
Resizes images to exact pixel dimensions or a percentage, with aspect ratio locking and…
Crops images to a free selection or a fixed aspect ratio, with pixel-accurate coordinates.
Converts between JPG, PNG, WebP and BMP, with transparency handling and quality control.
Converts JPG images to lossless PNG, useful when you need to edit further without adding…
Converts PNG to JPG with adjustable quality and a chosen background colour where the PNG was…
Converts PNG to WebP, keeping transparency and typically cutting file size by a third or more.
Converts JPG photos to WebP for smaller files at the same visual quality.
Converts WebP images to PNG for software and platforms that still do not accept WebP.
Converts WebP images to JPG with a background colour for any transparent areas.