What Is WebP?
WebP is an image format developed for the web. It compresses photographs better than JPG and graphics better than PNG, and it supports transparency. For most web images it is now the best default.
What it is
WebP was introduced by Google and is now supported by all current browsers. It offers two modes: lossy compression for photographs and lossless compression for graphics, plus an alpha channel for transparency.
A single format covering both cases removes the old decision between JPG and PNG, which is most of its appeal.
Convert WebP to JPG or PNG, and back.
Open the WebP Converter →How much smaller
The typical claim is 25% to 35% smaller than JPG at comparable visual quality, and considerably smaller than PNG for graphics with transparency.
| Content | JPG | PNG | WebP |
|---|---|---|---|
| 1,600 px photograph | 300 KB | 2.5 MB | 200 KB |
| Logo with transparency | Not possible | 40 KB | 18 KB |
| Screenshot of text | 180 KB | 80 KB | 45 KB |
The gains are real but they vary with content. A photograph with fine noise compresses less well in any format.
Where it wins
Web pages, where the saving is paid on every visit. Sites with many images see the biggest benefit, especially on mobile connections where bytes cost time.
Anywhere a transparent image is needed and a photograph is involved, which JPG cannot do at all.
Where it still loses
Older desktop software, some print workflows and a few specialist tools do not read WebP. If a document has to open in an old version of Word, WebP is the wrong choice.
Some social platforms re-encode uploads anyway, so the saving never reaches the viewer.
Lossy versus lossless
In lossy mode, WebP behaves like JPG: smaller files, small amounts of discarded detail. In lossless mode it behaves like PNG and preserves every pixel.
For photographs, lossy at quality around 80 is usually indistinguishable. For screenshots and logos, lossless keeps the edges clean.
Converting
Conversion from JPG or PNG is lossless in the sense that no further quality is lost when converting a lossless source. Converting from JPG to WebP cannot recover detail the JPG already discarded.
Keep the original if you may need to re-export for a format that does not accept WebP.
Fallbacks
The HTML picture element lets you offer WebP to browsers that support it and JPG or PNG to the rest. Current support is wide enough that many sites now serve WebP alone.
If you serve one file, check your analytics for browser versions before dropping the fallback.
Common mistakes
- Using lossy WebP for a logo with sharp edges.
- Assuming every tool can open WebP.
- Converting a JPG to WebP and expecting quality to improve.
- Serving WebP without checking that older visitors can see it.
- Forgetting that animated WebP exists and behaves differently.
A practical rule
For anything published on a web page, export to WebP at quality 80 and compare with the JPG. If it looks the same, keep the smaller file.
For anything that will be emailed, printed or opened in office software, stay with JPG or PNG.
Animated WebP and the GIF question
WebP also supports animation, which makes it a replacement for GIF in many cases. Animated WebP files are usually much smaller than the equivalent GIF, and they support full colour rather than the limited palette GIF uses.
The catch is the same as for still images: older software may not open them, and some chat applications convert them to a static frame. Check before sending an animated file to someone who may not see it animate.
How browsers choose a format
The picture element lets a page offer several formats, and the browser picks the first one it supports. That means a site can serve WebP to modern browsers and JPG to older ones without any script.
If you publish images yourself, check the format the server actually sends rather than the one you uploaded. Some content delivery systems convert automatically.
Compatibility today
WebP is supported by current versions of all major browsers, so for web pages it is now a safe default.
The remaining problems are with older software, some email clients and certain upload forms that only accept JPG or PNG.
Keep an original JPG or PNG alongside the WebP file so you can convert back when a tool refuses the newer format.
Frequently asked questions
Is WebP better than JPG?
For size at similar quality, usually yes. For compatibility with older software, no.
Does WebP support transparency?
Yes, in both lossy and lossless modes.
Can I convert WebP back to JPG?
Yes, with no further loss beyond what the WebP already discarded.