To convert a video to a GIF, choose a short clip (2 to 6 seconds is ideal), set a frame rate of 10 to 15 fps and a width of about 480 pixels, and run it through a converter that builds a good colour palette. QuickVeed's free Video to GIF converter does this in your browser without uploading the video; FFmpeg does it in one command.
GIF is a very old format, so the settings matter more than the tool. This guide explains which settings keep a GIF small, gives two free methods step by step, and tells you when a short MP4 is the better choice.
The short answer
To convert a video to a GIF, pick 2-6 seconds of the video, set 10-15 fps and a width of 320-480 pixels, and convert it with a palette-based tool such as QuickVeed's free Video to GIF converter (in your browser, no upload) or FFmpeg's palettegen filter. Shorter, smaller and calmer clips make much smaller GIFs.
Key takeaways
- Length, width and frame rate decide the file size. Halving the width roughly quarters the pixels per frame.
- A GIF frame can hold at most 256 colours, so a per-frame or per-clip palette matters for quality.
- 480 px wide at 10 fps is a common balance for chat, docs and email.
- For anything longer than about 10 seconds, a muted MP4 is usually far smaller than a GIF.
Disclosure: we make QuickVeed and show how to do this in it, along with other ways. Details about other products come from their public pages, checked in October 2026 and linked at the end.
Settings that keep a GIF small and sharp
GIF stores every frame as an image of up to 256 colours with simple compression. A minute of video as a GIF can easily be tens of megabytes, so you keep it small by cutting down what goes in.
| Use | Length | Width | Frame rate |
|---|---|---|---|
| Reaction or chat GIF | 2-4 s | 320-360 px | 10 fps |
| Product demo in a doc or README | 4-8 s | 480-640 px | 10-12 fps |
| Email (many clients play GIFs) | 2-5 s | 480-600 px | 8-10 fps |
| Social post or website hero | 3-6 s | 480-720 px | 12-15 fps |
These are practical starting points rather than rules. Each step you lower helps:
- Width: going from 720 to 480 px cuts the pixels in each frame by more than half.
- Frame rate: going from 15 to 10 fps cuts the number of frames by a third.
- Length: every second you trim is a straight saving.
- Content: calm scenes with flat colour compress well; fast motion, noise and gradients compress badly.
Make a GIF from a screen recording
Screen recordings make some of the most useful GIFs: a 5-second loop showing where to click is clearer than a paragraph in a help doc. Record only the part of the screen you need, keep the mouse movements slow and deliberate, and convert at 10 fps. Text in screen recordings stays sharp at 1:1 scale, so crop to the area you need rather than scaling the whole screen down; a 640 px crop at full size reads far better than a full 1920 px screen shrunk to 640. If the recording is slow, speed it up first with the free video speed changer, then convert the result.
Method 1: Convert a video to GIF in your browser
QuickVeed's free Video to GIF converter is free, runs in your browser, nothing is uploaded and no sign-up is needed. There's no watermark.
- Open the converter and drop an MP4 or WebM file (up to 500 MB). It plays from your device.
- Set the start and end of the clip, to a tenth of a second, or use the player's current time. The clip can be up to 15 seconds.
- Choose a frame rate from 5 to 15 fps and a width from 240 to 720 px. The height follows the video's shape, and the GIF is never made larger than your video.
- Choose whether it loops forever or plays once.
- Click Make GIF. You can watch each frame being encoded and cancel at any time.
- Preview the GIF, check its file size and download it. If it's too big, lower the width or frame rate and make it again.
The converter gives each frame its own 256-colour palette, so colours stay close to the video, though smooth gradients such as skies can show slight banding. That's a limit of the GIF format, not of the tool.
A good workflow is to make the first GIF at 480 px and 10 fps, check the size the converter shows, and adjust from there. If it's well under the limit of wherever you're posting, try 12-15 fps for smoother motion; if it's over, drop to 360 px before you shorten the clip, because width usually saves more.
Method 2: Convert a video to GIF with FFmpeg
FFmpeg, the free command-line tool, makes high-quality GIFs with two filters: palettegen builds the best 256 colours for your clip, and paletteuse applies them. This one-line command takes 4 seconds starting at 0:05, at 10 fps and 480 px wide:
ffmpeg -ss 5 -t 4 -i input.mp4 -vf "fps=10,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 output.gif
| Part | What it does |
|---|---|
-ss 5 -t 4 | Start at 5 seconds, take 4 seconds |
fps=10 | 10 frames per second |
scale=480:-1:flags=lanczos | 480 px wide, height in proportion, sharp scaling |
palettegen / paletteuse | Build and apply a 256-colour palette for this clip |
-loop 0 | Loop forever (use -1 for no loop) |
Without the palette step, FFmpeg uses a generic palette and the GIF looks blotchy. For a smaller file, add paletteuse=dither=bayer:bayer_scale=3, which uses a pattern dither that compresses better.
When not to use a GIF
GIFs play everywhere, autoplay without sound and need no player, which is why people still use them. But for longer or larger clips a video file is usually the better choice.
| Need | Better choice |
|---|---|
| Clip longer than about 10 seconds | A short muted MP4 |
| Full colour, gradients or skin tones | MP4 or WebM |
| Sound | Any video format; GIF has no audio |
| A still from the video | A PNG or JPG from the free frame extractor |
| Website animation | A muted, looping MP4 or WebM, which most sites support |
To strip the sound from a short clip before posting it as a looping video, see how to remove audio from a video. To make a clip play faster before you convert it, see how to speed up a video.
As a rule of thumb, if the GIF you need is longer than about 10 seconds or wider than 720 px, make a short MP4 instead and let the platform loop it.
Troubleshooting GIFs that are too big or won't play
Many places that accept GIFs also limit their file size, and those limits change, so check the current help page of the app or site you're posting to. If a GIF is rejected or loads slowly, work down this list:
- Trim it. Cut to the 2-4 seconds that matter. A GIF that loops well is usually shorter than you think.
- Lower the width. Try 480 px, then 360 px. Chat apps and docs rarely show GIFs wider than that.
- Lower the frame rate. 10 fps looks fine for screen recordings and most reactions; 8 fps is often fine for slow motion.
- Pick a calmer clip. Camera shake, noise and confetti make every frame different and the file large. A tripod shot compresses far better.
- Crop out the background. A smaller area of motion means smaller frames.
| Symptom | Cause | Fix |
|---|---|---|
| GIF plays once and stops | It was saved to play once | Save it again with looping on (FFmpeg: -loop 0) |
| Shows as a still image | The app shows only the first frame until tapped, or it was converted to a still | Check the app; send it as a file rather than a pasted image |
| Colours look posterised | 256-colour limit with gradients | Choose a clip with flatter colours or use a per-clip palette |
| Very large file | Long, wide or busy clip | Trim, lower width and frame rate, as above |
If none of this gets the file small enough, the platform probably accepts a short MP4 instead, which will be a fraction of the size at better quality.
Making the clip itself with QuickVeed
The converter is free and needs no account. If you also need the short video the GIF comes from, QuickVeed's paid tools can make it:
- The AI video generator makes 2-15 second clips from a text prompt or an image on models such as Veo 3.1, Kling v3 and Luma Ray 3.2. A 5-second Luma Ray 3.2 clip at 540p costs 38 credits; the price shows before you generate and failed generations are refunded. Download the MP4, then convert the best few seconds to a GIF.
- If the GIF needs words, burn captions into the video first with Captions & subtitles (3 credits minimum per captioned copy), then convert. Text in a GIF reads best with a bold style on a solid background.
Frequently asked questions
How do I turn a video into a GIF for free?
Open the video in a free converter such as QuickVeed's Video to GIF converter, pick a clip of up to 15 seconds, choose a frame rate and width, and click Make GIF. Nothing is uploaded.
How do I make a GIF smaller?
Shorten the clip, lower the width (480 px or less) and lower the frame rate (10 fps). Calm scenes with flat colours compress much better than busy ones.
What frame rate should a GIF be?
10 to 15 fps covers most uses. 10 fps keeps files small; 15 fps looks smoother for motion.
Why does my GIF look grainy or banded?
A GIF frame can only hold 256 colours. Use a converter that builds a palette from your clip, and avoid scenes with smooth gradients.
Can a GIF have sound?
No. GIF is an image format. If you need sound, share a short MP4 instead.
How long can a GIF be?
The format has no fixed limit, but file size grows fast. Many converters cap clips at 10-15 seconds; QuickVeed's caps them at 15.
Try it with your own video
Generate a short clip from a prompt, then turn the best moment into a GIF. Try the free tools first, then upload a video when you want captions, clips or dubbing. QuickVeed plans start at $18/month, and new accounts get a 14-day trial with 75 credits, no card needed. Sign up or see pricing.
Sources
Competitor details in this post were checked against these public pages in October 2026. Products and prices change, so confirm with each vendor before you decide.


