mp4 to gif
Browser-Only · No Upload NeededUpload & Configure
Drop your MP4 here
or click to browse — MP4 only, up to 500 MB
Clip Range
Video ends at — clip →
Frames Per Second (FPS)
Higher FPS = smoother animation but larger file
Output Width
GIF Quality
High quality produces better colors but takes longer
Estimated frames · Output:
How It Works
- 1 Upload your MP4 file — it never leaves your browser, 100% private.
- 2 Configure the clip range, frame rate, output size, and quality preset.
- 3 Convert — each frame is drawn to an HTML5 canvas and encoded into a GIF locally using gif.js.
- 4 Download your GIF — no watermarks, no registration, no limits.
About GIF Format
GIF supports up to 256 colors per frame, making it ideal for short animations, memes, and previews. Plays automatically with no click required.
Tips for Best Results
Keep clips short. 5–10 seconds at 10 fps makes compact, shareable GIFs.
480 px width is the sweet spot between quality and file size for most uses.
High quality works best for text, logos, and flat-color animations.
Low quality / 5 fps for quick reactions — fast encode and tiny file.
Estimated File Sizes
| Settings | ~Size |
|---|---|
| 320px · 5fps · 5s | ~0.3 MB |
| 480px · 10fps · 5s | ~1–2 MB |
| 480px · 10fps · 10s | ~2–4 MB |
| 640px · 15fps · 10s | ~6–10 MB |
From video frames to a palette-limited GIF
Each captured frame is handed to the gif.js encoder, which runs in a web worker so the page stays responsive. The GIF format allows only 256 colours per frame, so the encoder must quantise millions of possible colours down to a palette. That is what the quality preset controls: the high setting searches far more carefully for a representative palette and takes considerably longer, while the low setting works quickly with a coarser approximation.
When every frame has been encoded, the worker assembles them into a single looping GIF, which becomes a downloadable file in your browser.
Worked example: a six-second demo clip
The converter captures 60 frames, encodes each against a 256-colour palette and stitches them into one looping file. The result plays for six seconds and loops continuously.
If the file comes out larger than you want, the arithmetic is straightforward. Halving the frame rate to 5 fps halves the frame count to 30 and roughly halves the size. Dropping the width from 480 to 320 pixels cuts the pixel area to about 44 percent, since both dimensions shrink. Trimming the duration to three seconds halves it again. Applying all three together can reduce the output by an order of magnitude.
Keeping GIFs small and sharp
Match the quality preset to the content. High quality suits screen recordings, logos, text and flat-colour animation, where a poorly chosen palette produces visible banding. Low quality at 5 frames per second is fine for short reaction clips from live-action video, where motion blur hides the coarser palette and the encode finishes quickly.
Be aware that GIF carries no audio, so any sound in the source is lost. Long or high-resolution clips take real time to process because the work runs on your own machine, and progress is shown throughout. If a clip is genuinely long, a short MP4 or WebM will look better and weigh less than a GIF ever can.