Platforms6 min read·Updated

How to Use WebP Images on Shopify in 2026

Shopify can transcode uploads to WebP at the edge, but it cannot invent missing pixels or undo a 6,000 px camera original. Convert and resize product photos to WebP before you upload them: pages get lighter, theme images stay sharp, and you stop paying CDN bandwidth for bytes nobody sees.

Does Shopify support WebP?

Yes. Online Store 2.0 themes request WebP (and sometimes AVIF) from Shopify's CDN via the image_url filter. The catch: Shopify still stores your original. If you upload a 5 MB PNG, every variant is derived from that heavy source. A 1600 px WebP at 80% quality is typically 80–200 KB and gives the CDN a much better starting point.

Why it matters

  • LCP on product pages is almost always the hero image. A 150 KB WebP instead of a 1.8 MB PNG is often a 1–2 second mobile win.
  • Theme sections (collection grids, lookbooks) multiply one bad original across 12–24 thumbnails.
  • App pixels and reviews cannot fix image weight. Conversion happens before upload.
  • Nothing is uploaded to a third-party optimiser if you convert in the browser first.

Shopify WebP workflow

  1. Export product photos from Lightroom or your studio at full quality, or collect the current Media Library originals.
  2. Drop up to 100 files into the converter. Set quality to 80 for photos, 90 for graphics with text.
  3. Set maximum width to 2048 px for product heroes (Shopify's common large render) or 1024 px for secondary shots.
  4. Download the first image to check sharpness on a product page, then unlock the ZIP for the rest.
  5. In Shopify admin, replace each product image. Keep the same alt text; only the file changes.

Settings that work

For fashion and jewellery, stay at 82–88% quality so fabric texture survives. For white-background catalogue shots, 75–80% is usually indistinguishable. Collection-grid only images can be capped at 800 px wide.

UseMax widthQualityTypical WebP
Product hero2048 px80–85%120–250 KB
Secondary product shot1024 px80%40–90 KB
Collection tile800 px75–80%25–50 KB
Logo / badge400 px90%8–20 KB

Common mistakes

  • Uploading WebP *and* leaving the giant original on the product — replace, do not stack.
  • Forgetting alt text when you replace files. Copy it first.
  • Capping width below the largest theme render (some hero sections use 2500 px).
Check the live URL
After upload, open a product page, right-click the hero, and confirm the CDN URL ends in `.webp` (or `format=webp`). If you still see a 2 MB PNG, the theme is not using `image_url` correctly.
Convert a batch in your browser. Nothing is uploaded.

Put it into practice

Convert your images to WebP right now, free and privately in your browser.

Open the converter

Frequently asked questions

The CDN can serve WebP derivatives, but it starts from whatever you uploaded. A pre-resized WebP original is smaller at every breakpoint.

No. Dawn and almost every Online Store 2.0 theme request modern formats. Older vintage themes may still serve JPEG; converting first still shrinks the stored file.

Shopify has no native bulk image replace. Convert in batches of 100, then replace per product, or use the Admin API / a matrixify-style app for large catalogues.

Keep reading

Workflow6 min read

Product photos to WebP

Studio JPEGs are too big for product pages. Bulk convert catalogue photos to WebP with widths that match your PDP and PLP.

Read more
Workflow6 min read

Ecommerce image sizes

Recommended pixel widths and WebP quality for PDP, PLP, zoom, swatches and banners — platform-agnostic.

Read more
Tutorial5 min read

Bulk convert to WebP

The fastest way to batch convert hundreds of PNG and JPG images to WebP: drag, drop, set quality once, download a ZIP. Private, browser-based, no command line.

Read more
Platforms6 min read

WebP for WooCommerce

WordPress serves WebP natively. WooCommerce product galleries still suffer from huge originals. Bulk convert catalogue images and skip bloated optimisation plugins.

Read more