Why a GIF from X downloads as an MP4, and what a real .gif costs
X serves every GIF as a short silent MP4. We measured 8: a real .gif of the same clip was 5 to 63 times bigger. When to keep the MP4, and how to get a GIF.
In short
A GIF on X downloads as an MP4 because X serves every GIF as a short, silent MP4 video, not as a .gif file. Keep the MP4 if you can: on 8 GIFs we measured, a real .gif of the same clip was 5 to 63 times bigger. Make a .gif only for places that accept nothing else.
You found a GIF on X, saved it, and got a file ending in .mp4. Nothing went wrong. This page explains what X does to a GIF, shows what we measured on 8 real GIFs on 5 October 2026, and helps you decide when a real .gif is worth its size.
What X does to a GIF
X serves every GIF as a short MP4 video with no sound. When you watch a GIF on X, your phone or browser is playing a video on a loop. There is no .gif file on the page, so a downloader has none to give you. It gives you the MP4 that X plays.
We checked this on 8 GIFs from five accounts, posted between 2018 and 2026 (GIPHY, NASA, MSNBC, a four-GIF post by MewZe, and Hidden Power Podcast). Every one came back the same way:
- One file, one size. A video on X comes in several sizes. A GIF comes as a single MP4.
- H.264 video, no sound track. Not a quiet track: no sound track at all.
- Small pictures. The largest was 680 by 382 pixels; two were only 220 pixels wide.
- A .mp4 address. For NASA's post, the file was
video.twimg.com/tweet_video/...mp4.
For comparison, a real video post we read the same day (West Bromwich Albion, 5 seconds, 1080 by 1920) offered four sizes plus a separate sound track. That difference is how you can tell, from the download alone, whether someone posted a GIF or a video.
Many guides now say the same thing: X turns GIFs into MP4. None of the top results we read gave a single number for it. The rest of this page is the numbers.
How much bigger a real .gif is
A real .gif of the same clip was 5 to 63 times bigger than the MP4 X serves, in our test. We took each MP4 and made two GIFs with ffmpeg:
- Raptor's GIF: the settings our Animated GIF button uses: 10 frames a second, at most 480 pixels wide (never enlarged), and a palette of 128 colours made for that clip.
- Full GIF: the same size and frame rate as the MP4, with one 256-colour palette, the most a GIF frame can hold.
| GIF (posted) | MP4 from X | Raptor's GIF | Full GIF |
|---|---|---|---|
| GIPHY (2018), 680×382, 1.5 s | 162 KB | 790 KB (4.9×) | 2.71 MB (16.7×) |
| NASA (2018), 480×270, 3.1 s | 186 KB | 1.95 MB (10.4×) | 3.84 MB (20.6×) |
| MSNBC (2019), 480×270, 3.4 s, 34 frames a second | 351 KB | 2.67 MB (7.6×) | 11.2 MB (32.0×) |
| MewZe #1 (2025), 220×210, 9.7 s | 99 KB | 1.46 MB (14.7×) | 1.92 MB (19.3×) |
| MewZe #2 (2025), 498×210, 2.0 s | 37 KB | 914 KB (25.0×) | 1.36 MB (37.2×) |
| MewZe #3 (2025), 498×384, 1.4 s | 41 KB | 693 KB (16.8×) | 1.97 MB (47.6×) |
| MewZe #4 (2025), 220×192, 10.2 s | 38 KB | 869 KB (22.6×) | 1.75 MB (45.5×) |
| Hidden Power Podcast (2026), 480×480, 3.0 s | 63 KB | 1.30 MB (20.7×) | 3.97 MB (63.2×) |
Sizes are in thousands and millions of bytes. The script that made this table is measure_x_gif.py in our tooling, run on our test computer with yt-dlp 2026.08.19 and ffmpeg.
Three things stand out:
- Even a cut-down GIF is far bigger. Dropping to 10 frames a second and 128 colours still left every GIF at least 4.9 times the MP4.
- Smooth clips cost the most. The MSNBC clip runs at about 34 frames a second. As a full GIF it grew to 11.2 MB, from 351 KB.
- Real videos are worse. The 5-second video from West Bromwich Albion is 2.98 MB as an MP4. As a full-size GIF it was 109 MB. Raptor's GIF of it was 7.36 MB, but only because it shrank the picture to 480 by 854 and kept 10 frames a second.
Why the gap is so big: the GIF format stores every frame as its own picture, squeezed one picture at a time. H.264 in an MP4 mostly stores what changed since the last frame. A loop where little moves is almost free in MP4 and still costs a full picture per frame in GIF.
What the GIF format cannot do
A GIF frame holds 256 colours at most, and its timing works in hundredths of a second. Both limits come from the GIF specification itself, dated 31 July 1990.
Colours. The colour table in a GIF has 2 to the power of (a 3-bit number + 1) entries, so 256 at the very most. MDN, the reference for web developers, says the same: each palette "has 2, 4, 8, 16, 32, 64, or 256 entries", and "to simulate more than 255 or 256 colors, dithering is generally used". Dithering is the fine dot pattern you see in GIFs of skies, skin and shadows. An MP4 frame has no palette, so it keeps smooth colour.
Timing. The specification defines the delay between frames as "the number of hundredths (1/100) of a second to wait". A clip at 15 frames a second needs 6.67 hundredths per frame, which a GIF cannot store. Our measurements show the result: the GIPHY and NASA clips, about 15 frames a second as MP4s, came out at 16.67 as full GIFs (6 hundredths per frame). The 34-frame MSNBC clip came out at 33.33. A GIF can only play at speeds like 50, 33.3, 25, 20, 16.7 or 10 frames a second.
Sound. GIF has no place for sound. That fits X, whose GIFs have none anyway.
X's own limits for posting a GIF
X's developer documentation sets four limits for an animated GIF in a post. They apply when you upload, not when you download:
| Limit | X's number |
|---|---|
| File size | 15 MB or less |
| Picture size | 1280 × 1080 pixels or less (width × height) |
| Frames | 350 or fewer |
| Pixels in total | 300 million or fewer (width × height × frames) |
| GIFs per post | 1 (or up to 4 photos, or 1 video) |
The pixel rule is the one people miss. At the full 1280 by 1080, each frame has 1,382,400 pixels, so 300 million allows only 217 frames, not 350. That is under 9 seconds at 25 frames a second. And with our measurements in mind, the 15 MB cap is easy to hit with a real .gif even when the same clip as an MP4 would be tiny.
When a real .gif is worth it
Keep the MP4 unless the place you are sending it accepts GIF and nothing else. MP4 is smaller, sharper and plays almost everywhere:
| You want to | Use |
|---|---|
| Send it in WhatsApp, Telegram, iMessage or Discord | MP4 |
| Put it in slides (PowerPoint, Keynote, Google Slides) or a video editor | MP4 |
| Post it again on X, TikTok or Instagram | MP4 (X would serve a GIF as MP4 anyway) |
| Keep it on your phone | MP4 (Save Video puts it in Photos) |
| Put it in an email newsletter or an email signature | GIF, because most email apps do not play video |
| Upload to an old forum or a site that only takes images | GIF |
To get a real .gif from an X post with Raptor Downloader, paste the post's link and press Animated GIF. We download the MP4 and make the GIF on our server with the settings above. The button appears for GIF posts and for videos up to 30 seconds. Until 5 October 2026 it did not appear for GIF posts at all, because X gives them no length and our button waited for one; that is fixed.
If you want full control instead, the full-GIF settings from our table are one ffmpeg command:
ffmpeg -i clip.mp4 -vf "split[a][b];[a]palettegen=max_colors=256[p];[b][p]paletteuse" -loop 0 clip.gif
To make the file smaller, add fps=10,scale=480:-2, at the start of the part in quotes (leave out the scale part if the clip is already narrower than 480 pixels, or it gets bigger). Fewer frames and a smaller picture cut the size more than anything else.
What you cannot download
Only public posts can be saved. Posts from protected accounts, and posts X hides behind a sensitive-content warning for logged-out visitors, need a login, and we never log in to anyone's account. A downloader cannot make those public, and it should not try.
The GIF also still belongs to whoever made it. Many reaction GIFs are clips from films, shows or games, so the rights sit with a studio, not with the person who posted it. Keeping one to watch or to send to a friend is a different thing from using it in an advert or your own channel. For anything public, ask first or use an official GIF library that licenses its clips.
Questions people ask
How to download a GIF from Twitter?
Copy the post's link with Share, then Copy link, and paste it into a downloader. You get the MP4 that X stores. On Raptor Downloader the Animated GIF button also makes a real .gif from it.
Why can't I just right-click and save Twitter GIF?
Because there is no .gif on the page to save. X plays the GIF as a video, and the picture you see before it starts is a still JPG. A downloader reads the post and finds the MP4 file behind the player.
Do I need to convert the file after I download twitter gif?
Usually not. Phones, computers, chat apps, slide decks and video editors all play MP4. Convert only for a place that accepts GIF and nothing else, and expect a much bigger file.
Does a Twitter GIF have sound?
No. None of the 8 GIFs we measured had a sound track at all. If a looping clip on X has sound, it was posted as a video, not as a GIF.
Why is the .gif so much bigger than the MP4?
GIF stores each frame as a picture with at most 256 colours, compressed one picture at a time. MP4 (H.264) stores mostly the changes between frames. For the same clip, that made the .gif 17 to 63 times bigger at full size in our test.
What is the best way to save Twitter GIF on an iPhone?
Download the MP4 in Safari. It goes to the Downloads folder in the Files app. Open it, tap Share, then Save Video to put it in Photos, where it plays like any clip.
If I post the .gif back to X, will it stay a GIF?
It will be shown as an MP4 again, like every GIF we measured. X's upload rules also cap a GIF at 15 MB, 1280 by 1080 pixels and 350 frames.
Is downloading GIF from Twitter legal?
Saving a public GIF for yourself is common, but the person who made it keeps the copyright, and reaction GIFs are often clips from films or TV. Ask before you reuse one in your own work. This is general information, not legal advice.
Sources
First published . Written and checked by the Raptor Downloader team. Download only videos you own or have permission to use. Terms · Copyright and takedowns