Convert MP4 to GIF

Make a shareable animated GIF from an MP4 or WebM clip — entirely in your browser, so your video never gets uploaded anywhere. This is the hard part of most online converters: they ship your file to a server. Here, your browser's own video decoder reads the frames and a lightweight in-browser encoder assembles the GIF, with controls for frame rate and width so you can balance smoothness against file size. Honest caveats up front: GIF is an old format with no video-style compression, so clips get large fast — this tool caps output width at 640px, frame rate at 5–20fps, and total frames at 200 (roughly the first 10–25 seconds depending on fps), and long videos are trimmed to that budget with a clear note. Only formats your browser can actually play will work: MP4/H.264, WebM and most MOV files are fine on Chrome, Firefox and Safari, but HEVC/H.265 or exotic codecs may not decode — if the preview won't play, this tool can't read it either. No accounts, no watermarks, no upload queues, and it keeps working offline once the page loads.

Drop an MP4 or WebM video here or click to browse

Processed locally — files never leave your device

How to use

  1. Drop an MP4 or WebM file into the box, or click it to browse.
  2. Pick a frame rate and width (lower keeps the GIF small).
  3. Frames are decoded and encoded locally in your browser.
  4. Download the animated GIF.

Frequently asked questions

Is my video uploaded to a server?

No. Your browser's built-in video decoder reads the frames and a small in-browser encoder (gifenc) builds the GIF. The file never leaves your device, and it works offline once the page loads.

Why is my GIF so large / why was my video trimmed?

GIF is a decades-old format with no modern video compression, so file size grows fast with resolution, frame rate and length. To keep output reasonable this tool caps width at 640px, frame rate at 20fps and total frames at 200 — longer clips are kept from the start and the result says so. Lower the fps or width for a smaller file.

Which video formats work?

Whatever your browser can play: MP4 (H.264), WebM and most MOV files convert fine on current Chrome, Firefox and Safari. HEVC/H.265 and some exotic codecs won't decode — if the video won't play in your browser, this tool can't read it either.

What do frame rate and width do?

Frame rate (fps) is how many frames per second go into the GIF — higher is smoother but bigger. Width scales the output (the height follows the original aspect ratio, and it never upscales beyond the source). 12fps at 320px is a good starting point for most clips.

Can I pick a start time or trim a section?

This version converts from the beginning of the clip up to the frame budget. For a specific section, trim the video first in your OS or editor, then convert the short clip here.

Which browsers does it work in?

Current Chrome, Edge, Safari and Firefox all work. Frame extraction uses the modern requestVideoFrameCallback API where the browser supports it and automatically falls back to a standard animation-frame method on older browsers (e.g. Firefox before version 132). The only hard requirement is that your browser can play the input video — everything runs locally either way.

Related tools

Turning the GIF or other images into documents? Try JPG to PDF. Need to shrink a still image? Compress JPG or Compress PNG. Changing image dimensions? Resize Image.