Compare image formats on your own image
Format comparisons online use other people's sample photos. The best format depends on your image: a photo, a screenshot, a logo, a scan. Drop it above and it's encoded four times in parallel:
| Format | Type | Transparency | Support |
|---|---|---|---|
| JPG | Lossy | No | Universal |
| PNG | Lossless | Yes | Universal |
| WebP | Lossy (or lossless) | Yes | All current browsers, most apps |
| AVIF | Lossy (or lossless) | Yes | All current browsers, newer apps |
Each card shows the file size, the change against your original, the SSIM similarity score, the quality setting and the time it took. The smallest format that still looks right is marked Best. Use Compare to view any version against the original with the slider, and Download to save it.
How the comparison stays fair
Quality numbers mean different things in different formats: "80" in WebP isn't "80" in JPG. Each level therefore uses settings chosen to look about the same:
| Level | JPG | WebP | AVIF | PNG |
|---|---|---|---|---|
| Smaller | 70 | 65 | 45 | lossless |
| Balanced | 82 | 78 | 58 | lossless |
| High | 92 | 90 | 75 | lossless |
Then it measures instead of assuming: SSIM (structural similarity) compares each result with the original. 1.000 is identical; above about 0.98 most people can't see a difference; below 0.90 artefacts become visible. The Best badge goes to the smallest file with SSIM ≥ 0.95 that also keeps transparency when your image has it.
The encoders are the best open ones: MozJPEG, OxiPNG, libwebp and libavif, compiled to WebAssembly.
Typical results
- Photos: AVIF is often 40–60 % smaller than JPG at similar quality, WebP 25–35 % smaller. PNG is several times larger than JPG.
- Screenshots and UI: lossless PNG can be competitive; WebP often wins; JPG can blur text edges at low quality.
- Logos and graphics with transparency: WebP or AVIF, as JPG can't do transparency.
Which format should you use?
- Website images: AVIF or WebP (with a JPG fallback for very old browsers if needed).
- Email, documents, printing, older software: JPG for photos, PNG for graphics.
- Editing and archiving: PNG (lossless), or keep the original.
- Many files at once: after choosing, use the Bulk Image Converter or the Image Converter.
Private by design
All four versions are created by your browser on your device. Your image is never uploaded.