Convert MP4 to GIF (Free, Online, No Upload)
Turn any MP4 video into an animated GIF right in your browser. Your files stay on your device and nothing gets uploaded to a server. It is completely free with no account required.
Try it in your browser
Loading FFmpeg engine... (~31 MB)
How to mp4 to gif online
- 1Drop your MP4 file into the tool above, or click to browse your files.
- 2Adjust the frame rate, width, or trim the clip if needed.
- 3Click convert and download your GIF.
About GIF format
A GIF is a short, looping animation that plays without a video player. You see them everywhere: Slack messages, tweets, product demos, documentation. They work in any browser and most email clients, which is why people still use them despite newer formats.
Converting an MP4 to a GIF means pulling out a clip (or the whole video) and turning it into a series of frames with a limited color palette. GIFs only support 256 colors per frame, so the conversion process uses a technique called palette optimization to pick the best colors and reduce banding.
You would convert to GIF when you need something that auto-plays and loops without controls: a quick demo, a funny reaction clip, a UI animation for docs. For longer content or anything where audio matters, stick with video. GIFs have no sound and file sizes get large quickly.
The tool here handles the palette optimization automatically. You just pick your frame rate and resolution, and it does the rest.
Use the API
curl -X POST https://renderio.dev/api/v1/run-ffmpeg-command \
-H "X-API-KEY: ffsk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"ffmpeg_command": "-i {{in_video}} -vf \"fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse\" {{out_video}}",
"input_files": {
"in_video": "https://example.com/input.mp4"
},
"output_files": {
"out_video": "output.gif"
}
}'Need an API key? Get your free API key to start processing files programmatically.
Common Variations
-i input.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif-i input.mp4 -t 3 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif-i input.mp4 -t 5 -vf "fps=8,scale=240:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif-i input.mp4 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 3 output.gifFrequently Asked Questions
Is this free?+
Are my files safe?+
What is the max file size?+
How do I convert MP4 to GIF for free?+
What frame rate should I use for my GIF?+
How do I make the GIF file smaller?+
Does this work on my phone?+
Can I convert just a section of the video?+
Privacy
Your files stay on your device the entire time. The conversion runs locally in your browser, so nothing is uploaded to a server. No data is collected, stored, or tracked.
Related Operations
Need to process at scale?
Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.