7/21/2026

JPEG vs WebP vs AVIF for E-Commerce: Which Format Boosts Sales?

image formatWebPAVIFShopify optimizatione-commerce conversion

How much does image format affect your Shopify store’s conversion rate? Google’s data says: every 1-second delay in load time drops mobile conversions by 20%. And product images are typically the heaviest part of your store pages — 60-75% of total page size.

So the question isn’t “should I optimize images” — it’s “which format should I optimize to?”

Three Formats, One Comparison Table

I took the same 2400x2400 product photo and exported it in three formats at “visually identical” quality settings:

FormatFile SizeReduction vs JPEGBrowser SupportShopify Compatible
JPEG (baseline)480 KB100%Native
WebP142 KB-70%97%Native
AVIF98 KB-80%93%No direct upload

Verdict: WebP is the current best choice for e-commerce product images — 30% of JPEG’s size, 97% browser coverage, native Shopify support.

Why Not AVIF?

AVIF does compress better (about 30% smaller than WebP), but has two deal-breaking issues:

  1. Shopify doesn’t support direct AVIF uploads: While Shopify’s CDN can serve AVIF to supported browsers, you can’t upload AVIF source files
  2. Slow encoding: AVIF encoding is 5-10x slower than WebP — very noticeable when batch-processing 200+ images

If you run your own store (non-Shopify) with an AVIF-capable CDN, AVIF is worth considering. For 99% of e-commerce sellers, WebP is the answer.

The Awkward Case of PNG

Many product images are PNGs — especially logos, icons, and transparent-background product shots. But PNG is almost always the worst choice for e-commerce:

ScenarioPNGWebP
Standard product photo (no transparency)800KB+120KB
Transparent-background product600KB80KB (WebP supports alpha channel)
Logo/iconFineBetter (60% smaller)

WebP supports transparency. There’s virtually no reason to use PNG for product images unless the target platform demands it.

Batch Convert Formats with TinyOpt

Got hundreds of product images to convert from JPEG/PNG to WebP?

  1. Open TinyOpt, ‘Compress’ tab
  2. Drag in all product photos
  3. Set output format to WebP
  4. Optional: set resize dimensions (2048x2048 recommended)
  5. Click Start, wait a few minutes

Compression + format conversion + size unification in one pass. No intermediate steps.

Real Before/After: A Shopify Store Switching to WebP

MetricBefore (JPEG)After (WebP)
Homepage total size4.8 MB1.2 MB
First screen load time6.2 s1.8 s
PageSpeed mobile score4281
Bounce rate62%48%

This was a real small fashion store (80 products, ~400 images). No code changes, no theme switch, no CDN changes. The single variable: batch-recompressing every product image to WebP using TinyOpt.

Format Recommendations by Use Case

Use CaseFormatWhy
Shopify/Etsy product imagesWebPSmall size, great platform support
Amazon/eBay product imagesJPEGPlatform requirement (Amazon: JPEG/PNG/TIFF only)
Self-hosted store + modern CDNWebP or AVIFCDN auto-negotiates best format per browser
Social media previews (Pinterest/Instagram)JPEGMaximum compatibility across all platforms
Logo/watermark assetsPNG (transparent)WebP alpha not universally supported in older tools

Related: 9 Image Format Benchmark: JPEG, PNG, WebP, or AVIF?

T

TinyOpt Team

The team behind the TinyOpt open-source project, focused on building and optimizing desktop image processing tools. We help designers, front-end developers, and content creators process images in bulk — efficiently and for free.