TheFileTools

How to convert PNG to WebP and keep the transparent background

Make PNG logos, illustrations and screenshots much smaller as WebP while the transparency stays.

PNG files with transparency are often surprisingly heavy: a hero illustration or a product cut-out can weigh several megabytes. JPG is not an option because it would fill the background. WebP is the format that is both small and transparent, which makes it the usual choice for such pictures on a website.

Steps

  1. Open PNG to WebP.
  2. Choose your PNG files. Nothing leaves your device.
  3. Set Quality. It starts at 92 % and can go up to 100 %.
  4. Compare the sizes shown in each row, then download the files or use Download all (ZIP).

Transparency is kept

See-through areas of the PNG stay see-through in the WebP, including soft shadows and smooth edges. No background colour is added.

The picture itself is compressed

A PNG stores every pixel exactly. The WebP made here uses the quality slider, so it is an approximation, like a JPG. On photos and soft illustrations this is hard to see. On small text, thin lines, pixel art and user interface screenshots, lower settings can blur edges or shift flat colours slightly.

  • For photos and illustrations, the default is a good start.
  • For screenshots and line art, move the slider towards 100 % and check the result at full size.
  • If the result must be identical to the original pixel for pixel, keep the PNG.

Before you replace the PNG

Keep the original file. WebP is fine for browsers, but some design programs, older software and upload forms do not take it. Should you need a PNG again, WebP to PNG converts back, without restoring detail that the compression removed.

If your browser cannot write WebP, the download is a JPG on a white background instead, so check the file ending. For a picture without transparency where size matters most, PNG to JPG or Compress image may serve you better.