Skip to main content

PNG to WebP Converter

Lossless or lossy, with the alpha channel preserved either way.

Convert to WebP

Processing on this device

Drop a PNG to convert

Any image this browser can open works — the page is simply set to write WebP. Nothing is uploaded.

Switch tool·14 tools

New here? About PixelEditor and what we offer — what these tools do, and why they run on your device.

Overview

Smaller than PNG, transparency intact

PNG earned its place by being exact and by supporting transparency, and it pays for both with size. WebP offers the same two guarantees in lossless mode at a noticeably smaller size, and in lossy mode trades the exactness away for a file that is often a tenth of the PNG — while still keeping the alpha channel. That combination is why WebP is the usual answer when a PNG with a transparent background is too heavy for a web page.

This page converts one PNG at a time in your browser, lets you switch between the two modes, and shows the resulting size for each so the decision is made on evidence.

How it works

What happens to the PNG

  1. Drop the PNG. The tool confirms the format from the file bytes and reads the header to learn whether the image carries an alpha channel.
  2. Choose lossless or lossy. Lossless keeps every pixel and hides the quality slider. Lossy exposes the slider and compresses the colour data, keeping transparency.
  3. The WebP is encoded. The browser’s own WebP encoder — verified with a test encode before it is offered — writes the file with the alpha channel included.
  4. Sizes are compared. The readout shows the PNG and WebP byte counts and the percentage change. Switch modes to see both figures for your image.
  5. Download. The file keeps its name with the extension changed to .webp.

Settings

The two modes and one slider

Lossless WebP
Off by default. Turn it on for screenshots, icons, diagrams and anything with text. Output is pixel-identical to the PNG.
Quality
Shown in lossy mode only, 1 to 100, default 88. For a photograph saved as PNG, 80 to 90 is generous; the saving over the PNG is enormous either way.
Output
Fixed to WebP. The switcher leads to PNG-to-JPG if the destination cannot read WebP — bearing in mind JPG loses the transparency.
Unexpected input
A JPG or WebP dropped here still converts. A WebP source is renamed with a “-converted” suffix so the original is not replaced.

Formats and limits

Where WebP may not be the answer

  • Compatibility is broad but not universal. A few older applications and some upload forms still refuse WebP. Keep the PNG if the destination is outside your control.
  • Lossless WebP is not guaranteed to be smaller. Tiny images and already-optimised PNGs occasionally come out larger; the readout warns when that happens.
  • Lossy mode softens edges. Text, line art and pixel art need lossless mode to look right.
  • Animated PNG (APNG) is flattened to its first frame; this is a still-image tool.
  • Metadata is dropped. PNG text chunks and colour profiles are not carried across.
  • Images over roughly 100 megapixels are refused because the canvas allocation normally fails.

Worked example

A 340 KB transparent logo and a 4 MB screenshot

A 1200 × 400 logo on a transparent background saved as PNG might weigh 340 KB. In lossless mode it typically becomes 150 KB to 220 KB, pixel-identical, transparency intact. Lossy mode would take it below 60 KB, but the edges of the lettering would soften — for a logo, lossless is the right choice.

A 4 MB PNG screenshot of a photo-heavy page is the opposite case: lossy at quality 85 brings it to around 300 KB with nothing a viewer would notice, while lossless lands nearer 2.5 MB. If a folder of such screenshots needs the same treatment, the batch converter applies one setting to all of them.

Why use this

Why convert here

  • Transparency survives

    The alpha channel is carried into the WebP in both modes. There is no background colour to choose because none is needed.

  • Both modes on one page

    Flip between lossless and lossy and read the size of each. The right mode is obvious once you see the numbers.

  • Verified encoder

    The WebP option is only offered after the browser passes a real test encode, so the file you download is a genuine WebP.

  • Real byte counts

    Every size shown is measured from the finished file, and the tool warns if the WebP came out larger.

  • No upload

    Screenshots of dashboards, chats and documents are exactly the files that should not go to a server to be converted.

  • No account, no watermark

    Nothing is gated and nothing is added to the image.

Privacy

Where the conversion runs

In this tab, on your device. The PNG is decoded and the WebP encoded in memory; no upload request is made in order to convert it. Nothing is written to local storage, a cache or a cookie, and closing the page releases the image.

No cookies are set and no analytics run. The host that delivered the page can log the page request itself, as every host can; the Privacy Policy describes that precisely.

Questions

Frequently asked questions

Does WebP keep PNG transparency?

Yes, in both modes. Lossless WebP stores the alpha channel exactly; lossy WebP compresses the colour data but keeps transparency intact. This is the main reason to choose WebP over JPG when a PNG has a see-through background.

Lossless or lossy — which should I pick?

Lossless for screenshots, icons, logos, diagrams and anything with text or hard edges; you get a file that is pixel-identical to the PNG and usually a quarter to a half smaller. Lossy for photographs saved as PNG, where the exactness was never needed and the saving is dramatic — often 80 to 90 percent.

How much smaller is lossless WebP than PNG?

It varies with the image. Screenshots and flat graphics typically shrink by 25 to 50 percent. Very small images or ones that were already heavily optimised may shrink less, and occasionally not at all — the readout tells you the real result, and warns if the WebP is larger.

Why does my lossy WebP have slight halos around text?

Because lossy compression blurs sharp edges, and text is nothing but sharp edges. Switch to lossless for any PNG that contains text or line art. The file will be larger than lossy but still smaller than the PNG.

Will semi-transparent pixels, like soft shadows, survive?

Yes. WebP alpha is eight bits per pixel, the same as PNG, so soft shadows, feathered edges and anti-aliased outlines keep their partial transparency.

Is the PNG uploaded to convert it?

No. The file is decoded and re-encoded as WebP inside this tab. No request carries the image, which you can confirm from the browser’s network panel while the tool runs.

About us

Who builds PixelEditor

PixelEditor is a small set of single-purpose image tools that run inside your web browser. Each one does a specific job — resize, crop, rotate, compress, convert, inspect, strip metadata — and each one has its own page so you can bookmark exactly the tool you keep needing.

The tools are built with the Canvas API and Web Workers. When you pick a file, the browser reads it from your own disk, works on it in memory, and hands you the result back as a download. There is no processing server involved, so there is no upload step, no queue, and no account.

Everything is free, there are no watermarks, and there is no paid tier that unlocks the real version. Read more about how PixelEditor works and why.