GIF file size limits by platform

Upload limits for GIFs on product pages and social platforms, with sources.

Platform policies change. This table was checked in October 2026; “Official” means the value comes directly from the service’s own help documentation. Double-check right before uploading.
PlatformGIF limitSourceNotes
Shopify20MBOfficialUpload limit for images, including GIFs
GitHub (issues, PRs, comments)10MBOfficialApplies to attached images and GIFs
X (Twitter)Web 15MB · Mobile 5MBThird-partyStay under 5MB if you post from the app
Discord (free)20MBOfficialRaised from 10MB in August 2026; Nitro allows more
Etsy, Kickstarter and others—Not verifiedWe couldn’t find official published figures — check the upload screen

We count megabytes conservatively

Whether “5MB” means 5,000,000 bytes or 5,242,880 bytes (5 MiB) differs between services. GIFsize always uses the smaller one (1MB = 1,000,000 bytes), so the result fits either way.

Fitting under a limit

5MB (X mobile)

It depends a lot on the content, but for 5MB try starting around 640–800px wide, 10–12 fps, 5–8 seconds. Screen recordings with a still background fit much longer clips; handheld camera footage may need to be shorter. For quick actions, 1.5–2× speed fits the same motion into fewer frames.

10MB (GitHub)

There’s more room here — 640px or more at 15 fps is often possible. For screen recordings with lots of text, choose “Sharper”.

20MB (Discord, Shopify)

Large enough for most product clips at full width. Remember that big GIFs also slow down page loading, so smaller is still kinder to shoppers.

Pick a target size in GIFsize and it finds a combination like these for you. Try it →

Sources

Last checked: October 2026

AD