Convert PNG to WebP
Convert PNG to WebP with the libwebp encoder in your browser. Keeps transparency, cuts file size sharply, batch input and ZIP output.
- Runs in your browser
- Files are never uploaded
- Free, no account
Pixel-perfect output. Expect files several times larger than the quality slider produces.
Off keeps the alpha channel. Turn it on to paint a solid background behind transparent pixels.
Metadata is stripped. Re-encoding rebuilds the file from raw pixels, so EXIF — GPS coordinates, camera model, serial number, capture time — and any XMP or IPTC block are dropped. Pixels are written in sRGB.
Nothing leaves this tab. The encoders are WebAssembly builds of libjpeg-turbo (MozJPEG), libpng/oxipng, libwebp and libavif running inside a worker on your machine.
How to convert PNG to WebP
- Drop your PNG files onto the box above — one, or a hundred.
- Decide between lossy and lossless. The Lossless WebP switch reproduces every pixel exactly and still beats PNG on size; leaving it off lets the quality slider trade a little accuracy for a much smaller file.
- If you chose lossy, set the quality. 80 is a good starting point for photographs and detailed artwork.
- Transparency is kept automatically. Turn on the flatten option only if you want a solid colour behind the image.
- Save each WebP, or grab everything in one ZIP.
Lossy or lossless — how to decide
WebP is really two codecs sharing a container. Lossless WebP uses a spatial predictor plus a colour-cache entropy coder, and is a straight upgrade over PNG for the same class of image. Lossy WebP is derived from the VP8 intra-frame coder and behaves like a better JPEG that happens to support alpha.
| Source PNG | Best mode | Typical saving | Why |
|---|---|---|---|
| Logo, icon, flat illustration | Lossless | 20–45% smaller | Hard edges must stay crisp; the colour cache is very effective |
| UI screenshot with text | Lossless | 25–40% smaller | Lossy coding produces visible ringing around glyphs |
| Photograph saved as PNG | Lossy, q80 | 85–95% smaller | PNG is a poor fit for photographic noise in the first place |
| Illustration with soft gradients | Lossy, q85 | 60–80% smaller | Smooth areas compress extremely well with no visible loss |
| Image with a soft drop shadow | Either | varies | Both modes keep the 8-bit alpha channel intact |
What WebP keeps and what it drops
- Alpha: kept, at full 8-bit precision, in both modes.
- Colour depth: 8 bits per channel. A 16-bit PNG is reduced to 8-bit — imperceptible for display, relevant if you are storing scientific or HDR source data.
- Animation: WebP supports it, but this converter writes still images only.
- Metadata: dropped. The file is rebuilt from raw pixels, so no EXIF or XMP survives.
- Dimensions: WebP has a hard limit of 16383 × 16383 pixels. Larger PNGs must be resized first.
Browser and tooling support
WebP has been supported by every shipping browser since Safari 14 arrived in 2020, which in practice means everything your visitors use. The gaps are elsewhere: some desktop image viewers, older versions of Microsoft Office, a few email clients and the occasional marketplace upload form still reject it. Serve WebP on the web, and keep a WebP to PNG or WebP to JPG conversion in your back pocket for anything that complains.
Going further, AVIF usually beats WebP by another 20–30% on photographs, at the cost of much slower encoding. To convert a mixed batch of formats in one pass, use the universal image converter.
Questions
How much smaller will my PNGs get?
Lossless WebP is typically 20–30% smaller than the same PNG. Lossy WebP at quality 80 is often 60–80% smaller, and for flat graphics with few colours the difference can be even larger.
Should I use lossy or lossless WebP?
Use lossless for logos, icons, screenshots and anything with hard edges or text. Use the quality slider for photographs and complex illustrations, where a small amount of loss is invisible but saves a lot of bytes.
Does WebP keep transparency?
Yes, in both lossy and lossless mode. WebP stores a full 8-bit alpha channel, so soft shadows and anti-aliased edges survive intact. You can still flatten onto a solid colour here if you prefer.
Which browsers can display WebP?
Every current browser: Chrome, Edge, Firefox, Safari 14+ and all modern mobile browsers. Only very old software — Internet Explorer, some desktop image viewers and a few email clients — still needs a PNG or JPG fallback.
Which browsers and apps can open the WebP files?
Every current browser, including Safari from version 14 (2020). Outside the browser, support is patchier: Windows Photos and macOS Preview handle it, but older Photoshop builds and some print workflows still do not.