Convert MP4 to GIF Online: Trim, Resize and Loop Any Short Clip

Trim the part you want, set the frame rate and size, and get a looping GIF for chats, docs or posts.

Drag & drop an MP4, or

MP4, MOV and WebM supported

Keep this tab open and in the foreground while it works, for the fastest speed.
Found this useful? Share it

Convert MP4 to GIF in your browser

My MP4 to GIF converter turns an MP4 clip into a looping animated GIF on your own device. It also takes MOV and WebM files. You trim the moment you want, set the frame rate, size and number of colors, and download the GIF. It's free, and I don't cap file size or stamp a watermark on the GIF.

People make GIFs here for a reaction clip in a chat, a short demo in a doc or support ticket, or a looping snippet for a blog post or product page. Your browser decodes the video with its built-in WebCodecs decoder and a small JavaScript GIF encoder writes the frames, so the whole conversion happens on your computer and you don't upload the screen recording or phone video anywhere.

How to convert MP4 to GIF

1.Add your video

Drag in an MP4, MOV or WebM file, or click to browse for one.

2.Trim and set your options

Drag the trim handles to the section you want, then pick the frame rate, size, color count and whether the GIF loops.

3.Convert and download

The GIF is built on your device. Download it or share it straight from the page.

The tool starts at 8fps, 360px wide and 256 colors, which keeps most short clips at a size chat apps accept. From there you can crop to a square, 16:9, 9:16 or 4:3 frame, change playback speed from 0.5x to 4x, reverse the clip and turn dithering on or off.

Why convert MP4 to GIF?

A GIF starts playing by itself and loops forever, with no play button and no player controls. That's why it works in places where an MP4 doesn't. A reaction clip has to autoplay in a chat thread or forum post. A product demo or UI walkthrough reads better as a silent loop inside a doc, a README or a ticket than as a video someone has to click. Many messaging apps, comment sections and CMS editors block video or embed it badly, yet they show a GIF inline without complaint.

For something only a few seconds long, a GIF is also more portable. It opens the same way in almost every app, browser and operating system, because it's an image and needs no video codec. You don't get a black screen or a "format not supported" error.

MP4 vs. GIF: which one do you need?

MP4 and GIF solve different problems, and turning one into the other means giving something up on purpose.

MP4GIF
AudioSupportedNot supported. A GIF has no audio track in any player.
ColorMillions of colors256 colors per frame at most
CompressionEfficient: small files even for long, busy footageInefficient: size climbs fast with length and motion
PlaybackNeeds a video player or a tap to startAutoplays and loops with no controls
CompatibilityWide, but sometimes blocked or missing a codecShows up almost anywhere images are allowed
Best forAnything with sound, or longer than a few secondsShort, silent, looping snippets

If people need to hear the clip, or it runs longer than 10 to 15 seconds, keep it as an MP4. If the MP4 is just too big to send, shrink it with the video compressor instead. A GIF makes sense when the clip is short, the sound doesn't matter, and it has to autoplay somewhere a video can't.

What affects GIF quality and file size

GIF is a far older and less efficient format than MP4. Settings that barely move a video's size can double or triple a GIF's:

  • Duration. Every extra second adds a full set of frames. Trimming to the part you need is the biggest single lever on file size.
  • Frame rate. 24fps looks smoother than 10fps but stores more than twice as many frames. Most short GIFs look fine at 10 to 15fps. Save 20 to 24fps for fast motion that has to read clearly.
  • Dimensions. A 720px-wide GIF can weigh several times more than the same clip at 360px. Size it for where people will see it, not for the source resolution.
  • Color count. Each GIF frame holds at most 256 colors. Dropping to 128 or 64 shrinks the file further. You'll see banding on camera footage, but screen recordings and flat graphics barely change.
  • Motion. A busy, high-motion scene compresses worse than a mostly still shot, because GIF compression depends on pixels repeating from frame to frame.

Maxing every setting gives you a GIF too heavy to post, and minimizing every setting makes it blocky and muddy. Trimming tighter almost always beats lowering quality: a shorter GIF at full quality usually looks better and weighs less than a longer one squeezed hard. I explain the reasons in why GIFs get so big.

Frequently asked questions

How do I convert an MP4 to a GIF?

Drop your MP4 into the tool above, trim it to the part you want, set the frame rate, size and colors, then convert and download. It all happens in your browser.

Is this MP4 to GIF converter really free?

Yes. You don't need to sign up, and I don't put a watermark on the GIF or limit how many you make.

Is my video uploaded anywhere?

No. Your browser decodes the video and builds the GIF locally, so I never see the file.

What formats can I convert to GIF?

MP4, MOV and WebM. An iPhone MOV or a WebM screen recording goes in directly, with no need to convert it to MP4 first. For iPhone clips, the MOV to GIF converter has iPhone-specific tips.

Why is my GIF file so large?

Trim the clip shorter first, since length has the biggest effect. Then lower the frame rate, shrink the width, or cut the colors from 256 to 128 or 64. If you already have a finished GIF that's too big, run it through the GIF compressor.

Why does my GIF look blurry or blocky?

The color count or width was probably set too low for a busy, colorful clip. Go back to 256 colors and a slightly larger width, and trim the clip shorter so the file doesn't balloon.

Why does my GIF look choppy?

The frame rate is too low for the motion in the clip. Raise it to 15 or 20fps, which handles most everyday motion, and trim a little tighter to balance the bigger file.

Why is there no sound in my GIF?

The GIF format can't carry audio, whatever tool makes it. If the sound matters, keep the clip as a video, or save only the audio with the MP4 to MP3 converter.

Can I turn a long video into a GIF?

You can, but the result will be huge. GIF doesn't compress motion over time the way MP4 does, so past 15 to 20 seconds it's usually the wrong format. Cut a short highlight, or keep the video as a compressed MP4.

Why is the conversion slow?

Every sampled frame gets decoded, reduced to a 256-color palette and encoded again. A high frame rate, a large width or a long trim range means more of that work. A shorter clip or a lower frame rate speeds it up a lot.

Can I make a high-quality GIF, not just a small one?

Yes. Set 256 colors, keep the frame rate at 15 to 20fps and pick a larger width. Expect a bigger file the higher you push each setting.

Can I crop or resize the GIF?

Yes. Pick any width up to your source video's width, and crop to square, 16:9, 9:16 or 4:3 before converting.

Does the GIF loop automatically?

Yes, GIFs loop forever by default. You can switch to play-once instead.

Can I speed up, slow down or reverse the clip?

Yes. Set the speed anywhere from 0.5x to 4x, and reverse the clip before converting.

Does this work on iPhone, Android, Mac and Windows?

Yes. It's a web page, not an app, so it works the same in any modern browser with nothing to install.