The practical answer
WebP is smaller than JPG for many web images because it uses a newer compression model. It predicts image regions from nearby pixels, stores smaller residuals, spends bits differently across simple and complex areas, and supports both lossy and lossless modes. JPG is older, very compatible, and still useful, but it is usually less efficient for website delivery.
The important word is usually. A WebP file is not automatically smaller than every JPG, and a smaller WebP is not automatically better. The result depends on the source image, the encoder, the quality setting, the image dimensions, and where the file has to work after export.
Use this as the working rule:
- Use WebP for website photos, product grids, blog images, thumbnails, screenshots where lossy output still looks clean, and transparent web assets when the site accepts WebP.
- Use JPG for email, print vendors, older tools, strict upload forms, marketplaces that reject WebP, and files meant to open in the widest range of apps.
- Use AVIF when you need the smallest web files and can handle slower encoding, preview checks, and fallbacks.
- Keep the original source when converting. WebP can compress an existing JPG efficiently, but it cannot restore detail the JPG already discarded.
Why the common 25-34% number needs context
Google's WebP documentation reports that lossy WebP images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality. That is a useful benchmark, but it is not a promise for every image you drop into a converter.
You may see bigger savings when:
- the image has sky, skin, soft backgrounds, product surfaces, or smooth gradients;
- the JPG source was exported at a high quality setting;
- the image is resized to a realistic web size before conversion;
- the WebP encoder can use a moderate quality setting without obvious artifacts.
You may see smaller savings when:
- the JPG was already heavily compressed;
- the image has film grain, camera noise, grass, hair, fabric, or dense texture;
- the file contains small text or hard UI edges;
- the source is already close to the minimum acceptable quality;
- a CMS or CDN later recompresses the image again.
So the better question is not "Is WebP 30% smaller?" It is "Does this WebP look the same in this page slot at a meaningfully smaller size?"
Why WebP compresses photos more efficiently
JPG and WebP both use lossy compression for most photo delivery, but they make different decisions.
JPG works with 8x8 pixel blocks. It transforms each block into frequency information, then quantizes detail. This is why low-quality JPGs often show block edges, ringing around text, and banding in gradients. JPG is excellent for compatibility, but its compression model is old.
Lossy WebP is based on VP8 intra-frame compression. Google describes it as predictive coding: the encoder predicts a block from neighboring pixels and stores the difference. When the prediction is good, the residual is small and compresses well.
WebP can also make region-level decisions. It can spend fewer bits in simple areas and more bits where the image needs detail. Google also documents arithmetic entropy coding as one reason WebP gains compression over JPG's Huffman coding.
In plain English: WebP often does a better job of saying, "This part is smooth, this part has detail, and these pixels look like pixels we already saw."
What WebP does better than JPG
WebP's advantages are not just file size. They show up in everyday publishing work:
| Situation | Why WebP can help | What to check |
|---|---|---|
| Blog hero photo | Smaller file with similar visual quality | Faces, sky, shadows, crop, LCP impact |
| Product grid | Smaller thumbnails across many cards | Product labels and edge detail |
| Gallery page | Lower total page weight | Dark images, grain, repeated CDN variants |
| Transparent PNG replacement | WebP can keep alpha and cut bytes | Soft transparent edges and CMS support |
| Mixed image library | One format can handle photos, transparency, and animation | Email/download needs |
| Mobile-heavy site | Smaller transfers help data usage and loading | Real phone preview, not just desktop preview |
For a website with dozens of images, a modest per-image saving can add up. Replacing one 140 KB JPG with a 100 KB WebP is not dramatic by itself. Replacing 60 image-card assets can noticeably reduce page weight.
Where WebP is not the right choice
WebP is a web image format, not a catch-all delivery format. The wrong place for WebP is usually outside the browser.
Use JPG or PNG instead when:
- The image is going into HTML email. Email client support and proxy behavior are less predictable than browser support.
- A form explicitly requests JPG, JPEG, or PNG. Government, school, insurance, banking, and vendor portals may reject WebP.
- The file is for print. Print shops and document workflows often expect JPG, TIFF, PDF, or PNG.
- A teammate needs to edit it in older desktop software. Even when the operating system previews WebP, older image editors or plugins may not.
- A marketplace or ad platform validates file extensions strictly. A technically valid WebP is useless if the upload step refuses it.
- You need repeated editing. Keep a high-quality master, then export WebP as a delivery copy.
The human version of the rule: WebP is great when you control the website. JPG is safer when the file has to pass through someone else's tool.
Browser support is strong, but the workflow still matters
Current major browsers support WebP, and MDN lists WebP support across Chrome, Edge, Firefox, Opera, and Safari. For a normal website, browser decoding is rarely the hard part in 2026.
The remaining problems are usually workflow problems:
- A CMS plugin generates JPG thumbnails but ignores uploaded WebP.
- A social preview scraper does not pick the WebP you expected.
- An email builder accepts the upload but recipients see a missing image.
- A CDN rewrites URLs and strips your fallback.
- A print vendor downloads the file and asks for JPEG.
- A design handoff expects PNG or SVG for transparent assets.
For public pages, the robust pattern is to serve WebP where supported and keep a fallback. MDN's <picture> element documentation describes how browsers choose the first matching source and fall back to the <img src> when needed.
<picture>
<source srcset="/images/product.webp" type="image/webp">
<img src="/images/product.jpg" alt="Product photo">
</picture>
That pattern keeps the WebP win for browsers that use it while preserving a JPG path for clients or tools that do not.
Quality numbers are not comparable
A common mistake is converting a JPG at quality 80 to WebP quality 80 and assuming that is an apples-to-apples test. It is not. Quality sliders are encoder-specific. JPG 80, WebP 80, and AVIF 80 do not mean the same amount of visual loss.
Use a visual workflow instead:
- Resize to the real display dimensions first.
- Export WebP at 85.
- Compare the image in the layout, not just at full zoom.
- Lower to 80 if it still looks clean.
- Raise toward 90 for faces, labels, dark images, detailed products, and hero photos.
Look for:
- banding in skies or gradients;
- smeared texture in skin, fabric, wood, or food;
- halos around product edges;
- fuzzy small text;
- dark blockiness in shadows;
- color shifts on brand-critical images.
If the WebP looks worse but the file is tiny, it is not a good export. A slightly larger file that users trust is the better choice.
Do not convert damaged JPGs and expect a miracle
WebP can make a JPG delivery copy smaller. It cannot repair a bad JPG.
If the original JPG already has block artifacts, color banding, smeared faces, or fuzzy text, converting it to WebP may preserve those defects more efficiently. It might even make them easier to notice if you push the WebP quality too low.
Better workflow:
- Start from the camera original, design export, or highest-quality JPG you have.
- Resize to the largest real display size.
- Export WebP once for web delivery.
- Keep the original JPG or source file as the master.
- Avoid repeated JPG to WebP to JPG round trips.
WebP vs AVIF: when to push further
AVIF can create smaller files than WebP on many large photographic images. If you are optimizing a high-traffic homepage hero, product gallery, or image-heavy landing page, AVIF is worth testing.
But AVIF has tradeoffs:
- encoding can be slower;
- older tools may not preview it cleanly;
- fallback setup matters more;
- very small images may not justify the extra workflow;
- visual artifacts can look different from JPG/WebP artifacts, so QA still matters.
Use this split:
| Need | Better first choice |
|---|---|
| Simple modern web delivery | WebP |
| Maximum compression with build pipeline | AVIF plus WebP/JPG fallback |
| Email or broad file sharing | JPG |
| Transparent web asset | WebP or AVIF, with PNG fallback if needed |
| Strict upload form | Whatever the form requests |
A practical PhotoTools workflow
Use this when you have a folder of JPGs and want to see whether WebP is worth it:
- Sort the images. Separate photos, screenshots, product labels, and transparent assets. They fail in different ways.
- Convert a sample first. Use JPG to WebP on 5-10 representative images, not just the easiest photo.
- Start at quality 85. Drop to 80 for normal content. Raise to 90 for faces, detailed products, dark images, or hero assets.
- Compare in context. Judge the output at the size where it will appear on the page.
- Keep fallbacks. Keep JPG copies for emails, downloads, forms, social previews, or older toolchains.
- Batch the rest. When the settings look good, convert the folder and download the WebP files as a ZIP.
PhotoTools uses browser image APIs for conversion: the source file is decoded with createImageBitmap, drawn to an OffscreenCanvas, and exported with convertToBlob({ type: 'image/webp', quality }). The quality slider maps to the browser encoder's 0 to 1 quality option for lossy formats.
That makes it useful for quick publishing prep: you can compare original and output file sizes locally, then decide whether WebP is worth using before the images ever reach your CMS or CDN.
Quick decision table
| Question | If yes | If no |
|---|---|---|
| Is this for a website page you control? | Try WebP | JPG may be safer |
| Is there a strict upload requirement? | Follow the requirement | Test WebP |
| Is the image an email asset? | Use JPG or PNG | WebP is likely fine on the web |
| Is the source already badly compressed? | Find a better source first | Convert from the clean source |
| Does the image need transparency? | Try WebP or PNG | JPG/WebP both possible |
| Do you need the smallest possible bytes? | Test AVIF too | WebP is a good default |
| Will others edit the file later? | Keep a source/master file | Export WebP as delivery copy |
Bottom line
WebP is smaller than JPG because it uses a more efficient compression model for web images. It predicts image regions, allocates bits adaptively, supports transparency, and often reaches similar perceived quality with fewer bytes.
But the best format is still a delivery decision, not a slogan. Use WebP for modern websites when you can test the output and keep fallbacks. Use JPG when compatibility matters more than file size. Use AVIF when compression is worth the extra workflow. Judge the result in the place where people will actually see the image.