Sometimes the image you save from a website turns out to be a .webp file, or a speed-test tool tells you to switch to WebP. Both formats store photos compactly, but they suit different jobs.
The key differences
| JPG | WebP | |
|---|---|---|
| Introduced | 1992 | 2010 |
| Compression | Lossy | Lossy and lossless |
| Transparent background | No | Yes |
| Animation | No | Yes |
| Where it opens | Nearly every program and service | Mostly modern browsers; some programs don't support it |
JPG has no transparency, and it loses a little quality every time you re-save it. Its great strength is that it opens everywhere. WebP can be smaller at the same quality and supports transparency, but older programs and upload forms sometimes reject it.
How much smaller is WebP?
Google says WebP is roughly 25-35% smaller than JPG at the same quality. To see whether that holds up, two photos taken for this guide (a foil-wrapped chicken dish and a dog's face) were saved with this site's converter at the same quality numbers. Both started from a PNG scaled down to 1280px on the long side (full conditions in how the measurements were made).

| Photo | Quality | JPG | WebP | How much smaller WebP is |
|---|---|---|---|---|
| Chicken | 90 | 343KB | 300KB | about 13% |
| Chicken | 80 | 226KB | 171KB | about 24% |
| Chicken | 60 | 146KB | 107KB | about 27% |
| Dog | 90 | 272KB | 218KB | about 20% |
| Dog | 80 | 175KB | 111KB | about 37% |
| Dog | 60 | 109KB | 66.2KB | about 39% |
The same quality number doesn't mean the same visual quality, though, because the two encoders behave differently. Closeness to the source can be measured with PSNR (in dB; higher means closer). On the dog photo, JPG 80 scores 38.8dB and WebP 80 scores 37.7dB. Part of the reason WebP came out smaller is that it discarded more.
So the comparison was repeated at equal closeness to the source. Estimated by drawing straight lines between the measured points, WebP was about 30% smaller than JPG on the chicken photo and about 23% smaller on the dog photo at the same PSNR. That sits close to Google's 25-35%. It's a result from two photos, and PSNR is only one of several ways to measure quality, so read the figures as estimates.

Zoomed in on the area around the dog's eye, the difference is small. WebP 80 smooths the fine hairs a touch more. (HEIC 50 is covered in the HEIC guide.)
When you need a transparent background
Logos and icons with a transparent background can't be saved as JPG, which leaves PNG and WebP. WebP keeps the transparency and is usually smaller than PNG, so it suits web graphics. Converting a transparent WebP to JPG fills the transparent areas with a background color, so choose one that matches where the image will be used.
Which to use
- Photos for a website: WebP. Smaller files load faster. If you have to support very old browsers, keep a JPG as a fallback.
- Email attachments, messaging apps, certificates and documents: JPG. The recipient is least likely to have trouble opening it.
- Uploading to a blog or shop admin page: Check the allowed formats first. If WebP is refused, convert to JPG.
- Originals you'll edit later: Saving over and over as JPG or WebP piles up degradation, so keep the original in a lossless format such as PNG.
Try it now
Both directions run in your browser, and your file is never uploaded.
Convert WebP to JPGTo turn a JPG into WebP, drop it into the converter on the home page and choose WebP as the output.
Both formats are also summarized under WebP and JPG on the Image formats compared page.