Convert PNG to WebP without uploading anything
This tool converts PNG images to WebP entirely in your browser. WebP keeps the PNG’s alpha channel, so transparency is preserved, while producing a much smaller file — ideal for logos, icons, screenshots and graphics you want to serve quickly on the web.
How it works
Each image is decoded, drawn onto an HTML <canvas>, and re-encoded with the
browser’s built-in WebP encoder at the quality you choose:
PNG → decode → draw to <canvas> (alpha kept) → canvas.toBlob("image/webp", quality)
No background colour is added, so transparent pixels stay transparent. The tool reports the before and after file sizes and the percentage saved.
Example
A 400 KB PNG logo with a transparent background, re-encoded at quality 0.8, typically drops to 80–120 KB as WebP — a saving of around 70% — while keeping the transparency intact.
| Quality | Typical outcome |
|---|---|
| 1.0 | Near lossless, largest WebP |
| 0.8 | Big saving, no visible loss |
| 0.5 | Smallest, slight softening |
Everything happens locally — your images are never uploaded, stored, or seen by anyone.