WebP vs JPG: which should you use?
For a web page, WebP is usually the better choice: it makes smaller files than JPG for the same photo, and it can also hold transparency and animation. JPG is the safer choice when you are sending a picture somewhere you do not control, such as an upload form, a print shop or an older program, because practically everything opens it.
If you have a WebP and something is asking for JPG, converting it takes a few seconds.
The short comparison
| Feature | WebP | JPG (JPEG) |
|---|---|---|
| Compression | Lossy or lossless, your choice per file | Lossy |
| Transparency | Yes, in both lossy and lossless WebP | No; one or three colour components, no alpha |
| Animation | Yes | No |
| Loading in stages | No progressive mode; decodes incrementally as data arrives | Progressive JPEG refreshes in several passes |
| Browser support | Current Chrome, Edge, Firefox, Safari and Opera; not Internet Explorer | All browsers |
| Photo at 1600 × 1200, quality 80% (our test) | 54,328 bytes | 142,405 bytes |
The WebP facts come from Google’s WebP pages and caniuse.com; the JPG facts from the JPEG File Interchange Format, which allows “one or three components” and so has no slot for transparency. Our measurements are explained below.
File size: WebP is usually smaller
Google states that “WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index”. SSIM is a measure of how similar two images look, so that figure compares files of matching visual quality.
Read that gap with care. “Quality 80%” means something different to each encoder: the same number does not promise the same visual quality in both formats, so our result is not a like-for-like test and is larger than Google’s figure. What it does show is the usual direction: for photos, WebP gets smaller files at settings that look good.
One detail matters for graphics. Google’s FAQ says lossy WebP “works exclusively with an 8-bit Y'CbCr 4:2:0” format, which stores colour at lower resolution than brightness. For sharp, colourful edges such as logos, lossless WebP or PNG keeps them cleaner.
Transparency and animation: only WebP has them
WebP supports transparency in both its lossless and lossy forms, and animated WebP files can combine both. JPG has neither. Saving a transparent image as JPG fills every clear pixel with a solid colour.
For cut-out product shots, stickers and logos on varied backgrounds, that decides it in WebP’s favour.
Compatibility: JPG still goes everywhere
caniuse.com puts WebP support at 97.32% of global browser usage and describes it as an image format “based on the VP8 video format” supporting “lossy and lossless compression, as well as animation and alpha transparency”. Its table shows full support from Chrome 32, Edge 18, Firefox 65 and Safari 16, with Safari 14 to 15.6 supporting WebP only on macOS 11 Big Sur or later. On iPhone and iPad, Safari supports it from version 14. Internet Explorer never supported it.
Browsers are only part of the picture. Upload forms, office software, printing services and older apps may still accept only JPG and PNG, and they will tell you so when they reject your file. That is the main reason people convert WebP to JPG.
Converting between WebP and JPG
Both directions recompress the picture when you save as a lossy format, so each round loses a little detail. Convert from the best original you have, once, rather than back and forth.
- WebP to JPG: use the WebP to JPG converter when a site or app refuses WebP. Pick a background colour if the WebP has transparent parts.
- JPG to WebP: use the JPG to WebP converter for pages you publish yourself; it shows both sizes before you download.
- Already WebP but too big: the WebP compressor lowers quality without changing format.
Which to pick
- Photos on your own website: WebP. Smaller pages, same look.
- Transparent or animated images on a website: WebP.
- Uploading to a form, sending to print, or sharing with people on unknown devices: JPG.
- Archiving originals: keep whatever the camera produced; make WebP or JPG copies from it as needed.
For a plain explanation of the format, see what WebP is. For choosing across all formats, including PNG and SVG, see the best image format for the web.
Questions
Does converting JPG to WebP lose quality?
A little, if you save as lossy WebP: the picture is compressed a second time. Keep your original JPGs and convert copies, and compare the result before replacing anything.
Why is my JPG bigger than the WebP I converted it from?
At similar visual quality, WebP usually needs fewer bytes, and a high JPG quality setting spends more. In our test a 370,212-byte WebP became a 495,829-byte JPG at quality 90%. Lower the quality if size matters.