OfflaneAI

MP4 to GIF —
pick the moment, get the loop

Drop an MP4, set the start and end with the sliders, choose 480 px and 10 fps, and download a GIF ready for chat, email, GitHub or a presentation. The file never leaves your computer.

  • 🎬 MP4, MOV, WebM in
  • ✂️ Trim to the best 2–6 seconds
  • 🔒 Private — no upload
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

What settings make a good GIF?

480 px wide, 10 fps, 3–5 seconds, 256 colours: smooth, readable and usually 2–4 MB. Drop to 320 px and 128 colours for email.

Can I make the GIF loop?

GIFs made here loop forever by default — that is how chat apps and browsers display them.

Does the sound get included?

No — GIF has no audio. If you need sound, share the video itself or use the MP3 tool to extract the audio.

How do I keep the GIF small?

Three levers: width (480 px is plenty for chat), frame rate (10 fps looks smooth enough) and length (2–6 s loops). Fewer colours (128) saves another 20–30%. A 5-second 480 px clip at 10 fps is usually 2–4 MB.

Why is my GIF larger than the video?

GIF is a 30-year-old format with no real video compression — every frame is stored almost fully. That is normal. For sharing where video is allowed, keep the MP4; use GIF where only images autoplay.

Which videos work?

Anything your browser can play: MP4 (H.264), MOV from iPhone, WebM, most MKV. Clips up to 30 s are converted; for longer videos pick the best moment with the start/end sliders.

MP4 files that open, and ones that do not

The video is decoded by your browser’s own player, so any MP4 the browser can play works. Most MP4s hold H.264 video and open everywhere. MP4 and MOV files from recent iPhones, drones and many cameras often hold HEVC (H.265) instead, which some browsers cannot decode: the player stays empty or “Could not decode this video in the browser” appears. Open the page in Safari, or in a recent Chrome or Edge on a device with hardware HEVC support, or export the clip as H.264 first.

The sound track is ignored, so it does not matter which audio codec the MP4 uses.

Choosing the moment

A new file opens with its first 5 seconds selected. Drag “Start” and “End”; the player jumps to the frame under the handle, so you can place the cut exactly.

  • Start and end on similar frames. A GIF loops forever. If the last frame looks like the first, the jump back is hard to notice.
  • Keep it to one action. A loop of a single movement reads better in a chat than a sequence of several.
  • Mind the limits. A GIF holds at most 30 seconds and 300 frames, whichever comes first. At 15 fps that means 20 seconds, at 20 fps 15 seconds. The “Make GIF” button shows the number of frames before you start.

Making a smaller GIF from an MP4

An MP4 stores only what changes between frames and uses millions of colours. A GIF from this tool stores every frame whole with at most 256 colours. That is why a 3 MB MP4 can become a larger GIF, and why every setting that removes pixels or frames helps.

ChangeEffect on size
Width halved, for example 640 to 320 pxAbout a quarter of the pixels in every frame
Frame rate from 20 to 10 fpsHalf the frames
Selection from 6 to 3 secondsHalf the frames
Colours from 256 to 64Smaller, mainly on screen recordings and cartoons

Reduce Width first, then the length, then the frame rate, and Colours last. Filmed footage needs 256 colours, or skies and shadows break into bands.

Prepare vertical and wide videos

There is no crop control in the GIF tool, and a phone video in portrait or a widescreen clip carries a lot of frame around the subject. Crop it to the part that matters with the video cropper first, then convert: the same width then shows the subject larger.

The video to GIF guide explains how frames are captured and encoded, and suggests settings for chat, GitHub and email.