PNG vs WebP: technical differences
To convert PNG to WebP, drop your PNG file into the converter above and download the WebP: a modern web format, usually smaller than JPG or PNG at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
WebP has two separate codecs inside one format: a lossy one derived from VP8 video keyframes, and a lossless one (VP8L) that competes directly with PNG. Pixohub uses the browser's encoder (a bundled libwebp in Safari, which cannot write WebP itself) with the quality slider, which at the default 85% produces lossy WebP. For a photo stored as PNG that is a huge saving — commonly 80–90% smaller. For a logo or icon the saving is smaller but still real, because WebP's prediction is stronger than PNG's row filters.
Unlike JPG, lossy WebP keeps an alpha channel, so a product cut-out or a transparent logo stays transparent. The colour planes are stored with 4:2:0 subsampling, which can soften pure-red or pure-blue detail on hard edges; anti-aliased edges against transparency generally survive well at 85% and above.
WebP is 8 bits per channel only. A 16-bit PNG is reduced to 8-bit, which matters only if you planned to edit the file heavily afterwards — for delivery on a website it makes no visible difference.
| PNG (Portable Network Graphics) | WebP (WebP) | |
|---|---|---|
| Compression | Lossless (DEFLATE with per-row prediction filters) | Lossy (VP8 intra-frame) or lossless (VP8L) |
| Colour depth | 1–16 bits per channel; truecolor, greyscale or 256-colour palette | 8 bits per channel, RGB(A); lossy mode uses 4:2:0 chroma |
| Transparency | Full 8/16-bit alpha channel | Alpha in both lossy and lossless modes |
| Animation | Only via the APNG extension | Yes |
| Metadata | Text chunks, ICC profile, gamma; EXIF via the newer eXIf chunk | EXIF, XMP and ICC chunks |
| Typical file size | Large for photos (often 2–3× a JPG); tiny for flat graphics | Roughly 25–35% smaller than JPG/PNG at similar quality |
| Support | Universal — every browser, OS and editor | All modern browsers; most current editors and OSes |
When to convert PNG to WebP
Speeding up a website's hero and product images
Lighthouse and PageSpeed Insights flag large PNGs under 'Serve images in next-gen formats'. A 1.8 MB PNG hero banner frequently becomes 150–300 KB as WebP, which directly improves Largest Contentful Paint. All current browsers display WebP, so for most sites no fallback is needed any more.
Transparent product cut-outs for an online store
Shop themes often place product cut-outs on coloured cards. JPG would add a white box; PNG keeps the transparency but is heavy. WebP is the format that does both: transparent and small. Run your cut-out through remove background first if it still has a backdrop.
Documentation and blog screenshots
Technical writers who paste dozens of PNG screenshots into docs can cut page weight substantially by converting them. Use a high quality setting (90%+) so small UI text stays crisp — WebP at that level still usually beats the PNG on size.
Sticker and emoji-style artwork for chat apps
Some messaging platforms use WebP for stickers because it keeps transparency at small sizes. If a sticker-maker app or bot asks for WebP, converting your transparent PNG artwork here gives it the right container; check the platform's own size and dimension rules separately.
What converting PNG to WebP keeps and loses
What you keep
- Transparency, including soft, semi-transparent edges and drop shadows.
- Exact pixel dimensions.
- Visual quality that is indistinguishable from the PNG at 85–95% for most photos and graphics.
What you lose
- Mathematical losslessness — at the quality settings offered, the output is lossy WebP.
- 16-bit depth; output is 8 bits per channel.
- PNG text chunks, ICC profile, gamma and EXIF data (Pixohub writes none of them).
- Compatibility with some older desktop software, email clients and print services that still do not open WebP.
Our test: PNG to WebP on two real files
The photo dropped from 2.1 MB to 228 KB, 89% smaller and a little smaller than the 301 KB JPG made from the same PNG at the same 85% setting. The transparent graphic went from 225 KB to 41 KB and kept its alpha channel, which is the real reason to choose WebP here; its PSNR of 45.98 dB and largest error of 38 levels are not something you would see at normal size.
The photo's 32.75 dB mostly measures the browser's Display P3 to sRGB conversion, not WebP loss. Chromium encoded each file in about 1.5 seconds with its built-in WebP encoder; Safari, which cannot write WebP itself, gets a bundled libwebp instead.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | PNG in | WebP out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 2.1 MB | 228 KB (−89%) | SSIM 0.977 · 32.8 dB | None in source | Removed | 1.5 s |
| Graphic, 800 × 600, transparent | 225 KB | 41 KB (−82%) | SSIM 0.998 · 46.0 dB | Kept | None in source | 1.5 s |
Last updated
Apps and sites that work with PNG and WebP
WordPress and its image plugin
WordPress has accepted WebP uploads since version 5.8. The WordPress Performance Team's Modern Image Formats plugin can also create WebP copies of PNGs and JPGs on upload, so on a WordPress site you may not need to convert by hand at all; converting first still helps when the plugin isn't installed.
Frameworks that already convert
Next.js's image component serves WebP to browsers that accept it by default, and many image CDNs negotiate the format per request. If your site runs on one of those, upload the PNG master and let the pipeline produce WebP; converting yourself only adds a second lossy step when the framework re-encodes.
WhatsApp sticker packs
WhatsApp's published sticker guidelines specify WebP files of exactly 512 × 512 pixels with transparent backgrounds, each under 100 KB. Resize your PNG artwork to that square with the image resizer first, then convert; if the WebP is still over the limit, lower the quality a few points.
Desktop editors
Photoshop opens and saves WebP natively from version 23.2, GIMP has read and exported WebP throughout the 2.10 series, and current macOS Preview opens WebP files. Editing a WebP and re-saving it adds another lossy pass, which is why the PNG should stay your working copy.
Common PNG to WebP problems and fixes
The upload form rejects .webp
Job portals, print services, some email newsletter tools and older forum software still accept only JPG and PNG, and simply renaming the file does not help because many check the file's contents. Use the WebP only where you control the page, and give these forms a JPG via PNG to JPG or the original PNG.
Small interface text turns soft
At the default 85%, lossy WebP smooths one-pixel strokes, so a screenshot with 11-pixel menu text can look slightly out of focus when zoomed. Re-convert at 95%: the file grows, but it usually remains well below the PNG. If even that is not crisp enough for documentation, keep the PNG for that image.
The WebP is barely smaller, or bigger
This happens with small, flat-colour images such as icons and pixel art, where the PNG is already tiny or palette-based and lossy WebP has little to remove. Check the sizes shown after conversion; for icons a few kilobytes in size the PNG is often the better file, and for favicons the favicon generator is the right tool.
Tips for better PNG to WebP results
- Raise the quality to 90%+ for screenshots, line art and anything with small text; drop to 75–80% for large photographic banners.
- If you are converting for a website, resize to the largest size actually displayed first with the image resizer — a 4000 px image shown at 1200 px wastes more bytes than any format change saves.
- Keep the original PNGs as your editable masters; treat the WebP files as delivery copies.
How this converter works
Pixohub decodes your PNG and encodes the WebP entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.