Skip to content
Private: files never leave your device

GIF File Size Limits by Platform

Guides online quote Discord at 8, 10 or 25 MB and X at 5 or 15 MB. This table lists only what each platform states on its own help or developer pages, with the date we checked them.

GIF size limits from official pages: X 15 MB and 350 frames, Discord 20 MB for free accounts, LinkedIn 500 frames and GIPHY 100 MB and 15 seconds

The main GIF limits are 15 MB on X, 20 MB on Discord for accounts without Nitro, 256 KB for a Discord animated emoji, 500 frames on LinkedIn and 100 MB with a 15 second cap on GIPHY. Each figure below comes from the platform's own page, opened on 21 November 2026. Where a platform gives a frame or pixel limit as well as a size, a GIF has to pass both.

GIF limits at a glance

PlatformFile sizeOther limitsSource
X (posts and DMs)15 MBUp to 1280 x 1080, up to 350 frames, up to 300 million pixels in total (width x height x frames); 1 animated GIF per postX developer docs
Discord message upload20 MB without Nitro; larger with NitroDiscord says it is testing other limits, so some accounts may see moreDiscord File Attachments FAQ
Discord animated emojiUnder 256 KBGIF, or JPEG, PNG and WebP for static emojiDiscord custom emoji help
LinkedIn postsNot stated for GIFs (the page has a general 100 MB file cap)500 frames or 36,152,320 pixels; no GIFs for profile or background photosLinkedIn Help
GIPHY uploads100 MB, 8 MB or less recommended15 seconds (6 or less recommended), source video 720p max (480p recommended), under 200 frames works wellGIPHY Help
Gmail attachment25 MB for personal accountsWork and school limits are set by the administratorGmail Help

Notes for each platform

X

The X developer documentation gives the same 15 MB GIF limit for default and premium accounts. The three GIF limits interact: at the full 1280 x 1080 resolution, the 300 million pixel cap allows only about 217 frames (300,000,000 / 1,382,400), not 350. At 640 x 360 the frame cap of 350 is reached first, at about 81 million pixels. Our own arithmetic, from the limits X states.

Discord

Discord's File Attachments FAQ says that as of August 2026 the free upload limit is 20 MB, up from 10 MB, and that desktop and mobile now check the limit the same way. That is why older guides quote 8 MB or 10 MB. Discord also notes that an image larger than 20 MB is shared as a download instead of displaying in the chat. Emoji are a separate, much smaller limit: under 256 KB. See our Discord emoji size guide for emoji dimensions.

LinkedIn

LinkedIn's image specifications list GIF as supported on desktop, iOS and Android, with a limit of 500 frames or 36,152,320 pixels. The page does not say whether the pixel figure counts every frame. GIFs cannot be used as profile or background photos.

GIPHY

GIPHY separates hard limits from advice. The hard limits are 15 seconds and 100 MB. The advice is 6 seconds or less, 8 MB or less, 480p source video and fewer than 200 frames, because its apps resize GIFs for small screens and fewer frames survive that better.

How big is a GIF? Frame count quick reference

GIF size depends heavily on content, so there is no exact formula. What you can calculate is the frame count, which every platform limit above depends on: frames = seconds x frames per second.

LengthAt 10 fpsAt 15 fpsAt 24 fps
3 seconds304572
6 seconds6090144
10 seconds100150240
15 seconds150225360, over the X limit of 350

A 15 second clip at 24 fps passes GIPHY's 15 second cap but has more frames than X accepts. Dropping to 15 fps keeps it under every frame limit listed here.

How to get a GIF under the limit

  1. Compress it. Compress GIF reduces colours and optimises frames in your browser, with optional resizing, and keeps the animation.
  2. Shorten it. Each second removed takes out a full second of frames. Trim the source video before converting with Video to GIF, which also lets you set the frame rate and width.
  3. Lower the frame rate. 10 to 15 fps is usually smooth enough for reactions and screen demos and cuts frames sharply.
  4. Make it smaller on screen. Halving the width and height leaves a quarter of the pixels in every frame. GIPHY recommends 480p for source video.
  5. Send a video instead. Where a platform accepts MP4, a short video is usually far smaller than the same clip as a GIF.
Fix speed after cutting frames. If you remove frames from an existing GIF it can play too fast. Change GIF Speed slows it back down and keeps the colours of every frame.

Sources and dates

PageDateUsed for
X API: Media best practicesNo date shown, read 21 November 202615 MB, 1280 x 1080, 350 frames, 300 million pixels, 1 GIF per post
Discord: File Attachments FAQUpdated about October 2026 (shown as 1 month ago), read 21 November 202620 MB free limit since August 2026, up from 10 MB; testing other limits
Discord: How to Add Custom EmojisUpdated 30 October 2026, read 21 November 2026Emoji under 256 KB, formats
LinkedIn Help: image specificationsShown as updated 2 months ago, read 21 November 2026500 frames or 36,152,320 pixels, GIF support, profile restriction
GIPHY: GIF Creation Best PracticesNo date shown, read 21 November 202615 seconds, 100 MB, 720p, frame advice
Gmail Help: attachmentsNo date shown, read 21 November 202625 MB personal attachment limit

Frequently asked questions

What is the GIF size limit on X?

15 MB, with up to 1280 x 1080 resolution, 350 frames and 300 million pixels in total, according to the X developer documentation.

What is the Discord GIF size limit?

Discord says accounts without Nitro can upload files up to 20 MB as of August 2026, up from 10 MB. Animated emoji must be under 256 KB.

Can I post a GIF on LinkedIn?

Yes, in posts on desktop, iOS and Android, up to 500 frames or 36,152,320 pixels. GIFs cannot be profile or background photos.

How long can a GIF be on GIPHY?

Up to 15 seconds and 100 MB, though GIPHY recommends 6 seconds or less and 8 MB or less.

How do I make a GIF smaller?

Compress it, shorten it, lower the frame rate or reduce the width and height. Or send it as an MP4 where the platform allows video.