PNG to WebP Converter
Turn PNG images into WebP files that are smaller and keep transparency. Your files stay on your device.
https://flxcode.com/png-to-webp/
or drop them here, or paste with Ctrl+V
HEIC, WebP, AVIF, PNG, JPG, GIF and BMP. Up to 50 files and 500 MB at a time. Nothing is uploaded.
Works offline: load this page, convert one file, turn off Wi-Fi, convert more. Location and camera data are removed from the converted files.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
Quick start
- Drop in the PNGs. Transparent areas stay transparent in WebP.
- Tick Lossless for logos and sharp graphics, or set a quality for photos.
- The list shows each new size next to the PNG. Save the files or the zip.
Offline use: convert one file, then turn off Wi-Fi.
What you get from PNG to WebP
WebP is a web format from Google that can store a picture with loss, without loss, and with see-through areas. For a PNG that is a photo or a screenshot with gradients, a lossy WebP is often a fraction of the size. Google's own tests found lossless WebP about 26% smaller than PNG, so the lossless switch is a safe first try for logos and icons.
The cost is reach. Every current browser shows WebP, but some editors, print shops, upload forms and older email programs still don't open it. If a file has to open everywhere, keep the PNG, or use the PNG to JPG converter.
What changes in the file
- Transparent and half-transparent areas stay transparent. The fill colour setting is for JPG only.
- Lossy WebP (quality below 100, Lossless off) drops some detail, like JPG does. Lossless keeps every pixel as it is.
- Colour data from other colour spaces is read as sRGB. The file keeps the name: logo.png becomes logo.webp.
Limits
- A WebP can come out bigger than the PNG, mostly for tiny icons, flat colour and already optimised PNGs. The list says so when it happens, and the PNG is the better file then.
- Up to 50 files and 500 MB at a time, 100 MB per file. Pictures above about 16.7 megapixels on an iPhone or iPad are scaled down.
- An animated PNG gives its first frame only. Safari can't write WebP itself, so there the page loads a small encoder (about 130 KB) the first time. If that fails, the page says WebP is not supported in this browser.
How it works and privacy
Your browser opens the PNG, draws it on a canvas and writes WebP with its own encoder. Where it has none (Safari), or when you tick Lossless, a worker on this page runs libwebp, the same library Chrome uses. Nothing is uploaded or stored. A finished batch counts one event, "png>webp", and never a file name or size (details).
Zip files are made with fflate. WebP output uses your browser, and where it can't write WebP the page loads libwebp (BSD-3-Clause) in a worker. Licences: Open source used on this site.
FAQ
Is PNG to WebP lossless?
Only if you tick Lossless. With it off, the file is lossy: smaller, with some detail dropped, and quality 80 is hard to tell from the PNG on most pictures. Lossless keeps the pixels exactly, and the file is smaller than the PNG in most cases but not all.
Does WebP keep transparency?
Yes, in both lossy and lossless mode. Soft edges stay soft. This is the main reason to pick WebP over JPG for logos and cut-outs.
Which quality should I use?
Start at 80 for photos and screenshots. Go to 90 or more if you see blur around text, or tick Lossless for logos, icons and line art. Below 60 the loss is easy to see.
Why is my WebP bigger than the PNG?
Small or flat PNGs are already tiny, and WebP has some overhead. Lossless mode on a big photo can also be larger than a well compressed PNG. The list tells you when the result is bigger. Keep the PNG then, or lower the quality.
Where can I use WebP files?
On web pages, in current browsers, and in many chat apps and CMS tools. Some desktop editors, print services and old upload forms don't accept it. For those use PNG or JPG.
Why does Safari load an extra file?
Safari can show WebP but its canvas can't write it. The page then fetches a small WebAssembly encoder from this site, once, and runs it on your device. Nothing is sent anywhere.
More from FLXCode
- JPG to WebP ConverterConvert JPG photos to smaller WebP files in your browser. Pick the quality. No upload, batch and zip.
- PNG to JPG ConverterConvert PNG images to smaller JPG files in your browser. Choose the quality. Nothing is uploaded.
- WebP to PNG ConverterConvert WebP images to PNG in your browser and keep the transparency. Nothing is uploaded.
- Compress ImageCompress JPG, PNG and WebP by quality or target KB, with a side-by-side preview. Nothing is uploaded.