Skip to content
Jellykit

PNG to WebP Converter

Convert PNG graphics to WebP with transparency kept, usually at a much smaller size, in batches, with each file’s size before and after.

  • Runs on your device
Loading tool

About PNG to WebP Converter

WebP keeps an alpha channel, so logos, icons and cut-out product shots stay transparent while the file usually shrinks well below the PNG. Choose a quality and compare the sizes listed beside each file after converting.

The browser’s built-in encoder writes lossy WebP. At quality 100 the difference from the PNG is very hard to see, but the pixels are not guaranteed identical. Safari cannot write WebP at all, and the tool tells you so.

How it works

  1. Each file is recognised from its first bytes, not its name, and decoded the right way up (phone rotation is applied). HEIC and HEIF photos are decoded locally in a worker with libheif whenever your browser does not open them natively.
  2. The picture is drawn onto a canvas. For JPEG, which has no transparency, transparent areas are filled with the background colour you choose.
  3. The canvas is encoded in the chosen format and the result is checked byte by byte, because some browsers silently write PNG when they cannot write WebP or AVIF.
  4. For GIF, a palette of up to 256 colours is built from the picture itself (every colour is kept exactly when there are few enough), dithered if you ask, and written in a background worker.

Questions

Is the WebP lossless?

Not guaranteed. The browser encoder used here makes lossy WebP; at quality 100 it is visually very close to the PNG. Keep the PNG where every pixel must stay exact.

Does transparency survive?

Yes. WebP stores transparency, including soft edges, so no background colour is added.

Which browsers can do this conversion?

Chrome, Edge and Firefox. Safari cannot write WebP from a canvas, so there the tool explains that instead of saving a file.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.