Skip to content

Convert PNG to WebP

Shrink PNG images for the web by converting them to WebP with the transparency kept, lossy or lossless, right in your browser.

Drop PNG imagesPNG → WebP · other image formats work too · or click to browse
Choose imagesProcessed on your device — never uploaded
Convert to
Runs in your browser · no uploadHow it works

How to use PNG to WebP

  1. 1

    Add PNG images

    Drop up to 10 PNG files of up to 25 MB: screenshots, illustrations, product cut-outs or photos.

  2. 2

    Lossy or lossless

    Lossy WebP at quality 90 is preselected. Switch on Lossless for logos, icons and anything that must stay pixel-perfect.

  3. 3

    Compare the sizes

    Each card shows the new file size; adjust quality and every image is encoded again automatically.

  4. 4

    Download

    Save the .webp files individually or as converted-webp.zip, ready for your website.

Limits and Pro

Up to 10 PNG files per batch and 25 MB each, encoded at full resolution.

Pro converts up to 500 PNG files per batch, each up to 4 GB. See Pro

About PNG to WebP

PNG is the safe format for graphics with transparency, but it is large. WebP keeps the transparency and cuts the size, which is why it is the usual choice for images on a modern website: every current browser displays it, including Safari since 2020. Smaller images load faster on phones and improve the Largest Contentful Paint score that search engines measure.

There are two ways to convert, and this page offers both. Lossless WebP stores exactly the same pixels as the PNG and, according to Google's own measurements, is typically about a quarter smaller; it suits logos, icons, user-interface graphics and screenshots of text, where every edge must stay crisp. Lossy WebP, the default here at quality 90, compresses like a JPG but keeps the alpha channel, so a photo with a transparent background or a product cut-out shrinks dramatically, often to a tenth of the PNG's size, while still blending cleanly onto any page colour.

The width and height stay the same and the transparency carries over in both modes, unlike a conversion to JPG. Text chunks and other metadata stored in the PNG aren't copied. Keep the PNG as your master copy if you will edit the image again: lossy WebP shouldn't be re-encoded repeatedly, and some desktop apps, email clients and office programs still don't open WebP. For even smaller files on sites that accept it, try AVIF under Convert to.

Privacy

The PNGs are decoded by your browser and encoded to WebP by libwebp, compiled to WebAssembly and running in a Web Worker in this tab. No image leaves your device, and nothing is stored after you close the page.

Features

Transparency kept

Alpha channel preserved in lossy and lossless mode.

Smaller files

Lossless about 25% smaller; lossy far more for photos.

Lossless switch

Pixel-perfect output for logos and icons.

Made for the web

Supported by every current browser.

PNG to WebP: frequently asked questions

Does WebP keep the transparent background of a PNG?
Yes, in both lossy and lossless mode. WebP has a full alpha channel, so soft shadows, anti-aliased edges and see-through areas look the same as in the PNG. The preview cards draw transparent parts on a checkerboard, which lets you confirm it before downloading. Only JPG, which this page doesn't produce unless you switch formats, would flatten the transparency.
Should I choose lossless or lossy WebP?
Lossless for graphics with sharp edges and few colours, such as logos, icons, diagrams and screenshots of text: they stay pixel-identical and still shrink. Lossy for photos and illustrations with gradients, where quality 80–90 looks the same to the eye but produces far smaller files. Try both on one image and compare the sizes shown on the card.
How much smaller is WebP than PNG?
Lossless WebP is typically about 25% smaller than an optimised PNG. Lossy WebP depends on the content: a photo stored as PNG can shrink by 80–95%, while a simple flat graphic may shrink only a little. The new size appears on each card as soon as the file is converted, so you can see the saving for your own images.
Do all browsers support WebP?
All current browsers do: Chrome, Edge, Firefox, Opera, Samsung Internet and Safari 14 or later on macOS Big Sur and iOS 14. Only very old systems lack support. Outside the browser, some image viewers, email clients and office programs still can't open WebP, so use it for websites and keep PNG or JPG for sending files to other people.
Can I convert WebP back to PNG later?
Yes, with the WebP to PNG page. A lossless WebP converts back to exactly the original pixels. A lossy WebP converts back to a PNG that looks like the WebP, including whatever small details the lossy compression removed, so keep your original PNG files if you might need the untouched versions again.

Other tasks with this tool

All image tools