Shopify product image requirements (2026).
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.
The numbers, at a glance.
Hard rules — break these and your listing is 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.
Recommendations the top sellers ship.
- 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.
What to put in each image slot.
Mistakes that silently down-rank listings.
- 01Uploading PNGs unnecessarily (alpha channel) — file sizes balloon and Shopify still serves them.
- 02Empty alt text or alt text duplicated across every image.
- 03No variant images — buyers see the default hero when they change the colour drop-down.
- 04Skipping fetchpriority='high' on the hero — costs 200–600 ms in mobile LCP.
- 05Hero file size above 500 KB — Lighthouse penalises mobile LCP and Google ranks suffer.
- 06Filename = `IMG_4382.jpg` — every product image URL becomes opaque to Google.
Common questions about Shopify product images.
01What 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.
02Should 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.
03What 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.
04Does 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.
05How 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.
The playbook behind these specs.
Shopify product image optimization in 2026 — specs, SEO, and Core Web Vitals
2026 Shopify image specs, WebP vs JPEG vs PNG, alt-text formulas, Core Web Vitals impact, and how AI-generated product photos plug into your variant image workflow without breaking page speed.
Selling somewhere else?
Forge your firstlisting set.
Launch in minutes with every angle and marketplace export included.