Powered by WebAssembly

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

  1. 1Drop your MP4 file into the tool above, or click to browse your files.
  2. 2Adjust the frame rate, width, or trim the clip if needed.
  3. 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

Higher frame rate (15fps, smoother)
-i input.mp4 -vf "fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif
First 3 seconds only
-i input.mp4 -t 3 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif
Small thumbnail GIF (240px wide)
-i input.mp4 -t 5 -vf "fps=8,scale=240:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" output.gif
Loop 3 times then stop
-i input.mp4 -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 3 output.gif

Frequently Asked Questions

Is this free?+
Yes, 100% free. No account, no trial, no hidden fees. You can convert as many files as you want.
Are my files safe?+
Your files never leave your device. The conversion runs locally in your browser, so nothing is uploaded to any server. Nobody sees your video but you.
What is the max file size?+
There is no fixed limit. Since the tool runs on your own device, it depends on your browser and available memory. Most videos under 200MB convert without any issues.
How do I convert MP4 to GIF for free?+
Drop your MP4 file into the tool above, adjust settings like frame rate or duration if you want, then hit convert. The GIF downloads straight to your computer.
What frame rate should I use for my GIF?+
10 FPS works well for most cases. Use 15 FPS if you need smoother motion, but the file will be larger. For simple reaction GIFs or thumbnails, 8 FPS is usually fine.
How do I make the GIF file smaller?+
Three things help: lower the frame rate, reduce the width, or trim to a shorter clip. A 3-second GIF at 10 FPS and 480px wide will be much smaller than a full-length video conversion.
Does this work on my phone?+
Yes. It works in Chrome, Firefox, Safari, and Edge on both desktop and mobile. The conversion happens in your browser regardless of what device you are using.
Can I convert just a section of the video?+
Yes. Use the trim controls to pick a start and end time before converting. This is useful when you only need a few seconds from a longer 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.