About this tool
Convert MP4, WebM, or OGG video clips into highly-optimized animated GIFs directly in your browser. Customize frame rate, dimensions, loop options, and speed.
The Video to GIF Converter turns a trimmed section of an MP4, WebM or Ogg clip into an animated GIF by seeking the video frame by frame, drawing each frame to a canvas, and encoding it with a per-frame quantised palette of 256, 128, 64 or 32 colours. You control the in and out points, frame rate from 5 to 30 fps, output width from 100 to 1920 pixels, playback speed from 0.5x to 2x, and whether the result loops. Everything runs in your browser and the finished GIF's size in kilobytes is shown before you download it.
Open Video to GIF Converter on AltFTool — it loads instantly in your browser.
Press Choose Video File and pick an MP4, WebM or OGG clip; 20MB or less is recommended.
Drag the Start Marker and End Marker sliders, set Target Width, Frame Rate (FPS) and Color Depth, then press Generate GIF.
Check the reported File Size in KB, then press Download Animated GIF to save converted-<timestamp>.gif.
Duration, width, frame rate and palette depth are all adjustable, and the output size in KB is reported after each compile so you can tune against a real number.
Each frame gets its own colour palette rather than one shared table for the whole animation, which keeps gradients and skin tones from banding as badly at 128 or 64 colours.
Choosing 2x rewrites the per-frame delay instead of dropping frames, so a sped-up GIF stays as smooth as the frame rate you asked for.
10 fps is the default and is usually the right trade — motion reads as continuous and the file stays small. The slider goes from 5 to 30 fps, and since frame count is duration multiplied by frame rate, doubling the fps roughly doubles the file size.
Cut the duration first, then the width, then the frame rate, then the palette. Dropping from 256 to 64 colours or from 480 to 320 pixels wide both make a large difference, and the tool reports the resulting size in KB after every compile so you can compare.
Yes. Turn the Loop switch off and the encoder writes a no-repeat flag instead of the infinite-loop value, so viewers see the animation play through a single time.
No. The clip is loaded from a local object URL, frames are seeked and drawn onto a canvas in the page, and the GIF is encoded in JavaScript and handed to you as a blob. Nothing is sent to a server.
Add the Video to GIF Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/video-to-gif"
title="Video to GIF Converter — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/video-to-gif?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>