Skip to main content

Free · runs in your browser

Convert MP4 to GIF

Trim the moment you want, pick the width and frame rate, set a size limit if you have one, and download a GIF that loops forever. Your video stays on your device.

A small dog with big ears looking at the camera and turning its head away, as a GIF that plays forever

Drop an MP4 to make a GIF

Or choose one from your computer. MOV, WebM and MKV work too.Pick a video from your photos or files. It never leaves your phone.

Works with MP4MOVWebMGIFand more

Looped on your device. Nothing is uploaded.

To convert an MP4 to a GIF, open the video here, drag the two handles under the preview around the part you want, and press Export GIF. The GIF is built in your browser, frame by frame, and loops forever unless you choose otherwise under Plays.

Every setting that decides how the GIF looks and how big it gets is in Export settings, which is already open: Width, Frame rate, Quality, Dither colours and Keep it under, a size limit that shrinks the GIF until it fits. There is no upload, no watermark and no account, and the same steps work for MOV and WebM files.

A GIF is a 1980s image format pressed into service as video, so converting well is mostly about trade-offs. The sections below explain which settings matter, what a high-quality GIF needs, and when an MP4 or a WebP would serve you better.

How to convert MP4 to GIF

  1. Open the MP4

    Drop the file on the page or press Select video (Choose video on a phone). MP4, MOV, WebM and MKV open directly, and older formats such as AVI or WMV are converted on your device first.

  2. Trim it to the moment

    Drag Loop start and Loop end under the preview, or move the playhead and press Set start (I) and Set end (O). Everything between the handles goes into the GIF, up to 30 seconds.

  3. Choose how many times it plays

    Plays starts on Forever. Pick Once, ×2, ×3 or ×5 for a GIF that stops on its last frame.

  4. Set the size and quality

    In Export settings, choose a Width (320 to 1080 pixels) and a Frame rate (10 to 30 fps). Leave Dither colours on for smooth gradients, and pick a Keep it under limit if the GIF has to fit somewhere.

    Export settings for a GIF: Width 480, Frame rate 15, Keep it under 10 MB, Dither colours on and Standard quality, with a size estimate and the Export GIF button (enlarge image)

    Width, Frame rate, Keep it under and Dither colours decide how a GIF looks and how big it gets.

  5. Export and save the GIF

    Press Export GIF. When it is ready, press Download video to save the .gif file, or Share or save to Photos on a phone.

Keep the GIF small: what really decides the size

A GIF stores every frame as a picture of up to 256 colours, compressed without loss. Nothing like the motion prediction in an MP4 exists, so the size grows with the number of pixels in each frame and the number of frames. Roughly in order of effect:

  • Width. Going from 640 to 480 pixels wide removes almost half the pixels in every frame. 480 suits chats and posts; 320 is enough for a small reaction.
  • Length. A three-second GIF is a third the size of a nine-second one. Trim to the beat that carries the joke or the point.
  • Frame rate. 15 fps looks smooth for people and most movement. 10 fps is fine for slow scenes; 25 or 30 fps only pays off for fast action.
  • How much moves. Pixels that stay the same from one frame to the next are stored once and left in place, so a steady shot with a still background converts far smaller than a handheld or grainy one.
  • Dithering. Dither colours adds a fine, regular pattern that hides colour banding. It costs a little size; turning it off helps most on flat graphics and screen recordings.

If the GIF must fit a limit, choose it under Keep it under (2, 5, 10 or 15 MB). After the first try, a GIF that comes out too big is made narrower, and then dropped to 10 fps, until it fits. The note under the result says what changed.

High-quality GIFs from an MP4

“High quality” for a GIF means using its 256 colours well. loop.video builds a fresh palette for every frame from the pixels that changed in it, so a scene that moves from a blue sky to a red jacket gets the right colours for each, rather than one compromise palette for the whole clip.

  • Set Quality to High for the full 256 colours per frame and the most faithful detail in moving areas.
  • Keep Dither colours on for skies, skin tones, gradients and shadows; without it, those turn into visible bands.
  • Use 640 or 800 pixels wide, or 1080 when the clip is that wide and the size is not a concern. The width is never stretched beyond the clip’s own.
  • Start from the best copy of the video you have. Converting a screen recording of a video, or a file that has already been squeezed by a messaging app, bakes its blockiness into every frame.

