Skip to main content
Preparing workspace

Video to GIF Converter

Trim an MP4, WebM or Ogg video and export a forward, reverse or ping-pong GIF in your browser. Preview the animation and check file size before download.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Video to GIF Converter

Convert MP4, WebM, or OGG video clips into optimized animated GIFs directly in your browser. Features visual trimming, 8-handle crop, dithering, live size estimation, and Web Worker encoding.

Trim a section of an MP4, WebM or Ogg clip and export it as an animated GIF in your browser. Choose forward, reverse or ping-pong playback, adjust the frame rate from 5 to 30 fps, and check the frame count and duration before encoding. The generated GIF shows its actual dimensions and file size.

How to use Video to GIF Converter

  1. Press Choose Video File and pick an MP4, WebM or Ogg clip.

  2. Set the Start Marker and End Marker, then choose the width, frame rate, speed and frame order. Check the estimated duration and press Generate GIF.

  3. Select Play GIF preview to check the animation, then choose Download Animated GIF to save it.

Why use Video to GIF Converter

  • Interactive Filmstrip & 8-Handle Crop

    Trim with high precision using visual frame thumbnails and crop directly on the preview player with freeform handles or fixed aspect ratios.

  • Multi-Threaded Web Worker Engine

    Encoding runs in background threads so your browser UI remains fast and responsive even when processing high-framerate clips.

  • Playback order and speed

    Choose forward, reverse or ping-pong frame order. Playback speed sets the delay between the sampled frames.

Common use cases

  • Software engineers and QA testers capturing reproducible UI bugs or pull request demos to embed directly into GitHub issues or documentation.
  • Content creators and social media managers extracting reaction snippets or product highlights formatted for Twitter/X, Discord, or Slack size limits.
  • Web designers creating lightweight, silent hero animations and tutorial loops without requiring video player dependencies.
  • Educators and technical writers converting screen recordings into portable animated graphics for README files and technical blogs.

Frequently asked questions

How do I make a reverse or ping-pong GIF?

Choose Reverse under Frame order to export the trim from last sampled frame to first. Ping-pong plays forward and then back. With Loop GIF enabled, it avoids repeating the turn or start frame at the joins. Generate the GIF and select Play GIF preview to check the result.

Link to answer
What is the video to GIF export limit?

Each export supports 600 frames and up to 160 million pixels across those frames, with a 4 million pixel limit per frame. For longer clips, use a narrower width, lower frame rate or shorter trim. Ping-pong usually uses more frames than forward or reverse.

Link to answer
What frame rate should I use for a GIF?

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.

Link to answer
What video file formats are supported?

Standard web formats including MP4 (H.264), WebM, and OGG video. The tool also includes automatic duration correction for streaming WebM recordings.

Link to answer
How do I keep my GIF file size small?

GIF sizes depend on duration, resolution width, and FPS. You can reduce size by trimming tighter, cropping out extra borders, choosing widths like 320px or 480px, and setting frame rate to 10-12 FPS.

Link to answer
What is the difference between dithering options?

Dithering simulates shades when reducing colors. 'None' is fastest and produces sharp edges. 'Ordered (Bayer)' creates a subtle crosshatch pattern. 'Floyd-Steinberg' provides smooth color gradients and eliminates harsh color banding.

Link to answer
Does changing playback speed alter the number of frames?

No. Playback speed adjusts the delay timing per frame (1000 / (FPS × speed)) without dropping frames, keeping motion as smooth as your selected FPS.

Link to answer
Can I cancel an ongoing conversion?

Yes. The Web Worker architecture allows you to cancel conversion immediately at any point without freezing or needing to reload the tab.

Link to answer

Embed this tool on your site

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>

Browse all embeddable widgets →