Skip to content
Toolbench

Convert PNG to WebP

Convert PNG images to WebP, keeping transparency while cutting the file size sharply. The best of both formats, converted in your browser.

Runs entirely in your browser — nothing is uploaded

The one conversion with no real downside

Most format changes are a trade. This one is close to free. WebP keeps the transparency PNG is usually chosen for, and still produces a file a fraction of the size.

A PNG logo or icon commonly drops by 60 to 80 percent. A photograph that was saved as PNG drops much further than that, since PNG was always the wrong home for it. Nothing you can see is given up in exchange.

Transparency survives intact

This is what separates WebP from JPG as a replacement for PNG. WebP carries a full alpha channel, so soft shadows, rounded corners and anti-aliased edges all come through exactly as they were.

Converting the same PNG to JPG would flatten every transparent pixel to white. If you have been avoiding compressing your PNGs because you needed the transparency, this is the conversion you were looking for.

What is actually lost

Being straight about it: WebP is used lossily here, so some detail is discarded. On graphics with flat colour and sharp edges — which is what the overwhelming majority of PNGs are — the result is visually identical at a fraction of the size.

The exception is an image destined for further heavy editing or for print. Keep the PNG as your master and treat the WebP as the version you publish.

When to stay with PNG

The rule is about where the file is going. Serve WebP from your own pages, where you know every browser can read it. Hand over PNG when the file leaves your control — email attachments, files for a client, print jobs, anything opening in older desktop software.

PNG has been universally understood for nearly thirty years. That is worth more than file size once the file is out of your hands.

Icon sets and sprite folders

Converting a whole interface icon set is the ideal use for this page. Drop the entire folder in, convert, and take everything back as a single zip. There is no limit on how many files go through at once, and the saving compounds across dozens of small assets that each load separately on your site.

Everything happens locally

The images are decoded and re-encoded inside your browser. Nothing is uploaded and nothing is stored, so an unreleased logo or an unpublished design stays exactly where it is.

Frequently asked questions

Does WebP keep transparency?

Yes, fully. This is what makes it the natural replacement for PNG rather than a compromise: you keep the alpha channel and still get a much smaller file. It is the one conversion on this site with no real downside for web use.

How much smaller does it get?

Often dramatically. A PNG logo or icon can drop by 60 to 80 percent, and a PNG photograph by considerably more, since PNG is a poor fit for photographs in the first place. The exact figure depends entirely on the image.

Is anything lost?

At the default quality, nothing you can see. WebP is being used lossily here, so it does discard some detail — but on graphics with flat colour and sharp edges, which is what most PNGs are, the result is visually identical while being a fraction of the size.

When should I stay with PNG?

When the file leaves your website. Email attachments, print jobs, files for a client, anything going into older software: PNG is understood everywhere and WebP is not. Use WebP for what you serve from your own pages, and PNG for what you hand to other people.

Can I convert an icon set in one go?

Yes. Add the whole folder, convert, and take the result back as a single zip. There is no limit on how many files go in at once.