Blog Upload Shorten Tools Gallery FAQ Contact Sign in
📢 永久無廣告,自動清除EXIF,保護隱私內容
Tools

🌀 Video to GIF

Turn a clip into an animated GIF

Drag the start position and the preview jumps to that frame, so you can see exactly where the clip begins.

GIF has no compression between frames — each one is a whole image. Past about 6 seconds the file gets heavy fast.
10–12 fps is smooth enough for most animations. Above 15 the file grows a lot for a much smaller gain in smoothness.
Width has the biggest effect on file size. 480px is ample for social posts and chat.

ℹ️ GIF is limited to 256 colours, so gradients and real photography will band. That is the format itself, not the tool. Encoding happens in your browser; the video is never uploaded.

🔒 Everything runs inside your browser — your files are never uploaded to our servers and we never see them. Close the tab and nothing is left behind.

Video to GIF: before and after example
Original on the left, the actual output of this tool on the right — not a mock-up. Any file sizes or dimensions shown are real measured values.

Step-by-step

  1. Pick a video MP4, WebM, and MOV all work. The video is never uploaded — reading, frame extraction, and encoding all happen in your browser.
  2. Set the start point and length The preview jumps to that frame so you can see where the clip begins. Two to four seconds is the practical range — GIF has no compression between frames, so every frame is a full image and the file grows in proportion to duration.
  3. Choose fps and width These are the main dials for file size. 10 fps at 480px is a good starting point. If the result is too heavy, reduce the width first (it has the largest effect), then the frame rate.
  4. Press start Frames are extracted in sequence, a shared 256-colour palette is computed, and the GIF is encoded. Progress appears in the status line — with many frames this takes a moment, which is normal.
  5. Download You get a GIF ready to drop into a chat, a social post, or an article. If it is too large, go back and reduce the width rather than trying to compress a finished GIF — it is far more effective.

When you would use this

Memes and reaction clips

Cut an amusing moment out of a video and it drops straight into chat, Discord, or a forum. This is the main reason GIF has never gone away — it plays everywhere with nothing to click.

Demonstrating steps in an article

When a tutorial needs to show "click here, then drag like this", one GIF beats five screenshots. It also plays automatically in the article, so nobody has to press anything. Record your screen and convert it here.

Demos in GitHub and documentation

GIFs in READMEs and technical docs are practically a convention — no video player required, and they animate anywhere Markdown is rendered. Keep the width at 640 or below; GitHub's content column is not wide.

Places that will not take video

Some platforms, newsletters, and internal systems accept images but cannot embed video. GIF is the one format that animates while still counting as an image.

Two hard limits of GIF

Understanding why GIFs are large and often ugly is what lets you set the options sensibly.

256 colours, maximum. That is a 1987 design decision: each frame can use at most 256 distinct colours. Real video may contain hundreds of thousands, and compressing that down makes continuous areas — skies, skin, shadows — step into visible bands.

No compression between frames. Modern video codecs store only what changed since the previous frame, so a static background costs almost nothing. GIF has no such mechanism: every frame is a complete image. That is why a 5-second video clip of 500KB can become an 8MB GIF.

Getting it small and still watchable

The three dials differ enormously in effect. Adjust in this order:

  1. Width — by far the biggest lever. Halving the width leaves a quarter of the pixels. Going 480 → 320 often cuts more than half the file.
  2. Duration — a linear effect. Half the time, half the file. Most GIFs only need the 2–3 seconds where something actually happens.
  3. Frame rate — also linear, but drop it too far and you get a slideshow. 10 fps is the usual floor; 8 fps is visibly choppy.

What material suits GIF

Works well: screen recordings, UI demonstrations, illustration and animation, anything with flat blocks of colour. Such material has few colours to begin with, so 256 is ample and compression works well.

Works badly: live-action footage, landscapes, close-ups of people, anything with heavy gradients or noise. These hit both problems at once — visible banding and a huge file.

If your material is in the second group and the destination supports video, seriously consider just using MP4. GIF's value is compatibility, not quality.


Frequently asked questions

Why do the colours look banded and odd?
Because GIF supports at most 256 colours — a limitation baked into the format in 1987 that cannot be worked around. A video may contain hundreds of thousands of colours, and squeezing them into 256 makes gradients (skies, skin, shadows) step visibly. This tool computes a palette specific to the clip you selected, which is much better than a fixed one, but the hard limit remains. The simpler the colours (screen recordings, illustration, animation), the better it looks.
Why is the file so large?
Because GIF has no compression between frames. Video codecs like H.264 store only what changed since the previous frame, so a static shot costs almost nothing. In a GIF every frame is a complete image — 10 seconds at 15fps is 150 full pictures stacked together. The effective order for reducing size is: width first, then duration, then frame rate.
Is there a better option?
If the destination supports it, MP4 or WebM is better on almost every axis — often a tenth of the size at the same quality, with no 256-colour limit. GIF's single advantage is compatibility: it counts as an image, so it animates anywhere an image can go. Use GIF only when video is not supported.
Is the video uploaded?
No. Frames are extracted with the browser's own <video> element and a canvas, and the palette computation and LZW encoding are done by this page's own JavaScript — no external library, and no network requests at all.

What you might need next

Image work rarely ends in one step. These pair up with Video to GIF most often:

Want to share the result? Upload turns images, photos, or videos into a short link with optional password, expiry, and view limits. Or head back to all 12 tools.


More tools