Skip to content
MP4 to GIF

Free MP4 to GIF converter

MP4 to GIF Converter in Your Browser

Convert MP4 to GIF in three moves: choose the file, drag the handles to the seconds you want, and download a sharp animated GIF. It all runs on your device, so nothing is uploaded.

Drop a video here

MP4, MOV, WebM, MKV or AVI, up to 1 GB. A GIF works too: it becomes an MP4.

Your video never leaves this device: it is converted in your browser.

How to convert MP4 to GIF

This MP4 to GIF converter works in three steps, on a phone or a computer. Nothing to install and no account.

  • Choose or drop your MP4. MOV, WebM, MKV and AVI files work the same way.
  • Drag the two handles on the filmstrip to the part you want. The first 5 seconds are selected to start with, and one GIF can hold up to 30 seconds.
  • Pick a width, a frame rate and a quality preset, then press Convert to GIF. When it finishes, check the file size under the preview and download the GIF (on a phone, Save to Photos puts it in your camera roll).

What happens when you press Convert

The first time, your browser downloads the converter, a 31 MB WebAssembly build of FFmpeg, the same open-source engine that professionals use from the command line. After that it is cached, and later conversions start right away.

The converter reads only the seconds you selected, scales them to your width, picks the best 256, 128 or 64 colors for that clip, and writes the animated GIF. A 5-second clip at 480 px usually takes a few seconds on a laptop and a little longer on a phone. You can cancel at any time and the page stays responsive while it works.

Why GIFs from this converter look sharper

A GIF can show at most 256 colors at once, while a frame of an MP4 can contain millions. How a converter chooses those 256 colors decides whether the GIF looks clean or blotchy. Many quick converters use a generic palette, which is why skies turn into bands and skin tones go grainy.

