Home / Video & Audio

MP4 to GIF Converter

100% client-side processing: your files never leave your browser.

Convert the other way: GIF to MP4

or drop MP4 files here. They stay on your device.

Choose or drop files to start.

    GIF is the oldest animation format still in daily use. It plays without a player, loops by itself, and works in chat apps, README files, bug reports, forums and slide decks where a video would not autoplay. This converter turns an MP4 into an animated GIF in your browser: it samples frames from the video at the frame rate you choose, scales them to an even width based on your setting, and writes a GIF that loops forever.

    How to Use the MP4 to GIF Converter

    1. Select Choose files, or drop one or more MP4 or M4V files onto the drop area.
    2. The target is fixed to GIF on this page.
    3. Set GIF width (default 480 pixels) and Frames per second (default 12) before you drop the file, or change them and select Convert to run the list again.
    4. The row shows how many frames were written and the size of the GIF.
    5. Select Download to save it.

    Width, Frame Rate and Length

    GIF files grow quickly, so the converter keeps them in check:

    Setting Default Range Effect on size
    GIF width 480 px 64 to 1280 px Doubling the width roughly quadruples the size
    Frames per second 12 1 to 30 Size grows in step with the frame rate
    Length First 30 seconds Fixed Longer clips are cut at 30 seconds

    The height follows the video's aspect ratio. The width is capped at the source width, with a minimum of 2 pixels. For a reaction clip or UI demo, 480 pixels at 10 to 15 frames per second is a good balance. Go higher only for short clips: a 30-second GIF at 1280 pixels and 30 frames per second can run to tens of megabytes.

    The row can flag a cutoff when only the first 30 seconds are used. Trim the video first if you need a different part.

    How the Colours Are Chosen

    A GIF frame can hold at most 256 colours. The converter builds a fresh palette for every frame from that frame's own pixels, so each one gets the colours it needs most. Flat interface recordings and cartoons look clean. Camera footage with gradients, skies or skin tones shows some banding, which is a limit of the GIF format itself.

    What a GIF Cannot Do

    • No sound. The video's audio is not included; GIF has no audio track.
    • No transparency from MP4. The converter writes GIF frames without transparency.
    • Bigger than the video. A GIF is almost always several times larger than the MP4 it came from, because GIF compression is far weaker than video compression. If the place you are posting to accepts MP4 or WebM, a short video is smaller and looks better.

    If you already have a GIF and need a video file, use the GIF to MP4 converter. The video converter also offers WebM output.

    Privacy: Nothing Is Uploaded

    The video is decoded and the GIF is encoded inside a background worker in your browser. Your video stays on your device, and the worker is blocked from contacting other websites. The page works offline once it and the converter code have been cached.

    Browser Support

    MP4 to GIF was tested successfully in Chrome and Safari (WebKit). The browser needs to be able to decode the MP4's video; H.264 and HEVC from phones and cameras are the usual case.

    Frequently Asked Questions

    How long can the GIF be?

    Up to the first 30 seconds of the video. GIFs longer than that quickly reach sizes that chat apps and websites reject.

    Why is my GIF so much bigger than the MP4?

    GIF compresses each frame on its own with a palette of up to 256 colours, while typical MP4 video codecs can also compress across frames. Lower the width or the frame rate to make the GIF smaller.

    Does the GIF loop?

    Yes. The GIF is written to loop forever, which is what chat apps and websites expect.

    Is the sound kept?

    No. The GIF format has no sound. Use the MP4 to MP3 converter if you need the audio.

    Are my videos uploaded?

    No. Everything runs in your browser on your device.