Skip to main content
AngleForge
Shopify · 2026

Shopify product image requirements

Shopify accepts JPEG, PNG, and WebP up to 4472×4472 px and 20 MB. The conversion sweet spot is a 2048×2048 square master in JPEG — Shopify's CDN automatically generates WebP for browsers that support it. Performance matters: the hero image is almost always the Largest Contentful Paint element and a ranking signal.

Last updated . Marketplaces change their rules, so check the official guidelines before you upload.

At a glance

Recommended master
2048 × 2048 px
Max dimensions
4472 × 4472 px
Max file size
20 MB
File size target
Under 500 KB
Preferred format
JPEG (Shopify CDN converts to WebP)
Aspect ratio
1:1 (most consistent across devices)
Colour space
sRGB
Alt text
Required for accessibility + SEO

Must follow

Break these and the listing can be suppressed or demoted.

  • Maximum 4472 × 4472 px and 20 MB per image — hard upload limit.
  • Variant images must be uploaded to their specific product variant in admin.
  • Image URLs are derived from the uploaded filename — choose names deliberately.

Recommended

What top sellers do on top of the rules.

  • Upload JPEG at 2048×2048. Let Shopify's CDN handle WebP delivery.
  • Keep file size under 500 KB to maintain mobile Largest Contentful Paint.
  • Set fetchpriority='high' on the hero image; preload it in the theme head.
  • Use distinct alt text per image: '[Primary keyword] [angle/context] on [background]'.
  • Name files in lowercase hyphenated form with the product name and angle suffix.
  • Assign a variant image to every variant — buyers second-guess unseen colours.
  • Generate 4:5 vertical and 1:1 square masters if you cross-post to Pinterest / Meta Shop.
Slot by slot

What to put in each image slot

Image slot guidance for Shopify
SlotPurposeSpec
1 — HeroPDP gallery first slide; LCP element2048², JPEG, preload, fetchpriority=high
2 — LifestyleBrand contextConsistent tone with hero
3+ — Detail / variantsDecision supportLazy-loaded; alt text required
Variant imageSwapped when buyer changes drop-downOne per variant; same hero angle
Google Shopping feedMerchant Center listingMin 250², rec 1200²; no overlays
Avoid these

Mistakes that quietly hurt rankings

  1. 1Uploading PNGs unnecessarily (alpha channel) — file sizes balloon and Shopify still serves them.
  2. 2Empty alt text or alt text duplicated across every image.
  3. 3No variant images — buyers see the default hero when they change the colour drop-down.
  4. 4Skipping fetchpriority='high' on the hero — costs 200–600 ms in mobile LCP.
  5. 5Hero file size above 500 KB — Lighthouse penalises mobile LCP and Google ranks suffer.
  6. 6Filename = `IMG_4382.jpg` — every product image URL becomes opaque to Google.
FAQ

Shopify image questions

What is the best image size for Shopify in 2026?
2048×2048 pixels in JPEG is the conversion sweet spot. It's sharp on 4K monitors, sane on mobile, and Shopify's CDN automatically generates WebP variants for compatible browsers.
Should I upload WebP or JPEG to Shopify?
Upload JPEG. Shopify's CDN automatically converts and serves WebP to compatible browsers (every browser shipped after 2021). Pre-converting to WebP yourself can confuse the CDN's transformation cache and rarely improves real-world performance.
What file size should Shopify product images be?
Under 500 KB per image is the target. Above that, mobile Largest Contentful Paint suffers and Google demotes your Core Web Vitals score, which is a documented ranking signal.
Does Shopify support transparent backgrounds?
Yes — upload PNG with an alpha channel for transparent backgrounds. Reserve PNG for cases where transparency matters; JPEG is more efficient otherwise.
How do I assign variant images on Shopify?
In Shopify admin, open the product, scroll to the variant grid, and click each variant to assign a specific image from the gallery. Buyers see the assigned image when they change the variant drop-down on the PDP.

Go deeper

Selling somewhere else?

Shopify rules by product category

Your next listing, ready today

Sign up, upload a photo and your first image is ready in about 30 seconds. Make 3 images free, then pick a pack or plan. Your first credit pack comes with 50% extra credits.

  • 3 free images
  • No card needed
  • Failed images refunded