Free online tool

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

← Back to Blog

How to Convert WebP to PNG and Keep Transparency

To convert WebP to PNG and keep transparency, use a converter that saves a full-color PNG with an alpha channel, and leave the transparent areas unfilled. In Zutilium's WebP to PNG Converter, that is the default: with Transparency set to Keep transparent, every transparent and semi-transparent pixel in the WebP is copied into the PNG. PNG compression is lossless, so the conversion adds no compression loss of its own, but it cannot restore detail that a lossy WebP already threw away. Expect a bigger file: the sample PNGs below are 2 to 11 times the size of their WebP sources.

How to convert WebP to PNG with Zutilium

  1. Open the WebP to PNG Converter and drop a .webp file on the upload area, or click Choose file (Tap to choose a file on a phone). Each conversion takes one image of up to 30 MiB; the upload area shows the current limit.
  2. Under Transparency, keep Keep transparent for logos, icons, stickers and cut-out product shots. Choose Fill with white or Fill with black only when the image's destination cannot show transparency.
  3. Under Max Width, keep Keep Original to edit or archive the image. To shrink a large image, pick 1920px, 1280px, 800px or 640px. The height scales with the width, and a narrower image is never enlarged.
  4. Click Convert to PNG. The image is uploaded to Zutilium's server and converted there; the upload is scheduled for deletion about a minute after a successful conversion.
  5. Click Download and save the PNG promptly, because the result is scheduled for deletion after about ten minutes. Click Convert another file for the next image.

Then check the result:

  • Put the PNG on a dark or colored background, such as a dark slide or a colored layer. On white, you cannot tell white pixels from transparent ones.
  • Zoom in on edges and soft shadows: they should fade out with no white or black fringe.
  • Compare the Original and Result sizes in the result panel. A larger PNG is normal.

WebP to PNG with a transparent background: which setting to choose

The right Transparency choice depends on where the PNG is going, not on the WebP.

Your image Choose Why
Logo, icon, sticker or cut-out Keep transparent Edges and shadows blend with any background later
Screenshot with rounded corners or a shadow Keep transparent Corners stay clean on any page color
Going into an app that shows transparency as black Fill with white You pick the background, not the app
Headed for a dark slide or video frame Fill with black Edges are blended for a dark background
Photo with no transparent areas Any Nothing to fill, so nothing changes

What a fill does to soft edges

A fill does more than paint the empty background. Each partly transparent pixel is blended with the fill color in proportion to its opacity: new value = opacity × pixel color + (1 − opacity) × fill color. These are the values the converter wrote for three test pixels:

Pixel in the WebP Keep transparent Fill with white Fill with black
Black shadow, 50% opacity Unchanged Gray 127, 127, 127 Black 0, 0, 0
Orange edge (255, 102, 0), 25% opacity Unchanged Pale peach 255, 216, 191 Dark brown 64, 25, 0
Fully transparent Unchanged White Black

The shadow pixel's opacity is 128 out of 255, so over white it becomes 255 × (1 − 128/255) = 127, a mid gray.

Once applied, a fill is part of the image: a logo flattened on white shows a pale fringe and a gray shadow on a dark background later, and a shadow flattened on black disappears. Keep the transparent PNG as your master and make filled copies from it.

Stickers need the same care. WhatsApp's sticker requirements call for 512 × 512 WebP files with transparent backgrounds and recommend an 8 px white outline, because stickers appear on many backgrounds. With Fill with white, that outline vanishes into the fill.

Can you convert WebP to PNG without losing quality?

It depends on how the WebP was saved. WebP has a lossless mode and a lossy mode, while PNG is always lossless.

  • Lossless WebP: the PNG is an exact pixel-for-pixel copy.
  • Lossy WebP: the PNG stores exactly what the WebP decodes to, including any blur or blocky artifacts. Nothing more is lost, but nothing comes back either.

The converter writes a full-color PNG with 8 bits per channel, with or without alpha, instead of reducing it to a 256-color palette. In the sample conversions below, every PNG made with Keep transparent and Keep Original decoded to exactly the same pixels as its WebP. The general Image Converter also reads WebP, but its PNG output is limited to a 256-color palette and fills transparency with white by default.

Transparency is usually exact even in a lossy WebP: Google's cwebp encoder compresses the alpha channel losslessly unless told otherwise (cwebp documentation).

Check whether your WebP is lossless

Every WebP file starts with RIFF, then WEBP a few bytes later, then chunks with four-letter names (RFC 9649). Open the file in a hex viewer or text editor and look near the beginning: VP8L means lossless, while VP8 (with a space) or ALPH means lossy. VP8X only marks the extended format; check the image chunk after it. ANIM means the file is animated.

What changes by design

  • Max Width resamples the image, so a resized PNG is no longer pixel-identical.
  • A fill changes every semi-transparent pixel, as shown above.
  • EXIF and XMP metadata (camera details, GPS location) and embedded color profiles are not copied. Colors are converted to sRGB first, so they look the same in most apps, though wide-gamut colors outside sRGB can lose a little saturation.
  • If the WebP has an EXIF orientation tag, the image is rotated upright before saving.

