How to Turn an X GIF into a Real .gif File
GIFs from X download as MP4 files. When an app insists on a real .gif, here is how to convert one with free tools and keep it small and sharp.
By ClipDriftUpdated Oct 23, 2026 6 min read
On this page
If you have ever downloaded a GIF from X and been surprised to find an MP4 file, you are in good company. X (formerly Twitter) converts every uploaded GIF into a short, silent video that loops. For most uses that's perfect, but some apps, forums, email signatures and older devices only accept files that end in .gif. This guide shows how to turn an X GIF into a real .gif file, which free tools to use, and which settings keep the result small and sharp.
Step 1: Download the GIF from X
On X, open the post with the GIF and tap the share icon.
Choose Copy link.
Paste it into the X GIF downloader and download.
You now have an MP4 file that loops. Our article on why Twitter GIFs are saved as MP4 files explains why X does this and why it's usually a good thing.
Do you actually need a .gif?
Before converting, check whether the place you want to use it accepts MP4. WhatsApp, Telegram, Discord, Slack, iMessage, PowerPoint, Keynote and most social networks handle short MP4 clips well, often looping them automatically. If they do, keep the MP4. It will be several times smaller than the .gif and will look better.
Common places that really do need a .gif include some forums, email signatures, older content management systems and certain messaging tools at work.
A quick way to find out is to try uploading the MP4 first. If the site accepts it and the clip loops, you have saved yourself a conversion and kept the better-looking file. Only convert when the upload is rejected or the clip won't play.
Why .gif files are bigger and look worse
The GIF format dates back to the late 1980s. It can only show 256 colors per frame and compresses each frame in a simple way. Modern video formats like the MP4 X uses are far more efficient. That means converting from MP4 to GIF almost always produces a larger file, with some color banding. The goal is to limit the damage with good settings.
Step 2: Convert the MP4 to .gif
Option A: An online converter
Many websites convert MP4 to GIF in the browser. Upload the file, choose a size and frame rate, and download the result. This is the easiest option, but read the site's privacy policy, avoid sites that bombard you with pop-ups, and don't upload anything private. Our guide on spotting fake download buttons helps you stay safe on converter sites.
Option B: ffmpeg (best quality, free)
ffmpeg is a free, open-source command-line tool. The best results come from a two-step process: first build a color palette from the clip, then use it to create the GIF.
ffmpeg -i input.mp4 -vf "fps=12,scale=480:-1:flags=lanczos,palettegen" palette.png
ffmpeg -i input.mp4 -i palette.png -lavfi "fps=12,scale=480:-1:flags=lanczos[x];[x][1:v]paletteuse" output.gif
The first command analyzes the video and picks the best 256 colors. The second uses those colors to build a cleaner GIF with less banding.
Option C: Photo and video apps
Some editors, such as GIMP on a computer or dedicated GIF apps on phones, can import a video and export it as a GIF. Results vary, so compare the file size and colors with the methods above.
The settings that matter
Frame rate. Most X GIFs play smoothly at 10 to 15 frames per second. Going higher adds file size quickly with little visible benefit.
Width. 320 to 480 pixels wide is plenty for chat and forum use. Halving the width cuts the file size dramatically.
Length. Trim the clip to the exact moment you need. Every second adds frames. Our guide on trimming a downloaded Twitter video shows how.
Colors. Using a generated palette, as in the ffmpeg method above, keeps skin tones and gradients looking natural.
A quick size check
After converting, compare the .gif to the original MP4. If the GIF is many times bigger, try a lower frame rate or narrower width. Many platforms that accept .gif uploads also have size limits, so a quick reduction can mean the difference between a successful upload and an error.
Download any X video in seconds
Paste a post link below to save the video, GIF or image in the best quality.
Works with x.com, twitter.com, fxtwitter, vxtwitter and fixupx links.
Troubleshooting your converted GIF
Conversions don't always come out right the first time. Here are the most common issues and quick fixes.
Grainy or speckled colors. This is called dithering, and it happens when 256 colors aren't enough. Use the palette method, or try a slightly smaller width so there is less detail to represent.
Choppy motion. The frame rate may be too low. Try 15 frames per second instead of 10, and check the file size again.
The GIF plays only once. Most tools loop by default, but some don't. In ffmpeg, add -loop 0 before the output file name to make it loop forever.
The upload is rejected. The file is probably over the site's size limit. Shorten the clip, lower the width, or reduce the frame rate.
A black first frame. Trim a fraction of a second off the start of the MP4 before converting.
Making a couple of quick test versions with different settings is normal. Keep the one that looks good at the smallest size.
Make your own GIF from any X video
The same method works on regular videos, not just GIFs. Download a clip with the X video downloader, trim the moment you want, and convert it. That's how many reaction GIFs are made. Our guide on making a reaction GIF from a Twitter video goes step by step, including how to add a caption.
Respect the original creator
Many popular GIFs come from TV shows, films, artists or individual creators. Converting a file doesn't change who owns it. Using a GIF in a private chat is very different from using it to promote a business. Only download and convert content you own or have permission to use, and credit the creator where you can. You can find more GIFs to save from any public post using the ClipDrift homepage.
FAQ
Why does a GIF from X download as an MP4?
X converts uploaded GIFs into short silent MP4 videos that loop, because they're smaller and sharper. ClipDrift gives you that original file.
How do I convert the MP4 to a .gif?
Use an online converter, a GIF app, or ffmpeg's two-step palette method for the best quality.
Why is my .gif so much bigger than the MP4?
The GIF format is old and inefficient. Reduce the frame rate to around 12 and the width to 480 pixels or less to shrink it.
What frame rate should a GIF use?
Between 10 and 15 frames per second works well for most clips. Higher rates make the file much larger.
Do apps like WhatsApp need a .gif file?
No. WhatsApp, Telegram, Discord and many others play MP4 clips on a loop, so you can usually send the MP4 directly.
Can I convert GIFs on my phone?
Yes, with a reputable GIF converter app. Check its reviews and permissions before installing.
Related articles
- GIFs & Memes
Why Are Twitter GIFs Saved as MP4 Files?
You download a GIF from X and get an MP4 file. It isn't a mistake. Here is why Twitter GIFs are saved as MP4, and why that's usually good news.
6 min read
- GIFs & Memes
How to Make a Reaction GIF from a Twitter Video
The best reactions come from real moments. Here is how to make a reaction GIF from a Twitter video, from finding the clip to exporting a small looping file.
6 min read
- How-To Guides
How to Download Videos from an X (Twitter) Thread
Threads on X often hold several videos spread across many posts. Here is how to find each one, copy the right link and save every clip as an MP4.
7 min read