Images

PNG to WebP

Smaller for the web, transparency kept.

On this device

Choose the quality

Chrome, Edge and Firefox write WebP. Safari cannot yet, and this page says so instead of handing you a PNG with the wrong name.

    Opened on this device · never transmitted

    What this tool does, exactly

    WebP is what a web page wants: usually a quarter to a third smaller than a JPEG at the same visible quality, with the transparency a PNG has. This writes one with your browser's own encoder and reports the saving in bytes.

    What it does
    Reads the picture with your browser's own codec and asks the same browser to encode it as WebP at the quality you choose. WebP has an alpha channel, so a PNG logo on nothing stays on nothing.
    Where it cannot run
    Safari's canvas cannot write WebP; asked to, it quietly returns a PNG. The tool checks the type of the bytes that came back and refuses, rather than naming a PNG file .webp. Chrome, Edge and Firefox write it.
    Quality choices
    Best, Balanced and Small are 0.95, 0.85 and 0.70 as the encoder sees them. Best suits a picture people look at closely, Balanced a page, Small a thumbnail, and the size each produced is shown.
    Metadata
    The WebP is written from pixels alone. The Camera data row reports on what the source held; WebP output itself is not read for tags.

    About this tool

    Why convert a PNG to WebP at all?

    Page weight. A WebP is typically 25 to 35 percent smaller than a JPEG of similar quality and far smaller than a PNG, and current browsers display it. For a picture going to a printer, an email or a form, the PNG or JPG is the better file.

    Does a WebP keep the transparent background of my PNG?

    Yes. WebP has an alpha channel like PNG, so nothing is painted underneath and there is no background colour to choose on this page.

    Why does the tool refuse in Safari?

    Safari cannot encode WebP from a canvas and hands back a PNG instead. The tool stops and says so, rather than letting a mislabelled file fail later. The same picture converts in Chrome, Edge or Firefox on the same machine.

    Can I turn a JPG into WebP here too?

    Yes. The page accepts PNG, JPEG, WebP, AVIF, GIF and BMP input where your browser can read it, and writes WebP from any of them.

    More images tools · All 55 · How they work