Stayframe

Convert PNG to WebP and keep transparency

PNG on the web is often the heaviest object on the page. WebP is the usual replacement when you still want a sharp graphic or a transparent logo.

For photographs that were saved as PNG, lossy WebP at 85 is dramatically smaller and looks like the picture. For logos and UI, you can push quality up, or keep the PNG if the graphic is already tiny and you do not want any loss at all. Transparency is preserved either way, which is the advantage over JPG.

Resize to the display size at the same time. A 3000 pixel PNG shown at 600 pixels should not become a 3000 pixel WebP. Fit inside is the control.

When this conversion is the right one

What you trade away

Lossy WebP is not a perfect archive of a PNG graphic. If the PNG is a one-color icon under 20 KB, leave it. If it is a multi-megabyte photo, convert it.

Steps

  1. Drop the PNGs.
  2. Choose WebP. Use 85 for photos and a higher quality for flat artwork. Set a max width.
  3. Download the WebP files.

Questions

Does the clear background survive?

Yes. WebP supports alpha, and the converter keeps it. JPG would not.

How much smaller will it be?

Photographs often drop to a fraction of the PNG. Simple icons may barely change, and can occasionally grow. Check the before-and-after size on the row.

Is this a good archive format?

Keep the PNG as the master. Use the WebP as the published copy. You can always make another WebP from the PNG later.