Image Format Converter webp
Convert between PNG, JPEG, and WebP with a quality slider and a before and after size comparison.
What this tool does
Image formats each have their strengths. PNG is lossless, which suits logos, icons, and anything needing transparency, but produces large files for photographs. JPEG handles photographs well but has no transparency and degrades slightly with every save. WebP generally produces smaller files in both cases while still supporting transparency, which is why it has become the default choice on the web.
This tool converts formats and adjusts quality using the browser canvas. Original and converted file sizes are shown side by side, so you can move the quality slider and see the effect immediately.
When converting to JPEG, transparent regions are filled with white first, because otherwise they render as black.
When to use it
Use it to move site images to WebP and cut transfer size, to convert a PNG without transparency into a smaller JPEG, to produce a PNG fallback where WebP is unsupported, or to find the right quality setting for a target file size.
Input and output examples
A PNG photo converted to WebP at quality 85
1.2 MB β 240 KB, roughly 80 percent smaller
WebP compresses photographic content particularly well.
A transparent PNG converted to JPEG
Transparent areas filled with white
JPEG cannot represent transparency.
Notes and limitations
Lossy compression in JPEG and WebP is irreversible. Saving a reduced-quality file again at high quality does not restore discarded detail; it only inflates the file. Repeated conversion degrades the image further, so always convert from the original. PNG is lossless, so the quality setting does not apply to it. Browser support for encoding varies, and a failed conversion means that browser cannot write that format. Remember also that converting a transparent PNG to JPEG discards transparency.
Frequently asked questions
Can I recover quality by raising the slider again?
No. Information dropped by lossy compression is gone, so always convert from the original.
Why does quality do nothing for PNG?
PNG is lossless, so the setting does not apply. Reduce dimensions or choose another format to shrink the file.
Is WebP safe to use?
All major browsers support it today, though older environments and some third-party services do not, which is why fallbacks are sometimes kept.