This is also why PNG suits editing: every PNG save is lossless, so you can crop, annotate and re-save freely, while each lossy WebP or JPG save discards a little more detail. Edit in PNG and convert back to WebP once, at the end: the WebP Converter keeps existing transparency but saves lossy WebP at every quality setting. Converting images to WebP for a faster website covers the settings.

How much bigger the PNG gets

Google's published figures put lossless WebP about 26% smaller than PNG, and lossy WebP with transparency typically about three times smaller (WebP overview). Individual images vary far more, as the converter's output for four sample images with Keep transparent shows (1 KB = 1,024 bytes):

Sample WebP WebP PNG PNG vs WebP
Logo, 1200 × 400, lossless, transparent 10.1 KB 20.3 KB 2.0×
Sticker, 512 × 512, lossy, transparent 17.7 KB 102.2 KB 5.8×
App screenshot, 1440 × 900, lossless 27.7 KB 117.0 KB 4.2×
Landscape photo, 1200 × 675, lossy 157.2 KB 1.65 MB 10.7×
Same photo with Max Width 800px 157.2 KB 764.2 KB 4.9×

Flat graphics stay small. Photos grow most, because lossless compression must keep every bit of texture and every artifact of the lossy WebP.

Pixel count drives PNG size. At 800px, the photo becomes 800 × 450 pixels: (800 × 450) ÷ (1200 × 675) = 44% of the pixels, and the PNG shrinks to 45% of its full-size result.

If the PNG is too big:

Other ways to convert WebP to PNG

These run on your own computer, so nothing is uploaded; check transparency the same way afterward.

  • Mac: On macOS Big Sur or later, Preview opens WebP files. Choose File > Export, set Format to PNG and click Save (Preview guide). If the dialog shows an Alpha checkbox, leave it selected. To convert several images, open them in one window, select them in the sidebar and follow the same steps.
  • Windows: Open the WebP in Paint, choose File > Save as and pick PNG. If Paint will not open the file, install Microsoft's free WebP Image Extension from the Microsoft Store. Paint gained support for opening and saving transparent PNGs in a 2023 update; older versions drop transparency.
  • Photoshop or GIMP: Photoshop 23.2 and later and GIMP 2.10 and later open WebP files directly. Export a PNG without flattening the transparent layer.
  • Command line: Google's dwebp tool decodes a WebP straight to PNG, but it does not read animated files (dwebp documentation). The second line converts every WebP in a folder:
dwebp picture.webp -o picture.png
for f in *.webp; do dwebp "$f" -o "${f%.webp}.png"; done

Troubleshooting WebP to PNG conversion

The background is a gray and white checkerboard

The checkerboard is painted into the pixels: some sites offer "transparent" images that are really opaque pictures of a checkerboard. Conversion keeps what is there, so find a genuinely transparent original or remove the background in an image editor.

Transparent areas turned white or black

  • A fill was selected. Convert again with Keep transparent.
  • The viewer is the cause. Some viewers and older apps show transparency as white or black. Open the PNG in a browser tab or on a colored layer to check.
  • The WebP never had transparency. An opaque WebP with a white background gives an opaque PNG. Conversion cannot cut out a background.

The converter says it can't open the file

The converter checks the file name, which must end in .webp, so a WebP saved with a .jpg or .png name is refused. If it starts with the RIFF and WEBP letters described above, rename it to .webp. A real JPG or PNG needs a different tool, and the message suggests some.

Only the first frame came out

For an animated WebP, the converter saves the first frame as a still PNG. To keep the animation, use the WebP to GIF Converter; the animated WebP to GIF example covers timing and file size.

A large image could not be converted

Images over 100 megapixels are refused even when the file is under 30 MiB. A 12,000 × 9,000 pixel image (108 megapixels) is over the limit, although WebP allows up to 16,383 × 16,383 pixels (WebP FAQ). Use a desktop method above, or scale the image down first.

Frequently asked questions

How do I convert WebP to PNG on a phone?

Open the WebP to PNG Converter in Safari or Chrome, tap Tap to choose a file and pick the .webp image. Leave Keep transparent selected, tap Convert to PNG, then tap Download. If the page says it can't open the file, the copy you picked does not end in .webp; choose the original from the Files app on iPhone or your file manager on Android.

Does converting WebP to PNG keep a transparent background?

Yes. With Keep transparent, the WebP's alpha channel, including semi-transparent edges and shadows, is copied into the PNG. A WebP without transparency stays opaque, because conversion does not remove backgrounds.

Why is my PNG so much bigger than the WebP?

PNG is lossless and stores every pixel exactly, while most WebP files use lossy compression. In the examples above, the PNG was 2 to 11 times larger, and photos grew the most. Choose a smaller Max Width, or save a JPG when you don't need transparency.

Can I convert several WebP files to PNG at once?

The online converter takes one image per conversion; click Convert another file after each download. For many files, Bulk Image Compressor converts up to 200 images in your browser: set Output format to PNG and PNG colors to All colors (lossless), because its default of 256 colors reduces the palette. Preview on a Mac and the dwebp loop above also handle whole folders.

Is PNG or WebP better for logos?

For a website, a transparent WebP is usually the smaller file, and current browsers display it. PNG is the safer master copy for editing, documents and apps that do not open WebP, because every PNG save is lossless. If you have the logo as an SVG, keep that as the original: vector files scale to any size without blurring.