Skip to main content

Compress GIF for Shopify

Shrink product demos, lookbook loops, and theme banners for Shopify. Stay safely below Shopify 20MB and 25-megapixel limits while keeping mobile product pages fast.

Updated:

Drop GIFs here or choose files

Paste an HTTPS image URL

Prepare a GIF for your platform

Platform limits and recommended compression targets are different. Check the limit shown in your account before uploading.

Shopify

Shopify checks both file size in megabytes and pixel resolution in megapixels for product and theme images.

  • Uploaded product, collection, and theme images including GIFs cannot exceed 20MB or 25 megapixels (5000×5000 pixels).
  • A GIF smaller than 20MB can still be rejected if its dimensions exceed the megapixel limit.
  • For fast mobile storefront loading and Core Web Vitals, aim for 1–2MB per product GIF or convert long motion clips to WebP or MP4.

Last verified:

How to use this tool

  1. Drop your product or banner GIF into the tool with the 2MB target selected.
  2. Compress locally in your browser and check both file size and visual sharpness.
  3. Preview product textures, labels, and loop smoothness at mobile width.
  4. Download and upload to Shopify Product Media, Pages, or Theme Editor.

Why does Shopify reject a GIF that is smaller than 20MB?

Shopify enforces two separate upload caps: file size (20MB) and pixel resolution (25 megapixels, or 5000×5000px). Even if your GIF is only 6MB, Shopify can show a file-too-large error when its pixel dimensions exceed the megapixel ceiling.

Resizing product GIFs to 800–1200px wide resolves megapixel rejections and dramatically improves mobile storefront Largest Contentful Paint (LCP).

1 — File size cap 20MB with 1 to 2MB recommended · 2 — Resolution cap 25 megapixels or 5000 by 5000 pixels
1 — File size cap (20MB max; 1–2MB recommended for mobile speed) · 2 — Resolution cap (25MP / 5000×5000px max)
Shopify placementOfficial limitRecommended storefront target
Product gallery GIF20MB / 25MP1–2MB, 800–1000px wide, 3–5 seconds
Homepage hero / banner20MB / 25MPUnder 2MB or convert to MP4 video
Email / popup badge20MB / 25MPUnder 500KB–1MB for instant load

Measured examples

Self-authored examples, processed with the same compression engine as this tool. Results vary with the source; these are not promises for your files.

Measurement data (JSON)
TargetOriginalActual size
Target: 1000 KB1,141,589 Bytes903,284 BytesTarget met
Cropped and shortened tutorial · Target: 1000 KB560,904 Bytes531,027 BytesTarget met

Target: 1000 KB

Original · 1,141,589 Bytes

Target: 1000 KB: Original

Output · 903,284 Bytes

Target: 1000 KB: Output

Dimensions: 640 × 360px
Frames: 40 · Duration: 4 seconds

Applied settings: 256 Maximum colors · Lossy level 20

Inspect detail

Original

Target: 1000 KB: Original

Output

Target: 1000 KB: Output

Cropped and shortened tutorial · Target: 1000 KB

Edited source · 560,904 Bytes

Cropped and shortened tutorial · Target: 1000 KB: Edited source

Output · 531,027 Bytes

Cropped and shortened tutorial · Target: 1000 KB: Output

Dimensions: 420 × 182px
Frames: 20 · Duration: 2 seconds

Applied settings: 256 Maximum colors · Lossy level 0

Edited source: 640 × 360px · 40 Frames · 4 seconds → 420 × 182px · 20 Frames · 2 seconds

Inspect detail

Original

Cropped and shortened tutorial · Target: 1000 KB: Original

Output

Cropped and shortened tutorial · Target: 1000 KB: Output

When should a Shopify store use WebP or MP4 instead of GIF?

GIF is limited to 256 colors per frame, which causes color banding on skincare gradients, apparel fabrics, and lifestyle photography. Shopify supports animated WebP images and MP4 product videos (up to 1GB / 10 minutes).

Use compressed GIFs for short UI/feature callouts or icon loops; switch to animated WebP or MP4 for rich photography.

Fast checklist for high-converting Shopify product GIFs

Shoppers on cellular connections abandon slow product pages. Keep every product loop focused on one clear benefit—like a zipper glide, texture swatch, or folding mechanism.

  1. Trim clip to a single 3–5 second product action
  2. Resize width to 800–1000px to stay well below 25MP
  3. Compress to 1–2MB and inspect fabric/text details
  4. Test load speed on a mobile preview before publishing

Frequently asked questions

What is Shopify maximum GIF file size?

Shopify allows image and GIF uploads up to 20MB and 25 megapixels (5000×5000px).

Why did Shopify say my 5MB GIF is too large?

Your GIF likely exceeds Shopify megapixel limit (25MP). Resize the pixel dimensions first, then compress.

Will a large GIF hurt my Shopify SEO and page speed?

Yes. Heavy GIFs delay Largest Contentful Paint (LCP) on mobile. Keeping product GIFs under 1–2MB—or converting long demos to MP4/WebP—protects storefront speed.

Can I batch compress multiple product GIFs?

Free users can process 3 GIFs per batch (up to 10MB each). Pro supports up to 50 GIFs per batch (up to 50MB each) with ZIP download.