PNG to WebP
How to convert PNG to WebP
- Add your PNG files: drop them on the box above or click it. Fifty is the most per run.
- Quality starts at 85. Lower it for a smaller file. Tick Lossless if every pixel must stay exactly as it is.
- Press Convert to WebP.
- Compare the size line under each result with your PNG. A bigger WebP gets a warning note.
- Download the WebPs singly, or all together as a ZIP.
What this PNG to WebP converter does
Your browser decodes each PNG and writes a WebP. Two settings matter: Quality (10 to 100, default 85) and Lossless. Transparent areas stay transparent. A file named logo.png comes out as logo.webp, and your PNG is not touched.
The page takes PNG only: a JPG dropped here got "this file type is not supported here." Starting from JPG instead? Use JPG to WebP. To go back, for example when a slide deck will not take WebP, use WebP to PNG.
Is the WebP really smaller?
For photos, a lot. For small flat logos, not always. Our 800 by 600 photo PNG of 620,844 bytes became 12,766 bytes at the default quality, about 2 percent of the original. At quality 95 it was 54,648 bytes, and at 50 it was 6,296.
A 600 by 600 transparent logo behaved the other way. Its PNG was 21,105 bytes, and the default lossy WebP came to 22,624, 7 percent larger. The page notices and says "This WebP came out larger than the original." Dropping to quality 50 gave 18,890 bytes, and Lossless gave 12,628. A 200 by 200 half-transparent disc went from 1,222 bytes to 1,622 at the default, and to 366 in lossless mode.
The lesson: check the size line. Photos and large graphics gain most from lossy WebP. Small flat graphics are often better in lossless mode, or left as PNG.
Lossy or lossless
Lossy WebP throws away fine detail. In our photo test the average pixel moved by 1.75 on a 0 to 255 scale at quality 85, and a few pixels at sharp edges moved by as much as 61. Lossless keeps every pixel: we compared the lossless outputs with the PNGs and the difference was 0 in every run.
Lossless is the right pick for logos, screenshots and text. Our screenshot-like PNG of 38,688 bytes became 2,464 bytes in lossless mode, against 26,548 at quality 85. For photos it saves little: the lossless photo was 574,862 bytes, 93 percent of the PNG.
Transparency
Transparent pixels stay transparent. The corner pixel of our logo read back as 0, 0, 0, 0, and the alpha channel matched the PNG in every run, lossy or not. The half-transparent disc kept 50 percent opacity, at the centre 255, 1, 0, 128 in lossy mode against 255, 0, 0, 128 in lossless.
Metadata
None of the WebP files we read back had EXIF tags, and a note under each result says camera details and location data were removed. The page does not test animated PNG (APNG) files, so do not rely on animation surviving.
Limits and what we did not test
Fifty PNGs per run is the cap, 100 MB each. The 51st is refused with "Only 50 files at a time." A text file renamed .png fails with "this is not an image this tool can read." Fifty copies of the photo PNG, 29.6 MB together, became 623 kB of WebP in about 3.8 seconds.
Not tested: real web graphics, 16-bit or palette PNGs, colour profiles, files near 100 MB, any browser but Chromium. Our samples are synthetic or made with Pillow.
When to convert, and when not to
Convert for web pages, where WebP saves bandwidth. Keep the PNG for editing, because you will want the lossless master, and for any program that does not read WebP. If the result is still too heavy, try the image compressor. More tools are on the converters hub.
Measured results
| Source PNG | Setting | WebP bytes | Pixel change |
|---|---|---|---|
| Photo, 620,844 bytes | Quality 100 | 107,456 | 1.48 |
| Photo | Quality 95 | 54,648 | 1.6 |
| Photo | Quality 85 (default) | 12,766 | 1.75 |
| Photo | Quality 50 | 6,296 | 2.01 |
| Photo | Quality 10 | 3,688 | 2.54 |
| Photo | Lossless | 574,862 | 0 |
| Transparent logo, 21,105 bytes | Quality 85 | 22,624 | 0.49 |
| Transparent logo | Quality 50 | 18,890 | 0.67 |
| Transparent logo | Lossless | 12,628 | 0 |
| Screenshot-like, 38,688 bytes | Quality 85 | 26,548 | 0.26 |
| Screenshot-like | Lossless | 2,464 | 0 |
| Half-transparent disc, 1,222 bytes | Quality 85 | 1,622 | 0.25 |
| Half-transparent disc | Lossless | 366 | 0 |
For big folders or fine control
A desktop image program is easier for hundreds of files, batch renaming, or encoder settings beyond one slider. GramFile has download pages for XnView MP and IrfanView.
Frequently asked questions
Are my PNG files uploaded?
No. We logged the page's traffic while converting two files: 18 requests, none with a body. The outside hosts were Google's ad and analytics services and jsDelivr. The codecs now come from jsDelivr.
Does PNG to WebP keep transparency?
Yes. The alpha channel matched the PNG in every run, and a transparent corner read back as alpha 0.
How much smaller is WebP than PNG?
It depends on the picture. Our photo fell from 620,844 to 12,766 bytes, but a small transparent logo grew from 21,105 to 22,624 bytes at the default setting.
Does converting PNG to WebP lose quality?
In lossy mode, yes, slightly. At quality 85 the average pixel in our photo moved by 1.75 on a 0 to 255 scale. Tick Lossless for no loss at all.
How do I convert PNG to lossless WebP?
Tick the Lossless box before pressing Convert to WebP. Our lossless files matched the PNGs pixel for pixel.
Why did my WebP come out bigger?
Small flat graphics can be bigger in lossy WebP. Lower the quality, tick Lossless, or keep the PNG. The page shows a note when it happens.
Is the EXIF data kept?
No. The WebP files we checked had no EXIF tags.
How many files fit in one go?
Fifty files per run, up to 100 MB each. The ZIP button bundles the results.