SliceVideo

Convert MP4 to GIF

Make smooth, palette-optimized GIFs from any video clip — perfect for docs, PRs, and chats.

GIFs still rule anywhere autoplay video doesn't: GitHub READMEs and pull requests, documentation, Slack, and email. This converter turns any video clip into a looping GIF using a two-pass palette technique — it first analyzes your clip to build an optimal 256-color palette, then applies it with dithering, which is why the output looks dramatically better than naive converters.

GIF is an inefficient format by nature, so the controls matter: pick just the seconds you need, and keep the frame rate and width modest. Everything runs in your browser — no upload, no watermark, and no 5-second limit like many GIF sites impose.

How to mp4 to gif online

  1. 1Drop a video into the box — MP4, MOV, and WebM all work.
  2. 2Set a start time and length to capture just the moment you want.
  3. 3Choose frame rate and width; 12 fps at 480 px is a good balance.
  4. 4Click Convert to GIF, then download your looping GIF.

Frequently asked questions

Why is my GIF file so large?

GIF stores every frame as a compressed image with no inter-frame video compression, so file size grows fast with duration, frame rate, and width. A 5-second clip at 12 fps and 480 px is usually 2–5 MB; halving any of those roughly halves the size.

How is the quality better than other converters?

We generate a custom color palette from your actual footage (palettegen) and apply it with orderly dithering (paletteuse) — the same two-pass method professionals use with FFmpeg. Naive converters use a generic web palette, which causes banding and dull colors.

Is there a length limit?

No hard limit, but GIFs longer than ~15 seconds become very large files. For longer content, consider a compressed MP4 instead — most platforms autoplay muted MP4s just like GIFs.

Does my video get uploaded?

No. The conversion runs on your device via WebAssembly. Your video never touches a server.

Related tools