# Image formats on Shopify: WebP, AVIF, and what actually loads faster

Source: https://storefrontspeedjournal.com/blog/2026-10-21-image-formats-shopify-webp-avif.html

Reviewed October 21, 2026


Format debates generate more heat than data. What WebP and AVIF actually save, how Shopify serves images today, and where image weight really comes from on product pages.

## What the formats promise, in real numbers

WebP typically compresses photographic images noticeably smaller than JPEG at similar quality, and AVIF can go further again, sometimes dramatically on smooth gradients and product shots. Those gains are real. They are also routinely overstated, because the comparison depends on the image, the quality setting, and what the file was before anyone optimized it.

The uncomfortable truth for many stores is that format is the third problem, not the first. An oversized original served at full resolution to a phone gains far more from being resized than from being converted. A right sized JPEG often beats a full size WebP, which is why audits should rank causes before prescribing formats.

## How Shopify handles formats today

Shopify image delivery automatically serves modern formats like WebP to browsers that support them when you use its image URLs and filters correctly. For many stores, the format question is already answered by the platform, and manual conversion projects are solving a problem the CDN handled quietly in the background.

Where stores defeat this is in the exceptions. Images hard coded from old uploads, files served from app servers, background images buried in custom CSS, and supplier feeds that bypass normal handling can all serve heavy originals to everyone. Find those exceptions in a page weight audit and you find most of the available savings.

## Where image weight actually comes from

Count images, not just formats. Product pages that load every gallery image, every review photo, and every lifestyle shot up front carry a weight no format can rescue. Lazy loading below the fold media and loading gallery images on demand routinely saves more than any conversion project.

Hero images deserve special suspicion. They are the largest visual on the page, they define your largest contentful paint, and they are frequently uploaded at print resolution because they looked great in a design tool. Size the hero for the largest screen you actually serve, compress it honestly, and let format be the final polish rather than the first hope.

## A sensible order of operations

First, resize. Serve images close to their displayed dimensions on each device class. Second, reduce count, lazy load what is below the fold and on demand what sits in galleries and tabs. Third, confirm the platform is serving modern formats to capable browsers, and chase the exceptions where it is not.

Measure after each step on a real product page with a mid range phone profile. Stores that follow this order usually find the celebrated format debate was worth a small final slice of savings, while the unglamorous resizing step they had postponed was worth several times more.

## Related reading

If this topic is useful, these earlier guides go deeper on connected questions: [Lab data vs field data: why your speed score and your customers disagree](https://storefrontspeedjournal.com/blog/2026-10-20-lab-vs-field-data-shopify-speed.md), [Collection page speed: grids, pagination, and the cost of showing everything](https://storefrontspeedjournal.com/blog/2026-10-20-collection-page-speed-shopify.md), and [Shopify font loading, layout shift, and the invisible tax](https://storefrontspeedjournal.com/blog/2026-10-19-shopify-font-loading-layout-shift.md).

## Frequently asked questions

### Does Shopify automatically serve WebP images?

In most cases yes. When images go through Shopify image delivery with proper parameters, the platform can serve modern formats to browsers that support them. Problems arise with hard coded files, app served images, and custom code that bypasses that delivery path.

### Is AVIF always better than WebP?

AVIF often compresses smaller, especially on certain image types, but encoding is slower and support and tooling are still maturing. In practice, the bigger win for most Shopify stores is correct sizing and fewer images per page, with format as a final optimization.

### What is the biggest image mistake on product pages?

Serving images far larger than their display size, and loading the entire gallery plus review photos up front. Both dwarf format differences. Fix dimensions first, lazy load secondary images, then worry about which format the CDN serves.

### How do I check what format my store serves?

Load a product page with developer tools open, inspect the network requests for your main images, and check the format actually delivered to your browser. Repeat in another browser. What the file is called matters less than what is delivered.
