Video to GIF Converter

Media Client-side gif video converter animation ping-pong loop mp4-to-gif screen-recording

This tool runs entirely client-side, in your browser: your data is never sent anywhere.

What it does

Turns a short video clip (MP4, WebM, MOV supported by your browser) into an animated GIF — entirely in your browser. Nothing is uploaded anywhere: the video is decoded locally, frames are grabbed from a <canvas>, and encoded directly into a GIF file using a pure-JavaScript encoder.

You can also choose how the GIF plays back:

Try it

How it works

  1. You pick a local video file — it's loaded into a hidden <video> element and a preview is shown, entirely client-side (URL.createObjectURL).
  2. When you click Convert, the tool seeks the video frame-by-frame (based on your chosen start time, duration, and target FPS), draws each frame onto an off-screen <canvas> (resized to your target width, preserving aspect ratio), and collects the resulting frames as raw pixel data.
  3. Depending on the playback mode:
  1. The ordered frame list is fed into a pure-JavaScript GIF encoder (an in-browser implementation of the GIF89a format with a NeuQuant-style color quantizer), which produces a single animated .gif file with infinite looping enabled.
  2. The resulting GIF is shown as a preview and offered as a direct download — the file itself is built with Blob/URL.createObjectURL, so it never touches a server.

Tips

Notes