PNG to WebP

This PNG to WebP converter makes WebP files from PNG images and keeps transparency. Lossless keeps every pixel and, in Google’s study, came out about 23% smaller than optimised PNG; lossy makes much smaller files.

Processed on your device. Nothing is uploaded.

Drop PNG files here, or choose them from your device

You can drag, paste (Ctrl+V) or choose several at once. Free limit: 20 pictures per batch. Files stay on your device.

How to use PNG to WebP

  1. Choose your PNG files, or drop them on the box.
  2. Pick the WebP type. Lossless is chosen for you, because PNG pictures are usually graphics where exactness matters. Choose Lossy and a quality for photos or for the smallest files.
  3. Press Convert to WebP. Each file shows its new size.
  4. Download each file, or all of them as one ZIP.

PNG against WebP

PNG has been the standard for graphics on the web for decades: it is lossless, it supports transparency and every program opens it. WebP can do the same job in a smaller file. Google’s study of lossless WebP found it about 23% smaller than PNG files that had already been squeezed with ZopfliPNG, one of the best PNG optimisers. It also adds something PNG cannot do: transparency with lossy compression, which is the big saving for logos and cut-out pictures that have photographic colour.

Picture Best choice here Why
Logo, icon, flat illustration Lossless Exact edges, small files either way
Screenshot with text Lossless Lossy compression smudges text
Photo saved as PNG Lossy, quality 80 Far smaller than any PNG
Cut-out photo with transparent background Lossy, quality 80 Keeps transparency and shrinks the colours

Compatibility

Use WebP when the pictures are for a website or an app you control. Keep the PNG when the file goes into a document, an upload form, an older editor or a print shop, or is the only copy of an original. WebP is shown by current versions of Chrome, Edge, Firefox and Safari (Safari 14 and later, on macOS 11 and later), but support in other software is uneven.

How the conversion works

The browser opens the PNG and gives the page its pixels with the alpha channel (the see-through value from 0 to 255). The libwebp encoder, compiled to WebAssembly and loaded from this site, writes them as WebP. In lossless mode it stores every pixel; in lossy mode it uses the quality you set and keeps the alpha channel. The encoder uses method 4, a balance between speed and size. No PNG text, Exif or time-stamp data is copied across.

To change a WebP back into a PNG see WebP to PNG. For a JPG with a background colour instead, use PNG to JPG, and to shrink a PNG without changing its format, use Compress Image.

Frequently asked questions

Is lossless WebP really identical to my PNG?

Every visible pixel is stored exactly. Two small things to know: colours hidden under fully transparent pixels are discarded, which cannot be seen, and the browser’s own handling of half-see-through pixels can change a colour value by one step in rare cases. For ordinary graphics, screenshots and logos you will not see any difference.

How much smaller is the WebP than the PNG?

In Google’s study, lossless WebP was about 23% smaller than PNG files already optimised with ZopfliPNG, and more than that against ordinary PNGs. Photographs saved as PNG shrink the most when you choose lossy WebP. The page shows the size of each file before and after.

Does the WebP keep transparency?

Yes, in both lossless and lossy mode. Lossy WebP can have a transparent background and still use lossy compression for the colours, which PNG cannot do.

Which should I choose, lossless or lossy?

Lossless for logos, icons, screenshots, text and anything with sharp edges. Lossy for photographs and artwork with smooth gradients, where the saving is far larger. If you are not sure, convert one picture both ways and compare the sizes and the look.

Can I use the WebP everywhere I used the PNG?

On the web, yes: current Chrome, Edge, Firefox and Safari show it. Not everywhere else: some editors, office programs and upload forms still refuse WebP. Keep the PNG for those. For your own website, WebP is a good replacement.

What about animated PNGs?

Only the first frame is converted. This page does not make animated WebP files.

Are my files uploaded?

No. The conversion runs in your browser, up to 20 files at a time.

See all Image Tools →

Sources and review

Last reviewed: .