Even at its best, a GIF cannot show smooth full-colour video. If the clip has subtle gradients and the destination accepts something else, an animated WebP (choose WebP under Format, in Chrome, Edge or Firefox) keeps full colour at a fraction of the size.

Make the GIF loop forever, or a set number of times

A GIF holds one pass of the animation plus a small instruction that tells the viewer how often to play it. Plays sets that instruction: Forever (the default), Once, or two, three or five times. A GIF set to Once has no loop instruction at all, which every browser reads as “play once and stop”.

Because the restart is seen again and again, it is worth making it clean. Press Find the best loop (F) to move the handles to the start and end frames that match best, then Watch the join (J). If you already have a GIF that stops after one play, the loop a GIF page shows how to fix it.

GIF, MP4 or WebP: which to send where

  • Chat apps and forums. GIF is the safe choice when you don’t know what the other side supports. In Discord, a file over 10 MB needs Nitro at the time of writing, so Keep it under 10 MB is the setting to use.
  • Websites you control. A muted, looping MP4 in a video tag is many times smaller than the same GIF, with full colour. Use a GIF only where video isn’t allowed, such as some CMS fields and README files.
  • Email. Keep email GIFs small, a few hundred kilobytes to 1 or 2 MB, and put the important message in the first frame: some older desktop versions of Outlook for Windows show only that frame.
  • Social apps. Most convert GIFs to video on upload anyway. If a platform refuses a GIF, export an MP4 instead (Format → MP4), or see GIF to MP4 for the reverse trip.

When sound matters, a GIF is the wrong format entirely: GIF and WebP carry no audio. Export MP4 and the original sound comes with it.

Convert MP4 to GIF on iPhone and Android

This page works in Safari on iPhone and iPad and in Chrome on Android. Choose the video from Photos or Files, trim it with the handles, then press Export GIF and Share or save to Photos. On iPhone, the share sheet’s Save Image puts the GIF in Photos, where it plays in the Animated album.

Built-in alternatives

Apple’s Shortcuts app has a Make GIF action that turns a video into a GIF, with fewer controls over size and frame rate. On many Samsung phones, the Gallery’s video player has a GIF button for making a short GIF while you watch. Both are fine for a quick reaction; use the converter here when the size, width or loop count matters.

MP4 to GIF: common questions

How do I convert MP4 to GIF without losing quality?

Some loss is unavoidable, because a GIF has at most 256 colours per frame. Get as close as possible with Quality on High, Dither colours on, a width of 640 or more and 20 to 30 fps, starting from the best copy of the video.

How do I make a GIF smaller?

Lower the Width, shorten the part between the handles, use 10 or 15 fps, or choose Smaller file under Quality. Or set Keep it under to a limit and let the export shrink it for you.

What size can a GIF be for Discord?

At the time of writing, Discord accounts without Nitro can upload files up to 10 MB. Set Keep it under to 10 MB before you press Export GIF and the converter keeps the file within that.

Can I convert MP4 to GIF on iPhone?

Yes. Open this page in Safari, choose the video from Photos, trim it and press Export GIF, then Share or save to Photos and Save Image. Nothing is installed and the video isn’t uploaded.

Is there a watermark on the GIF?

No. The GIF contains only your frames. There is no watermark, no sign-up and no limit on how many you convert.

How long can the GIF be?

Up to 30 seconds. Most good GIFs are two to eight seconds long; anything longer gets large quickly and is usually better as an MP4.

Will the GIF keep the sound?

No. The GIF format has no audio track. Export an MP4 instead if the sound needs to come along.

Is my MP4 uploaded to a server?

No. The video is decoded and the GIF is encoded inside your browser tab. The file never leaves your device.