Here every MP4 to GIF conversion builds a palette from your clip first (FFmpeg's palettegen), then maps each frame onto it with dithering (paletteuse). Dithering mixes neighboring pixels to suggest colors the palette does not have, so gradients stay smooth. Only the parts of a frame that changed are rewritten, which keeps the file smaller when the background is still.

Make the GIF smaller or clearer

GIF file size grows with three things: the number of frames, the number of pixels in each frame, and how busy the picture is. Each setting in the tool controls one of them.

MP4 to GIF file size: one 5-second clip at 480 px
Sharp, 15 fps
6.6 MB
Balanced, 15 fps
4.3 MB
Small, 15 fps
3.2 MB
Balanced, 10 fps
3.3 MB
Small, 10 fps
2.5 MB

Measured with the palette filters this converter uses, on a 1080p source. Fewer colors and fewer frames both shrink the GIF.

Clip length

Length matters most. Most good GIFs are 2 to 6 seconds: one gesture, one reaction, one step of a tutorial. Anything over 10 seconds grows quickly, and that is usually the point where a short MP4 is the better format.

Width

Halving the width cuts the pixels per frame by four. 480 px is a good default for chat and social posts; 320 px suits reaction GIFs and emoji-like loops; 640 to 800 px keeps text legible in screen recordings. The tool never stretches a video wider than it is, because upscaling adds size without adding detail.

Frame rate

Phone footage is usually 30 or 60 frames per second, but a GIF rarely needs that. 10 to 15 fps looks smooth for people and pets, 20 to 30 fps for fast motion, and 5 to 8 fps is plenty for slides or a cursor moving through a menu. Going from 30 to 15 fps halves the frames.

Quality preset

Sharp uses all 256 colors with smooth dithering. Balanced uses 128 colors with a fine ordered pattern that compresses better, and usually looks almost the same. Small uses 64 colors and works well for screen recordings, cartoons and flat graphics. In our tests on a 5-second 1080p clip at 480 px and 15 fps, the three presets came out at about 6.6, 4.3 and 3.2 MB, and dropping to 10 fps took Balanced to 3.3 MB.

MP4 to animated GIF: what a GIF cannot do

Before you convert MP4 to GIF, it helps to know the format's limits. GIF dates from 1989 and was never designed for moving footage.

  • No sound. The audio track of your MP4 is dropped; if the sound matters, share the MP4 instead.
  • 256 colors per frame. Photos and gradients are approximated with dithering; flat graphics look perfect.
  • Bigger files than video. GIF compresses each frame on its own, while MP4 stores only what changes between frames. A GIF is often 5 to 10 times larger than the MP4 it came from.
  • No pause or seek. A GIF just plays, which is exactly why it works in places that do not play MP4: chat messages, email, README files and docs.

What people make with an MP4 to GIF converter

Short, silent, looping clips are where GIF still wins. Three common uses:

Reactions and stickers for chats

Cut the two seconds of a clip that say it all, keep the width at 320 or 480 px and the loop on Forever. Small GIFs send fast and play inline in Slack, Discord, Teams, iMessage and WhatsApp.

Product demos and documentation

A looping screen recording shows a feature better than a paragraph. Record the screen, trim to the one interaction, choose 640 or 800 px so text stays readable, 8 to 12 fps and the Small preset. GIFs play right inside GitHub pull requests, Notion, Confluence and help-center articles.

Social posts and email

Most email clients show animated GIFs but not embedded MP4 files, so a short GIF is the usual way to add motion to a newsletter. Keep it light: email GIFs load on mobile data, and the first frame is what some clients show if they do not animate.

Other formats and the other direction

MP4 is the most common source, but the converter reads almost any format. iPhone videos and Mac screen recordings are MOV files: the MOV to GIF converter starts with settings that suit portrait clips. For WebM, MKV, AVI and other formats, the video to GIF converter explains what each format needs. Going the other way, GIF to MP4 shrinks a heavy GIF into a small MP4 for sites that accept one. And if you prefer to do it in Photoshop, on the command line or with your phone's built-in apps, the guide on how to convert MP4 to GIF covers each method step by step.

Private by design: your video is never uploaded

Most online converters upload the whole file to a server, convert it there and send the result back. That takes time, puts your footage on someone else's computer and usually comes with file size limits, queues or sign-ups.

MP4 to GIF works differently. The MP4 to GIF converter runs inside your browser tab, so the file is read from your device, converted in memory and saved back to your device. No part of it is sent to us or to anyone else, and closing the tab clears it. That is also why there is no queue: the only limit is your device, and files up to 1 GB open here. Read the privacy policy for the details.

MP4 to GIF converter FAQ

Is this MP4 to GIF converter free?

Yes. There is no account, no watermark, no daily limit and no paid tier. The conversion runs on your own device, so it costs us nothing per file.

Is my video uploaded?

No. The file is converted inside your browser with a WebAssembly build of FFmpeg and saved straight to your device. It never reaches our server.

How long can the GIF be?

Up to 30 seconds per GIF. For most uses 2 to 6 seconds is ideal; past 10 seconds the file gets large, and a short MP4 is often the better choice.

Why is my GIF bigger than the MP4?

GIF compresses every frame on its own and has no motion compression, while MP4 stores only what changes between frames. Lower the frame rate, choose a smaller width or the Small preset, or shorten the clip.

Does the GIF keep the sound?

No. GIF is an image format and cannot contain audio. If the sound matters, share the MP4 or convert a GIF back with GIF to MP4.

Can I convert MP4 to GIF on iPhone or Android?

Yes. Open this page in Safari or Chrome, tap Choose video, pick a clip from your library, convert, then tap Save to Photos or Download.

What is the best frame rate for a GIF?

10 to 15 fps for most clips, 20 to 30 fps for fast action, and 5 to 8 fps for screen recordings and slides. The default is 15 fps.

Can I set how many times the GIF loops?

Yes. Choose Forever, Once or 3 times before converting. Most apps and browsers respect the setting; a few chat apps always loop GIFs.