PNG to WebP
Convert PNG images to WebP without losing transparency, one file or a whole batch. Nothing is kept once the result reaches you.
Files
Drop images here
PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO — mix as many formats as you like. Files are converted on our server and deleted the moment the result is sent back; nothing is stored and nothing is looked at.
Convert to
WebP is lossy — quality trades detail for size. Transparency is kept.
WebP was designed to replace both PNG and JPEG on the web: it keeps the alpha channel that PNG needs while compressing photographic content closer to how JPEG does. For a transparent image it is usually the smaller file with no visible difference, which is why it is worth converting assets that ship to browsers. The conversion runs on our server and the original is discarded the moment the result is sent back.
How it is calculated
canvas.toBlob(callback, "image/webp", quality)
libvips re-encodes the decoded pixels as WebP. Because WebP keeps alpha, transparent areas pass through untouched and there is no background colour to choose.
Source: MDN HTMLCanvasElement.toBlob() — quality is a number between 0 and 1 for lossy formats
Questions people ask
- Does WebP keep transparency?
- Yes. WebP supports an alpha channel, so transparent PNG areas stay transparent. This is the main reason to pick WebP over JPG when the image is not a plain rectangle photograph.
- Is WebP supported everywhere?
- In current browsers, yes. Older software outside the browser — some desktop viewers, older office suites and a few social platforms — may still refuse it, so keep a PNG or JPG copy for anything you send to other people.
- Should I use quality 100?
- Rarely. At 100 the encoder keeps almost everything and the file can end up larger than the PNG. Values between 75 and 90 usually look identical at normal viewing size while cutting the size substantially.
- Can I convert several files at once?
- Yes. Drop in as many images as you like and every one of them comes out as WebP. They may be different formats — PNG, JPEG, WebP, GIF, BMP, AVIF, TIFF, SVG, ICO can sit in the same list — because each file is converted on its own. Download them one by one, or take the whole batch as a single .zip.
- What if I want PNG or JPEG or GIF or AVIF or TIFF instead of WebP?
- Pick it under "Convert to". This page opens on WebP because that is the conversion it is named after, but PNG and JPEG and GIF and AVIF and TIFF are one click away, and the options underneath follow whichever you choose — quality appears for the formats that are lossy, a background colour for the ones that cannot store transparency.
Sources
The documents this page reads its numbers out of, linked so you can check them yourself.
Found a problem, or want more?
A number that disagrees with its source is a defect, not a rounding preference.
What did you enter, what did the tool show, and what did you expect instead? If you have a source that disagrees with ours, a link to it is the most useful thing you can send.
Copies the page and tool details so you can paste them wherever you report it.
Related tools
PNG to JPG
Convert PNG images to JPG, one file or a whole batch. The work runs on our server with libvips and nothing is kept once the result reaches you.
JPG to WebP
Convert JPG photographs to WebP to cut page weight, in batches if you like. No account, no sign-up, and nothing is kept once the result reaches you.