PNG to WebP Converter
Upload a PNG image and convert it to WebP with a single click, directly in your browser using canvas. WebP preserves transparency just like PNG, but produces considerably lighter files. The file is never uploaded to any server.
How it works
- Select a PNG image from your device using the file picker.
- The conversion starts automatically as soon as you select the file.
- The image, including its transparency, is drawn onto a hidden <canvas> and re-encoded as WebP with canvas.toBlob().
- A preview of the result is shown along with the original file size and the new WebP file size.
- Download the .webp file with a single click.
Use cases
- Reduce the size of PNG logos or icons with transparency without losing that transparency.
- Optimize images on a website to improve load times while keeping transparent backgrounds.
- Convert PNG screenshots or designs exported from an editor to a lighter format for production.
- Prepare images with transparency for platforms or CMSs that recommend WebP.
Use cases
- Reduce the size of PNG logos or icons with transparency without losing that transparency.
- Optimize images on a website to improve load times while keeping transparent backgrounds.
- Convert PNG screenshots or designs exported from an editor to a lighter format for production.
- Prepare images with transparency for platforms or CMSs that recommend WebP.
Common mistakes
- Thinking that converting to WebP loses transparency, the same way it would with JPG.WebP does support an alpha channel, just like PNG, so the transparency of the original PNG is preserved in the resulting WebP file.
- Expecting an animated WebP to be generated from a static PNG.This tool converts one image at a time, so the resulting WebP is always static, with no animation.
- Assuming the WebP will look identical in any editing program.While WebP is supported by all modern browsers, some older image editors may not be able to open it. Check your software's compatibility before relying exclusively on the WebP file.
Frequently asked questions
No. The conversion happens entirely in your browser via canvas. The original file is never sent to any server.
Yes. WebP supports an alpha channel just like PNG, so the transparent areas of the original file stay transparent in the resulting WebP.
It's usually a considerable saving, especially for images with many colors or gradients, since PNG uses lossless compression while WebP can compress with controlled loss while maintaining good visual quality.
Yes, all modern browsers natively support WebP with an alpha channel, just as they support PNG.
Alternatives
Tools like Squoosh (from Google) or WebP plugins for GIMP and Photoshop also allow this conversion. This tool is convenient because it requires no installation: you select the PNG and download the WebP in seconds, without the image ever leaving your browser.