PublicSoftTools
Tools6 min read

Video to GIF Online Free — Convert MP4 to Animated GIF

The free Video to GIF Converter turns any video clip into a high-quality animated GIF in your browser — no upload, no signup, no size loss from generic colour palettes. Set the clip range, width, and frame rate, then download.

Why GIF Quality Varies — and How This Tool Fixes It

The GIF format stores a maximum of 256 colours per frame. Most video to GIF converters apply a generic palette — the same 256 colours for every clip — which causes visible colour banding and washed-out gradients, especially in natural footage, skin tones, and dark scenes.

This tool uses FFmpeg's two-pass palette method. The first pass analyses the exact pixel data in your specific clip and builds a 256-colour palette optimised for those colours. The second pass encodes the GIF using Bayer dithering against that custom palette. The result is significantly sharper colour reproduction with less banding — the clearest GIF quality achievable within the format's constraints.

How to Convert a Video to GIF

  1. Open the Video to GIF Converter and drop your video file (MP4, MOV, AVI, MKV, WebM, and others up to 250 MB).
  2. Use the built-in video preview to identify the exact segment you want. Note the start time in seconds.
  3. Set the Start time and Duration (1–30 seconds).
  4. Choose an Output width: 320 px for small shares, 480 px for general use, 640–800 px for high-quality output.
  5. Choose a Frame rate: 5 fps for the smallest file, 10–15 fps for smooth motion, 20 fps for very fluid animation.
  6. Click Convert to GIF and wait for the WASM engine to process the clip.
  7. Preview the animated GIF, then click Download GIF.

Width and Frame Rate — Use Case Reference

Use CaseWidthFrame RateExpected File Size
Messaging apps (WhatsApp, iMessage)320 px10 fps1–4 MB for 5 s
Social media and Discord480 px10 fps3–8 MB for 5 s
GitHub README and docs640 px15 fps8–20 MB for 5 s
Product demos and tutorials800 px15 fps15–35 MB for 5 s
Reaction and meme GIFs480 px20 fps6–14 MB for 5 s
Smallest possible file320 px5 fps0.5–2 MB for 5 s

File size estimates depend heavily on scene complexity. A clip with fast motion, high contrast, or many distinct colours will produce larger files than a slow-moving, low-contrast scene at identical settings. Reduce duration first if the file is too large — halving from 10 s to 5 s roughly halves the file size.

Supported Video Formats

The tool accepts any format FFmpeg can decode: MP4, MOV,AVI, MKV, WebM, M4V,FLV, WMV, OGV, TS, and3GP. Files up to 250 MB are supported. The output is always a standard animated .gif file.

Tips for Better GIFs

Keep clips under 6 seconds

GIF files grow linearly with duration — there is no inter-frame compression the way video codecs use it. A 10-second GIF at 480 px is roughly twice the size of a 5-second GIF at the same settings. Most audiences stop watching after a few seconds anyway, so shorter loops tend to perform better as well.

Match frame rate to the motion in the clip

Speech, talking heads, and slow pans look fine at 8–10 fps. Fast sports clips, screen recordings with rapid scrolling, and action sequences need 15–20 fps to avoid choppy motion. Using a higher frame rate than the motion requires just increases file size without visible benefit.

Use 480 px as your default

Most platforms scale GIFs to fit their containers, so 480 px is sharp enough for nearly all contexts while keeping file size manageable. Only go to 640 px or 800 px when the content has fine detail that would be blurred at smaller sizes — screen recordings with small text, for example.

Use the video preview to find the exact segment

The built-in video player lets you scrub through the full video before converting. Identify the start frame visually, then note the timestamp and enter it as the start time. Accurate time selection avoids wasting a conversion on the wrong segment.

GIF vs MP4 — when to use each

GIF has universal compatibility — it works in every browser, messaging app, and social platform without any special player. MP4 produces much smaller files for the same quality and supports audio, but requires HTML5 video support and is not embeddable everywhere. Use GIF when compatibility matters; use MP4 when file size or audio is the priority.

Common Questions

Is my video uploaded to a server?

No. The conversion runs entirely in your browser using FFmpeg compiled to WebAssembly. Your video file never leaves your device — there is no server processing, no data transfer, and no privacy risk.

Why is the first conversion slow?

The WASM engine (~10 MB) loads from a CDN the first time you convert in a session. This takes 5–20 seconds depending on your connection speed. The engine stays in memory for subsequent conversions, which start immediately.

Why is my GIF large even at low settings?

GIF stores raw pixel data per frame without inter-frame compression. Even at 320 px and 5 fps, a visually complex clip (many colours, fast motion) will produce a relatively large file. Reducing duration is the most effective way to cut file size.

Can I convert a YouTube video to GIF?

You can convert any locally saved video file. To create a GIF from a YouTube video, download the video to your device first using a suitable tool, then use the converter. The YouTube Thumbnail Downloader is a related tool if you only need the thumbnail image rather than the full video.

What is the maximum clip length?

The tool caps duration at 30 seconds. Beyond that, GIF files become impractically large for most sharing contexts. For longer clips, consider extracting audio with the MP4 to MP3 Converter or recording a screen capture with the Screen Recorder.

Convert Video to GIF Free

Set clip range, width, and frame rate. Two-pass palette encoding for better colour quality. No upload, runs in your browser.

Open Video to GIF Converter