Skip to content
Okaysize

Compress images for Shopify

Get product photos under 20 MB and inside 5000 × 5000 px, so Shopify takes them on the first try.

Drop an image, or choose a file

JPG, PNG, WebP, AVIF, HEIC, or GIF. Any size.

Your file never leaves your device

Shopify limits

WhatOfficial limitSource
Product imageUp to 5000 × 5000 px or 25 megapixelshelp.shopify.com
File sizeUnder 20 MBhelp.shopify.com

Limits verified Oct 8, 2026 against official sources.

Report an outdated limit
  • Why files fail on Shopify

    Shopify needs product images under 20 MB and no larger than 5000 × 5000 px or 25 megapixels. Photos from 48 and 50 megapixel phones and cameras break the pixel rule even when the file is small, and studio PNGs can pass 20 MB.

  • What this preset does

    This preset fits the photo within 5000 px on its long side, then finds the best quality under 20 MB. A photo that already fits keeps its full resolution.

Questions

What are Shopify's image limits?

Product and collection images can be up to 5000 × 5000 px or 25 megapixels, with a file size smaller than 20 MB.

What size displays best?

Shopify says 2048 × 2048 px usually displays best for square product images. Use the Shopify product image preset to pad photos to that square.

Are animated GIFs allowed?

Yes, Shopify supports animated GIF and WebP files, under the same size limits.

More image tools

Presets and guides