Guide
What is WebP and should you convert your website images to it?
WebP has been around since 2010, and as of 2026 it is supported by every major browser. Despite that, most websites still serve JPG and PNG everywhere, and most of those websites would load measurably faster — and rank slightly better on Core Web Vitals — if they switched. This guide gives you the actual numbers and a clear decision framework for whether your site should convert.
What WebP actually is
WebP is an image format developed by Google as a more efficient replacement for JPG and PNG on the web. It supports both lossy compression (like JPG) and lossless compression (like PNG), plus transparency (like PNG) and animation (like GIF). Almost everything you can do with the older formats, you can do with WebP, usually at a smaller file size.
The technical claim from Google is that WebP produces files roughly 25 to 35 percent smaller than equivalent JPGs at the same visual quality, and roughly 26 percent smaller than PNG for transparent images. The independent test data over the past decade has generally confirmed these numbers for typical photographic and graphic content, with occasional outliers in either direction depending on image complexity.
This matters because images are usually the heaviest content on a web page. A typical product page with five product photos and a banner image easily ships 1 to 3 MB of image data. Cutting that by 30 percent saves several hundred KB per page load — meaningful for mobile users on metered connections, for slow international networks, and for search ranking signals tied to page speed.
- WebP supports lossy and lossless compression, transparency, and animation.
- Files are roughly 25 to 35 percent smaller than equivalent JPGs at the same quality.
- Lossless WebP is roughly 26 percent smaller than PNG for the same image.
- Image weight is usually the largest part of a page load; format efficiency matters.
Browser support in 2026 (the short answer: yes)
Browser compatibility was the main argument against WebP for most of the format history. That argument is no longer relevant. As of 2026, WebP is supported by all current versions of Chrome, Firefox, Safari, Edge, Opera, Samsung Internet, and every meaningful mobile browser. The global support rate is above 97 percent of all active browsers.
The remaining 3 percent is mostly very old browser versions on devices that are no longer updated — typically older Android devices and a small fraction of legacy Safari installs. For most consumer-facing websites, that remaining audience is small enough that the right strategy is to serve WebP to everyone and accept that a tiny percentage of users will see a broken image (or nothing) if their browser refuses to load it.
For sites with audiences in regions where older devices are more common — parts of Africa, South Asia, and Latin America with longer device replacement cycles — a more cautious approach is to serve WebP with a JPG fallback using the HTML picture element. This adds a small amount of markup complexity but guarantees universal compatibility.
- WebP is supported by every major browser in current versions in 2026.
- Global browser support is above 97 percent of active sessions.
- Remaining 3 percent is mostly very old Android and legacy Safari installs.
- Use picture with a JPG fallback if your audience skews toward older devices.
When the conversion is worth doing
The practical decision depends on three factors: how image-heavy your site is, how much your audience values page speed, and how much engineering time the conversion will cost.
A site with substantial image content — ecommerce, photography, food blog, real estate listings, news, magazine — almost always benefits visibly from WebP conversion. The file-size savings translate directly into faster page loads, lower bounce rates on mobile, and modestly better Core Web Vitals scores. For these sites, the question is when to convert, not whether.
A site with minimal images — a simple business site with a logo and a few hero photos — sees a smaller absolute benefit. The relative savings are the same, but 30 percent of a small number is still a small number. The conversion is still worth doing because it costs little and helps page-speed scores, but it is not urgent.
A site whose images are served through a modern CDN with automatic format conversion (Cloudflare Polish, Fastly Image Optimization, Imgix, Cloudinary) probably already converts to WebP on the fly. Check your CDN configuration before doing manual conversion — you may already have the benefit without realizing it.
- Image-heavy sites (ecommerce, photography, news) see the biggest benefit.
- Image-light sites still benefit but less urgently.
- Modern CDNs may already be serving WebP automatically; check before manual conversion.
- The decision is usually about when, not whether, to convert.
How to convert a website image library
The mechanics of conversion are straightforward. The complications come from inventory and integration, not from the conversion itself.
For a one-time bulk conversion of an existing image library, the File Converter handles batches of JPG or PNG to WebP in one operation. Set the quality to 80 to 85 for photographic content, or use lossless for graphics with sharp edges. Keep the original JPG and PNG files in a separate archive folder; never overwrite them, because you may need to regenerate at different settings later. After conversion, run a spot check on a few converted images at full screen to confirm visual quality before pushing to production.
For an ongoing workflow — for example, a Shopify store or WordPress site where new product photos are added regularly — the right pattern is to install a plugin or use a CDN that converts on upload. WordPress has several solid plugins (EWWW, Shortpixel, Smush) that convert and serve WebP automatically. Shopify converts images to WebP on its CDN automatically for most storefronts. These automated approaches scale better than manual conversion of each new asset.
If you maintain a custom site with a custom build pipeline, integrate WebP generation into the build itself. Tools like ImageMagick, sharp, and squoosh can be run from a build script to produce JPG and WebP versions of every asset, which the site then serves through picture elements with appropriate srcset declarations.
- Use the File Converter for one-time bulk conversion of existing libraries.
- WordPress and Shopify have plugin or built-in support for automatic conversion.
- For custom sites, integrate WebP generation into the build pipeline.
- Always keep originals in a separate archive; never overwrite source files.
Serving WebP with a JPG fallback
The HTML picture element lets you specify multiple image sources, with the browser choosing the first one it supports. This is the standard pattern for serving WebP with a JPG fallback.
A simple picture markup includes a source element with type image/webp pointing to the WebP file, followed by an img element pointing to the JPG fallback. A browser that supports WebP loads the WebP. A browser that does not falls back to the JPG. The img tag inside picture is also what older browsers and search crawlers see if they do not understand picture at all, so the JPG remains discoverable for SEO purposes.
For sites that serve multiple image sizes (responsive images), combine picture with srcset. This delivers the right format and the right size for every browser and screen. It is more markup than a simple img tag, but generated by a template once and reused everywhere, it adds no ongoing complexity.
- Use picture with a source type image/webp and an img fallback.
- The fallback img is what search crawlers and old browsers see.
- Combine with srcset to serve responsive sizes and formats together.
- A template-generated pattern keeps markup complexity manageable.
Common conversion mistakes
A few mistakes show up repeatedly when teams convert image libraries to WebP for the first time.
The biggest is converting at too aggressive a quality setting. WebP at quality 60 to 70 produces very small files but visible artifacts on detailed photographic content. Quality 80 to 85 is the right default for most use cases — substantially smaller than JPG of the same quality, but still visually clean. Test on actual photos at full screen before settling on a quality level for your library.
The second is converting screenshots and graphics with the lossy WebP encoder when lossless would have been correct. Sharp text, UI elements, and graphic content show artifacts much faster than photographic content does. For screenshots, diagrams, logos, and text-heavy images, use lossless WebP — it is still usually smaller than equivalent PNG.
The third is overwriting the source files. WebP conversion is one-way: a WebP cannot be converted back to a JPG without quality loss. Keep an archive of original JPG and PNG files separately so you can re-export at different settings later, or revert if WebP creates a problem with a specific asset.
- Quality 80 to 85 is the right WebP default for photos; 60 to 70 is too aggressive.
- Use lossless WebP for screenshots, graphics, and text-heavy images.
- Never overwrite original JPG or PNG source files.
- Test a few converted images at full screen before bulk conversion.