WebP compatibility map: when it is safe, and when you must fall back to JPG
Two sentences get repeated about WebP: that it is 30% smaller than JPG, and that all modern browsers support it. The first is half true — it depends on the quality you are targeting. The second is true for browsers and completely false for software. This article takes both apart with measured numbers and a layered compatibility table.
1. The short answer: three cases, three decisions
Do not start with format details. Start with where the image is going. WebP compatibility was never really a browser problem — that was settled in 2020. What actually breaks is everything after the browser: sending it to someone, inserting it into a document, handing it to a print shop, uploading it to a platform.
| Where the image goes | WebP? | Why |
|---|---|---|
| Displayed on a site you control | Yes, and you should | Pair it with a picture element or server negotiation. The bandwidth saving is real and fully under your control |
| Archived, viewed on your own machine | Yes | Windows 11 decodes it natively; Windows 10 needs one free extension |
| Sent to other people (chat, email, USB stick) | No | The odds of it not opening are too high, and chat apps re-encode images anyway — WebP as an intermediate is pointless |
| Inserted into Word, PowerPoint, a submission | No | Microsoft 365 for Windows only since late 2021, and only with the system codec; Office 2016/2019/2021 perpetual builds are unreliable |
| Printing, publishing, prepress | Never | RIPs and layout software do not read it. Delivery formats are TIFF or PDF |
| Icons, stickers, asset packs | Depends | WebP supports transparency, but many asset tools do not read it — check the recipient’s software first |
One-line rule
WebP is a distribution format, not an archive format. It belongs in the segment between “encoding finished” and “being looked at”. The moment an image leaves your control, hand over JPG or PNG instead.
2. The compatibility map: five layers, kept separate
“Supports WebP” means different things in different contexts. Browser support, operating-system support, application support and platform support are four independent implementations, and a gap in any one of them means a file that will not open. Keep them apart and the surprises stop.
Layer 1: browsers — this one is solved
| Capability | Chrome | Edge | Firefox | Safari |
|---|---|---|---|---|
| Lossy WebP | 17+ | 18+ | 65+ | 14+ (iOS 14 / macOS Big Sur) |
| Lossy + lossless + alpha | 23+ | 18+ | 65+ | 14+ |
| Animated WebP | 32+ | 18+ | 65+ | 14+ |
| Android system browser | 4.0+ (lossy) / 4.2+ (lossless + alpha) | — | — | — |
These figures come from Google’s official WebP FAQ. The key date is September 2020, when Safari 14 shipped with iOS 14 and macOS Big Sur and added WebP. Before that, Safari was the single obstacle to WebP adoption — and the origin of every older tutorial that still calls WebP poorly supported. That reason no longer exists.
Layer 2: operating systems — Windows 10 is the trap
| System | Opens on double-click? | Notes |
|---|---|---|
| Windows 11 | Yes | Decoder built in; Photos, Paint and Explorer previews all work |
| Windows 10 (1809+) | Needs an extension | Install the free “WebP Image Extensions” from the Microsoft Store, then restart the app |
| Windows 7 / 8 | No | Third-party codecs only — not worth it on a machine used for delivery |
| macOS Big Sur (11)+ | Yes | System level; Preview, Quick Look and Finder all work |
| macOS Catalina (10.15) and earlier | No | No system decoder; third-party apps only |
Why layer 2 is where things go wrong
Opening in a browser does not imply opening on double-click. Browsers carry their own decoders; the OS has a separate one. So “it opens fine on my machine” is frequently a false conclusion — what you previewed was a web page, not a file.
Layer 3: office and design software — widest version spread
| Application | First version with native support | Notes |
|---|---|---|
| Microsoft 365 (Windows) | Late 2021 (v2109) | Also requires the OS-level WebP extension; Office 2016/2019/2021 perpetual builds are unreliable |
| Adobe Photoshop | 23.2 (2022) | Earlier versions need Google’s plugin |
| Adobe Illustrator | 26.0 (2021) | Earlier versions cannot place the file |
| GIMP | 2.10 | Plugin before that |
| Inkscape | 1.1 | |
| Affinity Designer / Photo | 2.0 | |
| LibreOffice (Draw / Impress) | 7.4 | Import only — cannot export WebP |
| CorelDRAW | 24.5 |
Note the LibreOffice row: import only. Even a fully free office suite can read the file but cannot produce one. If any step in your workflow depends on it exporting, the chain is broken there.
Layer 4: platforms and delivery — the least transparent layer
Social platforms, content platforms and e-commerce backends publish no compatibility tables, and they almost all re-encode on upload — the format you send was never going to survive anyway. So the right approach here is not research but two habits:
- Do not send WebP to people. Not because it will certainly fail, but because failure is silent — the other side just says “the image is broken” and you cannot tell whether it was the format or the transfer.
- Upload JPG or PNG to platforms. They transcode anyway; the extra bytes buy you a better starting point before their compression.
- To preserve quality, send the file itself (WeChat “send as file”, email attachment), not the “send image” path.
Layer 5: prepress — simply excluded
RIPs and layout software have effectively zero WebP support, and that ecosystem has no incentive to change — it has run on TIFF and PDF for thirty years. Delivery formats are TIFF (lossless, CMYK-capable) or PDF/X. WebP is RGB only, so it fails at the colour space gate before anything else.
3. How these numbers were measured
Most WebP size comparisons online come from libwebp’s cwebp or ImageMagick. But in-browser “convert locally” tools use a completely different API with a different quality scale. To avoid contradicting the tool on this site, everything below was measured in the browser through canvas.toBlob — the exact interface those tools call.
- Encoder: Chrome 155 canvas.toBlob, headless.
- Test image A (photo-like, 1920×1280): three octaves of 1/f noise over a colour gradient, generated by upscaling a low-resolution random field so neighbouring pixels correlate. This matters — per-pixel white noise does not occur in real photographs and flips the conclusion (there is a control experiment below).
- Test image B (screenshot, 1920×1280): white background, 52px Chinese heading, 40px body text, 1px table rules.
- Test image C (transparent, 800×800): circular logo, fully transparent corners.
- Quality metric: PSNR in dB — higher is closer to the original. Above 38 dB the difference is essentially invisible; around 32 dB it becomes noticeable.
- Equal-quality comparison: linear interpolation on both curves at the same PSNR, then compare sizes. This is the only meaningful comparison — comparing the same quality number across two encoders is meaningless, because their scales are not the same thing.
The limits of synthetic images, stated up front
Real photographs vary enormously: the same camera at different ISO settings can differ tenfold in noise, and noise level directly determines how much WebP saves. Do not apply the absolute numbers to your own images. What is stable is the trend and the boundary — where the line falls does not move much.
4. Measurement 1: how “30% smaller” gets misused
Start with the comparison almost every article makes: set both JPEG and WebP to quality 0.8 and compare size.
| Setting | JPEG size | JPEG quality | WebP size | WebP quality | Difference |
|---|---|---|---|---|---|
| quality 0.8 | 225.7 KB | 45.08 dB | 116.7 KB | 41.62 dB | WebP 48.3% smaller |
That result gets written up as “WebP is 48% smaller than JPEG”. It hides one fact: the WebP column is 3.46 dB worse. Those 48% were not free — they were bought with quality. Same data, different reading, different conclusion.
The right question is not “which is smaller at the same quality setting” but “which is smaller at the same quality”. Align both curves by PSNR and the picture changes completely:
| Target quality | Photo-like JPEG | Photo-like WebP | WebP vs JPEG |
|---|---|---|---|
| 36 dB | 48.3 KB (q0.2) | 24.9 KB (q0.12) | 48% smaller |
| 38 dB | 71.9 KB (q0.29) | 49.5 KB (q0.41) | 31% smaller |
| 40 dB | 99.4 KB (q0.40) | 82.9 KB (q0.70) | 17% smaller |
| 42 dB | 139.6 KB (q0.59) | 128.5 KB (q0.81) | 8% smaller |
| 44 dB | 191.3 KB (q0.73) | 190.8 KB (q0.88) | a tie |
| 46 dB | 269.4 KB (q0.84) | 285.8 KB (q0.94) | 6% larger |
| 48 dB | 376.0 KB (q0.92) | 1991.0 KB (q1.00, lossless) | 5.3x larger |
There is the boundary: roughly 44 dB. Below it WebP really is smaller, but the saving decays fast as quality rises (48% → 31% → 17% → 8%); at 44 dB it is a tie; above that WebP cannot keep up, because it tops out at 47.79 dB (q0.99) and the next step up is lossless — a 5x jump in size.
An easily missed detail
WebP’s quality scale is compressed at the high end: q0.92 to q0.99 buys only 2.5 dB. Which is why “set WebP quality above 0.9” is almost always the wrong choice in production — you pay a steep size increase for a very small quality gain.
Counter-example: why some people measure WebP as larger
Swap the test image for per-pixel white noise (neighbouring pixels uncorrelated, simulating high-ISO grain) and the conclusion inverts: at quality 0.8, JPEG is 444.2 KB and WebP is 509.9 KB — WebP is 14.8% larger.
Nobody measured it wrong. WebP’s intra prediction is simply inefficient on random noise. So the accurate version of “WebP is 30% smaller than JPG” is: WebP saves a lot on continuous-tone images at moderate quality; the noisier the image and the higher the quality target, the less it saves — until it turns negative.
5. Measurement 2: on screenshots WebP wins outright
The previous section makes WebP look mediocre. Switch to a document screenshot and the result inverts — at every quality level, WebP is both smaller and sharper.
| Target quality | Screenshot JPEG | Screenshot WebP | WebP vs JPEG |
|---|---|---|---|
| 38 dB | 73.9 KB | 26.6 KB | 64% smaller |
| 40 dB | 93.7 KB | 33.5 KB | 64% smaller |
| 42 dB | 126.7 KB | 46.4 KB | 63% smaller |
At the same 42 dB, screenshot WebP needs 46.4 KB while photo WebP needs 128.5 KB. WebP is especially good at “large flat areas plus sharp edges” — exactly what PNG is used for.
A second metric agrees: badly shifted pixels (any channel off by more than 48 levels). At the extreme quality 0.1 setting, JPEG corrupts 18,766 pixels while WebP corrupts 4,796. WebP’s advantage on text edges is larger than its advantage in size.
So should screenshots be stored as WebP?
If the screenshot is only ever viewed in a browser and you have a fallback, yes: lossy WebP at quality 0.8 is about 46 KB, 71% smaller than PNG, visually identical. But if it will be sent to someone or pasted into a document, use PNG — it is lossless and nothing surprising happens downstream.
6. Measurement 3: lossless WebP is larger than PNG on screenshots and icons
“Lossless WebP is 25% smaller than PNG” is another widely repeated claim. It is also content-dependent. Same API, same q=1.0, three image types:
| Image | PNG | Lossless WebP (q1.0) | WebP vs PNG |
|---|---|---|---|
| Photo-like 1920×1280 | 3945.9 KB | 1991.0 KB | 49.5% smaller |
| Screenshot 1920×1280 | 161.1 KB | 305.7 KB | 89.8% larger |
| Transparent logo 800×800 | 52.2 KB | 59.2 KB | 13.5% larger |
The reason is that the two lossless algorithms optimise for different things. PNG is row filtering plus DEFLATE, which is superb at “large uniform regions plus regular repetition”. VP8L uses spatial prediction plus prefix coding, which models continuous tone better. In a screenshot, 90% of pixels are pure white: PNG spends almost nothing on them, while VP8L still has to encode a residual for each one.
So “lossless WebP is smaller” holds only for photo-like content. On icons, logos and flat UI assets — PNG’s home turf — switching to lossless WebP is a net loss: bigger file, worse compatibility, no benefit.
One piece of good news
Lossy WebP at q0.8 for a screenshot is only 46.4 KB — 28.8% of PNG, with no visible difference. For screenshots where lossless does not matter and small size does, lossy WebP is an excellent choice. The trap is only in using its lossless mode.
7. Measurement 4: why you should not “convert WebP back to JPG”
This is the most common and most easily botched step in real work: you only have the WebP, the other side wants JPG, so you open a converter and convert. Technically fine. In quality terms, expensive.
| Path | Size | Quality | Notes |
|---|---|---|---|
| Original → JPEG q0.92 | 368.0 KB | 47.93 dB | Baseline: encoded straight from the original |
| Original → WebP q0.8 | 116.7 KB | 41.62 dB | First lossy pass |
| WebP → JPEG q0.92 | 331.8 KB | 41.39 dB | Second pass; size ends up near a direct JPEG |
The last row is the point: after converting back, the file grows to 331.8 KB — close to the 368 KB of a direct JPEG — but the quality is 41.39 dB, not 47.93 dB. That is 6.54 dB lost compared with compressing the original directly.
This is the irreversibility of lossy compression: detail removed by the first pass cannot be restored by the second, no matter how much bitrate you give it — the encoder can only faithfully store an already-damaged result. The converter will not tell you this. It just says “conversion complete”.
The rule
A fallback conversion (WebP → JPG) must start from the original file, never from the already-compressed WebP. If the original is gone, accept it: that image’s quality ceiling was fixed by the first compression. Abandon the “convert to WebP to save space, convert back later when needed” workflow entirely — it does not save space, it discards quality in advance.
8. Measurement 5: WebP’s “lossless” is lossy on transparency
A technical detail, but it affects decisions. Export a transparent image at q=1.0 and compare pixel by pixel against the original, including the alpha channel and without compositing onto a background:
| Encoding | PSNR | Pixels differing | Max single-channel deviation |
|---|---|---|---|
| PNG (control) | ∞ | 0 | 0 |
| WebP q=1.0 | 60.95 dB | 2,093 (0.33%) | 42 levels |
| WebP q=0.8 | 40.56 dB | 203,921 (31.9%) | 255 levels |
PNG survives a full decode and re-encode with identical pixels, which proves the measurement itself is sound. WebP at q=1.0 still alters 2,093 pixels, up to 42 levels (16%), concentrated on the antialiased circle edge. In other words, browser “lossless WebP” is lossless for RGB and lossy for alpha.
At q=0.8, 31.9% of pixels change with deviations up to 255 levels — that magnitude means alpha is being lossily compressed too. So “WebP supports transparency” is true, but “WebP transparency is lossless” is false. For icons that will be scaled up, that difference is visible.
9. Shipping it safely: two fallback strategies
If the WebP lives on a site you control, compatibility can be engineered away — not by betting that the client supports it, but by making unsupported clients receive something else automatically.
Option A: the picture element (static hosting, no server code)
<picture>
<source type="image/webp" srcset="photo-800.webp 800w, photo-1600.webp 1600w">
<img src="photo-800.jpg" srcset="photo-800.jpg 800w, photo-1600.jpg 1600w"
alt="Description" width="800" height="600" loading="lazy">
</picture>The browser tries sources in order and uses the first it can decode; only if none work does it fall back to the img src. So the JPG must exist and must match the WebP dimensions, or the layout jumps. Always set width and height — omitting them causes cumulative layout shift, which costs far more than the bytes you saved.
Option B: server-side Accept negotiation (more thorough)
// Same URL, different bytes: /img/photo.jpg returns photo.webp to capable clients
const accept = req.headers.accept || "";
const supportsWebp = accept.includes("image/webp");
const file = supportsWebp
? path.join(root, name + ".webp")
: path.join(root, name + ".jpg");
res.setHeader("Vary", "Accept"); // required, or a CDN will serve WebP to everyone
res.sendFile(file);The Vary: Accept line is not optional
This is the classic production incident for server negotiation: without Vary, a CDN or reverse proxy caches the first response and serves it to every client. So WebP-capable visitors get JPG (wasted bandwidth), or worse — incapable clients get WebP and see broken images. And it almost never shows up in staging, because the cache is not warm there.
If you would rather not touch the server, use the simple test: do you control the images, and is the audience on modern browsers? If both are yes, WebP with a picture element costs almost nothing in compatibility. If either is no, skip it — JPG and PNG remain the safest choice available.
10. Pre-delivery checklist
- Will this image leave your control (sent, uploaded, printed, inserted into a document)? If yes, convert to JPG or PNG.
- Is the conversion starting from the original file, or from an already-compressed WebP? Only the original preserves quality; converting out of WebP costs an extra 6.5 dB.
- If it stays on the web: does the JPG or PNG fallback exist, at matching dimensions, with width and height set?
- If you use server negotiation: is Vary: Accept present? Without it, the wrong format reaches the wrong client.
- Is the quality target above 44 dB (print, large format, zoomed inspection)? Then do not use lossy WebP — it tops out at 47.79 dB.
- Is it an icon or flat asset? Avoid lossless WebP — it is 14% to 90% larger than PNG.
- Does it have soft transparent edges that will be scaled up? Avoid lossy WebP; alpha is compressed lossily.
- Is the recipient on Windows 10? Ask them to install the WebP Image Extension once, or just send JPG.
Frequently asked
How much smaller is WebP than JPG, really?
It depends on the quality target. On the same photo-like test image at equal quality: 31% smaller at 38 dB, 17% at 40 dB, 8% at 42 dB, a tie at 44 dB, 6% larger at 46 dB, and 5.3x larger at 48 dB (WebP can only reach that via lossless). The widely quoted 30% is a low-bitrate figure, not a full-range one.
Which Safari version added WebP?
Safari 14, released September 2020 alongside iOS 14 and macOS Big Sur. Lossy, lossless, alpha and animation all arrived in that one update. Before it, Safari was the main obstacle to WebP adoption — which is where older “WebP has poor support” advice comes from.
How do I open WebP on Windows 10?
Install the free “WebP Image Extensions” from the Microsoft Store, then restart the app. Windows 11 includes it. This is an OS decoder issue, unrelated to browsers — which is why the file often opens inside a web page but not on double-click.
Can Word or PowerPoint insert WebP?
Microsoft 365 for Windows supports it since late 2021 (v2109), provided the system WebP extension is installed. Office 2016, 2019 and 2021 perpetual builds are unreliable — the same file may insert on one machine and fail on another. For documents you have to deliver, convert to JPG or PNG first.
Can I send WebP in a chat app?
Technically yes, but there is no point. Chat apps re-encode images on send, so your format never survives anyway, and sending it as a file raises the odds the recipient cannot open it. Convert to JPG for images, or send the original as a file attachment.
How much quality is lost converting WebP to JPG?
From an already-compressed WebP, measured loss is 6.54 dB (47.93 down to 41.39), and the file does not get meaningfully smaller. That loss happened during the first compression; the second pass only locks it in. Always fall back from the original.
Do animated WebP files play on Windows?
The Windows Photos app shows only the first frame. Open it in a browser to see the animation. It is an easy detail to miss: animated WebP is perfectly fine in browsers and a still image in the system viewer.
Is the WebP conversion on this site lossy or lossless?
Lossy by default, at quality 0.92, adjustable in the interface. For lossless, set quality to 1.0 — but read section 6 first: on screenshots and icons, lossless WebP is larger than PNG, and those cases should stay PNG.
Tools mentioned above
- PNG to WebPRuns in your browser, files never uploaded
- JPG to WebPThe usual starting point for photos
- WebP to JPGFor fallbacks — read section 7 first
Read next
PNG or JPG: a table by use case, with measured size and quality data
This question has ten thousand answers, and most of them stop at “photos use JPG, icons use PNG” — correct, but not enough to decide about the file in front of you. Here three test images go through seven format settings, and the argument is made with bytes and pixel-level error: when JPEG saves 80%, and when it saves 18% while damaging the edges of your text.
Typesetting Math Exams and Lesson Plans: Numbers, Formulas, Figures
There is only one standard for a well-typeset exam: can a reader find “question 17, part 2, option C” within three seconds. Every rule below exists to serve that.
Markdown to Word and PDF: Keeping Formulas, Tables, and CJK Layout Intact
Markdown is fast to write; deliverables are usually Word. The step in between is where things break: formulas become images, tables collapse, CJK text loses its fonts. Here is the chain, opened up.
How to Write LaTeX Math: From Inline Symbols to Aligned Equations
Six separate problems hide inside “my formula won’t render”: where the notation goes, how scripts bind, how brackets grow, how matrices are written, how lines align, and how to read an error. Each one has a fixed rule.