Convert to WebP and AVIF Online: Lighter Images, Faster Sites, Better SEO
Convert to WebP and AVIF Online: Lighter Images, Faster Sites, Better SEO
In this guide we explain what these next-gen formats are, how much they save, how they affect SEO, where browser support stands today, and exactly when to use each one. You can convert to WebP and AVIF online in a minute with our free tool.
Why image format is the cheapest performance win you have
On almost every site we audit, images are the single heaviest thing on the page. They routinely make up 50 to 70 percent of total page weight, far more than scripts, fonts or CSS combined. That makes image format the cheapest, lowest-risk performance win available: you change the bytes on the wire without touching your layout, your code or your design. We are gdefoto, a product photo and retouching studio, and we ship optimized images for online stores every day. In this guide we walk through WebP and AVIF the way we explain them to clients and developers: what they actually are, how much weight they save against JPEG and PNG, how that translates into faster pages and stronger Core Web Vitals, where browser support stands in 2026, and the concrete cases where one format beats the other. If you just want results, you can convert to WebP and AVIF online in a minute and skip straight to a lighter site. If you want to understand the decision behind it, read on.
What WebP and AVIF are, and how much lighter they are than JPEG
WebP and AVIF are modern, next-generation image formats built to replace the aging JPEG and PNG. JPEG dates from 1992 and PNG from 1996, and both predate the compression math we now take for granted in video codecs. WebP and AVIF borrow that math, which is why they squeeze the same picture into far fewer bytes.
WebP was released by Google in 2010. It is derived from the VP8 and later VP9 video codecs. It supports both lossy and lossless compression, transparency (an alpha channel like PNG), and animation (like GIF). In practice we see WebP files come in 25 to 35 percent smaller than a JPEG at visually identical quality, and dramatically smaller than PNG for the same transparent graphic, often 60 to 80 percent lighter.
AVIF arrived in 2019, built on the AV1 video codec. It is the more aggressive of the two. AVIF supports wide color gamut, HDR, 10 and 12-bit color depth, transparency and animation. On photographic content we typically measure AVIF at 30 to 50 percent smaller than JPEG, and frequently 20 percent smaller than the equivalent WebP. It holds detail in skin tones, gradients and flat color areas where JPEG produces blocky artifacts.
Some real numbers from files we handle. A 1500 by 1500 pixel product photo that lands at roughly 420 KB as a quality-85 JPEG becomes about 280 KB as WebP and around 190 KB as AVIF, with no difference a shopper would ever notice. Across a 40-image product page that is the gap between a 16 MB page and a 7 MB page.
Common mistakes we see webmasters make here:
- Converting an already-compressed JPEG and expecting magic. You get the most gain when you encode from a high-quality source, not from a file that has already lost detail.
- Cranking quality to 100. AVIF and WebP look excellent at quality 75 to 85. Pushing to 100 bloats the file and erases the advantage.
- Using PNG for photos. PNG is for flat graphics and transparency, never for photographs. Switching those to WebP or AVIF is the biggest single saving on most sites.
How lighter images speed up your site and lift Core Web Vitals and SEO
Smaller images are not just nice to have. Google ranks pages partly on real-world loading performance through Core Web Vitals, and images are directly tied to the metrics that matter most. Switching to WebP or AVIF moves the needle on each of them.
Largest Contentful Paint (LCP) is usually your hero or main product image. It is the metric Google weights most heavily, and the target is under 2.5 seconds. Because LCP measures when your biggest visible element finishes loading, cutting that image from 420 KB to 190 KB can shave a full second or more on a mid-range mobile connection. In our before-and-after tests, format conversion alone routinely pulls LCP from the "needs improvement" band into "good".
Cumulative Layout Shift (CLS) is about visual stability, target under 0.1. Lighter images that load faster, combined with explicit width and height attributes, stop content from jumping as pictures pop in. The format change supports this indirectly: faster loads mean less time for the layout to reflow.
Interaction to Next Paint (INP) benefits because less time spent decoding and downloading huge images frees the main thread to respond to taps and clicks.
Beyond the Vitals, there are knock-on SEO and business effects. Lower page weight means lower bounce rates, and Google has published research showing bounce probability rises sharply as load time climbs past three seconds. Lighter images also reduce your bandwidth bill and your CDN costs. For mobile shoppers on metered data, a 7 MB page versus a 16 MB page is the difference between a sale and a back-button.
A few practical rules we apply:
- Serve the next-gen format to browsers that support it and fall back to JPEG with the picture element and multiple source tags.
- Set loading="lazy" on below-the-fold images, but never on your LCP image, which should load eagerly.
- Add fetchpriority="high" to the hero image so the browser grabs it first.
- Always specify width and height to protect CLS.
If your product photos also need clean edges or a white background before optimizing, our background removal services pair naturally with format conversion.
Browser support in 2026 and when to use WebP versus AVIF
The most common objection we hear is "will it break in older browsers?" In 2026 that worry is largely behind us, but the two formats are at different stages of maturity, and the right choice depends on your audience and your tooling.
WebP support is effectively universal. Chrome, Firefox, Edge, Safari and all modern mobile browsers have supported it for years. Safari added WebP back in 2020 with version 14. Global support sits well above 96 percent. For practical purposes you can serve WebP to everyone today and only the most ancient browsers will miss it.
AVIF support is strong and growing. Chrome and Firefox have supported it since 2020 and 2021. Safari added AVIF in version 16 in 2022, with full support maturing through later releases. Global support now sits in the low-to-mid 90s percent. A small slice of older Safari and legacy environments still lacks it.
This is why the safe pattern is to serve both and let the browser pick. Using the picture element, you list AVIF first, then WebP, then a JPEG fallback. The browser takes the first format it understands, so modern browsers get AVIF, slightly older ones get WebP, and everything else gets JPEG. Nobody sees a broken image.
When to reach for each:
- Use AVIF for photographic content where every kilobyte counts: large hero banners, dense product galleries, marketplace listings with dozens of images. It gives the smallest files and the best gradients.
- Use WebP when you want one format with near-universal reach and simpler tooling, or for graphics with transparency that need broad compatibility. It is also faster to encode than AVIF, which matters for very large batches.
- Keep JPEG only as a fallback in your picture element, never as your primary served format.
One caveat worth knowing: AVIF encoding is slower and more CPU-intensive than WebP. For a handful of images this is invisible, but for thousands you want a tool that handles it efficiently. You can convert to WebP and AVIF online with our free converter and get both formats out without installing anything or wrestling with command-line encoders.
Here is the part that trips up store owners: the major marketplaces do not accept WebP or AVIF as upload formats. Their listing pipelines still want JPEG or PNG. The next-gen formats are for your own site, your CDN and your landing pages, where you control the HTML. Knowing the difference saves you a rejected upload and a wasted afternoon.
Quick reference on what the platforms want for the listing image itself:
- Amazon: JPEG (preferred), also TIFF and PNG. Main image on pure white (RGB 255,255,255), product filling at least 85 percent of the frame, minimum 1000 px on the longest side to enable zoom, 1600 px or more recommended.
- Etsy: JPEG, PNG or GIF. Recommends at least 2000 px on the shortest side, up to 10 images per listing.
- eBay: JPEG or PNG. Minimum 500 px on the longest side, 1600 px recommended for zoom, up to 24 photos.
- Shopify: accepts JPEG, PNG, WebP and more for your own storefront, and Shopify itself serves optimized WebP to visitors automatically. Up to 4472 by 4472 px and 20 MB per file.
- Walmart and Instagram: JPEG and PNG; Walmart wants a white background and 1000 px or more, Instagram favors square or 4:5 ratios.
So your workflow splits in two. Upload JPEG or PNG to marketplaces. Serve WebP and AVIF on your own site. A clean process we recommend:
- Step 1. Shoot or source the highest-resolution master you can and keep it untouched as your archive.
- Step 2. Edit once: clean the background, fix color, retouch. Do this before converting, never after, because re-editing a compressed file degrades it.
- Step 3. Export a quality-85 JPEG master at the dimensions the marketplace wants.
- Step 4. From that master, generate WebP and AVIF versions for your own site, plus the sizes your responsive layout needs.
- Step 5. Deploy with a picture element listing AVIF, then WebP, then the JPEG fallback.
For a deeper look at getting the listing image itself right, see our guide on the main product photo for Amazon and Etsy, and our walkthrough of product card creation. If you handle a lot of files, our marketplace prepare tool and photo compression tool cover the rest of the pipeline.
Converting formats is a mechanical job, and our online tool handles it perfectly for the vast majority of cases. But format is the last step in a chain, and a lighter file cannot rescue a weak image. This is where a human retoucher earns their keep. If your photos have uneven lighting, color casts, dust, reflections in glossy or metal surfaces, or backgrounds that need to be replaced rather than simply removed, optimizing them is polishing the wrong thing first. We see this constantly with jewelry, glassware and other reflective products, where automated tools struggle and a trained eye is essential, which is exactly why we offer dedicated jewelry photo retouching. The rule we give clients is simple: if the issue is weight and delivery, use the converter and move on; if the issue is how the product actually looks, fix that with retouching first, then convert. For high-volume sellers preparing listings at scale, our overview of AI retouching for Amazon shows where automation ends and studio work begins. Get the picture right, then make it light.
Switching your site images from JPEG and PNG to WebP and AVIF is one of the highest-return changes you can make. You cut image weight by 25 to 50 percent, your Largest Contentful Paint and Core Web Vitals improve, your pages load faster on mobile, and Google rewards the speed. Browser support is no longer a real obstacle: serve AVIF first, WebP second and a JPEG fallback through the picture element, and every visitor gets the best format their browser can read. Remember the split: upload JPEG or PNG to Amazon, Etsy and eBay, but serve next-gen formats on your own storefront where you own the HTML. And edit before you convert, never after. When you are ready, you can convert to WebP and AVIF online in a minute with our free tool, or browse the full set of free image utilities on our tools hub. Lighter images are the simplest performance win on the web, and there is no reason to leave it on the table.
Implementing WebP and AVIF with the picture tag and a JPEG fallback
The right way to serve modern formats is progressive enhancement: offer AVIF and WebP to browsers that support them while keeping a JPEG or PNG for everything else, so no visitor ever sees a broken image. The HTML picture element does exactly this. You wrap one image element in a picture element and add source entries in order of preference, AVIF first, then WebP, with the plain image element carrying the JPEG fallback at the end. The browser walks the list top to bottom, picks the first format it understands, and ignores the rest, so a modern browser loads the tiny AVIF while an old one quietly falls back to JPEG.
A few implementation details keep this robust. Each source needs its correct type attribute, image/avif and image/webp respectively, so the browser can decide without downloading the file. The fallback image element still needs its usual src, alt text, and, importantly, explicit width and height so the layout does not shift while images load. Order matters: AVIF above WebP means capable browsers get the smallest file. Generate all three formats from the same high-quality master rather than converting a JPEG to WebP, since converting an already-compressed file bakes in the JPEG artifacts. Done this way, the picture tag is invisible to users and to search engines, which simply see faster-loading pages, while every browser receives the best format it can handle.
Quality settings and when to choose WebP over AVIF
Compression quality is where most of the savings, and most of the mistakes, happen. Both WebP and AVIF let you trade file size against visual fidelity on a quality scale, and the goal is the lowest setting at which the image still looks clean to a real viewer, not the smallest possible file. For typical web photos, a mid-to-high quality setting usually produces a file dramatically smaller than the source JPEG with no visible difference. Push quality too low and you get smearing, banding in smooth gradients like skies, and blocky detail, which on a product image can cost you a sale. Always compare the compressed result against the original at full size before committing to a setting.
Choosing between the two comes down to savings versus reach and effort. AVIF generally compresses smaller than WebP at the same visual quality, especially for photographic images and gradients, so it is the better choice when file size is critical and you serve it with a fallback. WebP encodes faster, is supported by a slightly wider set of older browsers, and is often good enough. The pragmatic answer is not to choose at all: offer AVIF first and WebP second in the picture tag, letting each browser take the best it supports. If you must pick one for simplicity, WebP is the safer universal default, while AVIF is the choice when squeezing every kilobyte matters and you are comfortable managing the extra encoding step.
Where NOT to use WebP and AVIF
Modern formats are a web-delivery win, but they are the wrong choice in several important contexts, and using them there causes real problems. Marketplaces are the biggest one: Amazon, Etsy, eBay, and most other selling platforms require product images in JPEG, PNG, or similar traditional formats, and will reject or fail to display a WebP or AVIF upload. When you prepare listing photos, export JPEG, not the modern formats you use on your own website. The same caution applies to any third-party platform, marketplace, or content system whose upload rules you do not control.
Email is another poor fit. Many email clients still do not render WebP or AVIF reliably, so an image embedded in a newsletter may show as a broken placeholder for a chunk of your audience; JPEG or PNG remains the safe choice for email. Print is a hard no: printers and print shops work in formats built for print production, and a web-optimized, lossy AVIF is neither high enough quality nor the expected format for physical output, so keep a high-quality master for anything destined for paper. Finally, when handing files to a client, a designer, or an archive, deliver a widely compatible format unless they have explicitly asked for WebP or AVIF. The rule of thumb is simple: use modern formats for images you serve on your own web pages, and traditional formats everywhere you are handing the file to someone else's system.
WebP and AVIF for an online store: traffic and speed
For an online store the payoff from modern image formats is direct and measurable, because stores are image-heavy and image weight dominates page load. A typical product page carries a hero shot, several gallery images, and rows of related-product thumbnails, and converting all of them from JPEG to WebP or AVIF can cut the total image payload substantially. Lighter images mean faster load, and faster load correlates with lower bounce rates and higher conversion, since shoppers abandon slow pages, especially on mobile connections where a heavy catalog crawls. The largest image on the page is often the one the browser measures for Largest Contentful Paint, so shrinking it improves a metric that both users and search rankings care about.
The practical approach for a store is systematic, not one-off. Convert your product and category images to modern formats at a sensible quality, serve them through the picture tag with JPEG fallbacks, and make sure new uploads go through the same pipeline so the catalog does not drift back toward heavy JPEGs over time. Remember the marketplace exception: the images you upload to external selling platforms stay JPEG, while the images on your own storefront get the modern treatment. Sellers who make this a standard part of their image workflow see their own site get faster and lighter across the entire catalog, which compounds as the store grows and the number of product images climbs into the thousands.
Transparency and animation in WebP and AVIF
Both modern formats do more than compress photos, and two capabilities matter especially for stores and web design: transparency and animation. Like PNG, both WebP and AVIF support an alpha channel, meaning you can have genuinely transparent areas, a product cut out on no background, a logo that sits over any color. The advantage over PNG is size: a transparent WebP or AVIF is typically far lighter than the equivalent PNG, which makes it ideal for product cutouts, icons, and overlays where you previously reached for a heavy PNG. Keep a PNG fallback in the picture tag for older browsers, since transparency must survive the fallback too.
Animation is the other feature. WebP supports animation and is a much lighter, higher-quality alternative to the aging GIF format, so an animated product demo or a short looping graphic can be a fraction of a GIF's size while looking sharper. AVIF also supports animation, though tooling and support are less mature, so for animated content WebP is usually the more practical choice today, again with a fallback for browsers that cannot render it. The key point is that adopting modern formats does not force you to give up transparency or motion; it lets you keep both while shedding most of the file weight that PNG and GIF impose. For a store, that means lighter transparent cutouts and lighter product animations without a compatibility gamble, as long as fallbacks are in place.
Verifying your site actually serves the new format
Converting images is only half the job; you have to confirm the browser is actually receiving the modern format, because a misconfigured setup often silently keeps serving the old JPEG. The fastest check is your browser's developer tools. Open the Network panel, reload the page, and look at the images: the type or the file name should show avif or webp for the files you converted, not jpeg or png. If a supposedly converted image still loads as JPEG, your picture tag ordering, your server configuration, or a caching layer is not delivering the modern source, and the savings you expected are not happening.
Test across conditions, not just once. Check a modern browser to confirm it takes AVIF or WebP, and remember that different browsers may pick different sources from your picture tag, which is exactly the intended behavior. Run a page-speed or Lighthouse audit, which flags images that could be served in a more efficient format and confirms whether your Largest Contentful Paint image is optimized. Watch out for caching: a CDN or the browser cache may serve an old version after you deploy changes, so clear caches or test in a private window before concluding the conversion failed. Verifying delivery is the step people skip most often, and it is the one that turns a folder of converted images into an actual measurable speed improvement rather than a well-intentioned change that never reached your visitors.
Common WebP and AVIF mistakes
The recurring errors with modern formats are easy to avoid once you know them. The most damaging is converting an already-compressed JPEG to WebP or AVIF and treating that as the master, which bakes the original JPEG artifacts into the new file and sometimes produces a result barely smaller than the source. Always convert from the highest-quality master you have. The second common mistake is over-compressing to chase the smallest file, then shipping product images with visible banding and smearing that undercut the very sales the fast page was meant to support. Compare against the original before you settle on a quality setting.
Other frequent slips: forgetting the fallback, so visitors on older browsers or certain email clients see broken images; uploading WebP or AVIF to marketplaces that require JPEG and having listings rejected; and skipping verification, so a broken picture tag or a stale cache quietly serves the old JPEG while you believe the site is optimized. People also lose transparency by dropping the PNG fallback, or use AVIF for animation where WebP is currently the more practical choice. And many convert their existing images once but never update their upload pipeline, so the catalog slowly refills with heavy JPEGs. Convert from a clean master, keep quality high enough to look right, always provide a fallback, respect the platforms that need JPEG, verify delivery, and bake the conversion into your ongoing workflow rather than treating it as a one-time cleanup.
FAQ: converting to WebP and AVIF
Should I use WebP or AVIF?
Ideally both. Serve AVIF first and WebP second in a picture tag with a JPEG fallback, so each browser takes the best format it supports. AVIF usually compresses smaller, while WebP encodes faster and has slightly wider older-browser support. If you must pick one, WebP is the safer universal default.
Can I upload WebP or AVIF to Amazon, Etsy, or eBay?
No. Major marketplaces require traditional formats like JPEG or PNG and will reject or fail to display modern formats. Use WebP and AVIF on your own website for speed, but export JPEG for any images you upload to external selling platforms, email newsletters, or print.
Do WebP and AVIF hurt my SEO?
The opposite. Lighter images speed up your pages and improve Core Web Vitals such as Largest Contentful Paint, which search engines factor into rankings and which lowers bounce rates. Just serve them through a picture tag with a fallback so every visitor gets a working image.
How do I know my site is really serving the new format?
Open your browser's developer tools, go to the Network panel, reload, and check that converted images load as avif or webp rather than jpeg. Run a Lighthouse audit to catch images that could be more efficient, and clear caches before testing, since a CDN or browser cache can serve the old version.
Free online photo tools
Edit your photo right in the browser — no install, no signup: