How to Convert a Video to a GIF Without Losing Quality

Quick answer: a clean GIF comes from three choices: a short clip (2–6 seconds), the right width for where it will be shown (320–480 px for chats, 640–800 px for websites), and a frame rate that matches the motion (10–15 fps for most clips). Use a converter that builds a custom 256-colour palette for your clip, like the SizeMyVideo video to GIF tool, and colours stay smooth instead of grainy.

GIF is a format from 1987. It is everywhere because it plays everywhere, with no play button and no sound, in chats, emails and websites. But it is also very limited, and that is why so many GIFs look bad. Once you understand the limits, you can work around them.

Why GIFs made from video often look bad

  • Only 256 colours. A single video frame can contain hundreds of thousands of colours. A GIF has to squeeze them into 256. Done badly, skin tones turn blotchy and skies get bands or speckles.
  • Weak compression. GIF compresses far less than MP4. That is why a 5-second GIF can be bigger than a 30-second video.
  • Every frame counts. More frames per second and more pixels per frame multiply the file size quickly.

The three settings that decide quality and size

1. Length: keep it short

The best GIFs are 2 to 6 seconds: a reaction, a product spin, a quick how-to step. Every extra second adds more frames. If you need longer than about 10 seconds, a short MP4 is usually a better choice.

2. Width: match where it will be shown

Where the GIF goes Width
Chats, comments, email 320 or 480 px
Websites, docs, presentations 640 or 800 px

Halving the width roughly quarters the file size, because the GIF stores a quarter of the pixels.

3. Frame rate: match the motion

  • 10 fps for the smallest file. Fine for slow motion, screen steps and simple animations.
  • 15 fps for most clips. A good balance of smoothness and size.
  • 20 fps for fast motion like sports or dance.

The colour trick that makes the biggest difference

Cheap converters use one fixed, generic set of 256 colours for every GIF. A good converter studies your clip first and picks the 256 colours that matter most in it, for example many shades of skin tone and sky blue, and few greens if there is no grass. This custom palette is the main reason one GIF looks clean and another looks grainy at the same size.

How to make a high-quality GIF from a video

  1. Open the video to GIF converter and drop in your video (MP4, MOV, MKV, WebM or AVI).
  2. Drag the handles to the moment you want, up to 30 seconds. Shorter is better.
  3. Pick a width and how smooth it should be (frames per second).
  4. Press Make GIF. You see the GIF before you download it, so you can adjust and try again.

If the GIF is still too big

  • Shorten the clip by a second or two.
  • Step down one width, for example from 480 to 320 px.
  • Drop from 15 to 10 fps.
  • Crop away black bars first with the black bar cropper. Bars are wasted pixels in every frame.

Frequently asked questions

Why is my GIF bigger than the original video?

GIF compresses much less than MP4. That is normal. Make it shorter, narrower or less smooth to bring the size down.

Can a GIF have sound?

No. GIFs are always silent. If you need sound, keep it as a short MP4 with the trimmer.

Will the GIF loop?

Yes. GIFs loop forever by default, in chats, email and on websites.

Can I make a GIF from a screen recording?

Yes, and screen recordings make some of the clearest GIFs. See how to make a GIF from a screen recording.

Need a smaller video? Do it in a minute.

More guides

November 20, 2026

How to Convert WebM to MP4 So It Plays on WhatsApp, iPhone and Everywhere

WebM is common on the web but awkward everywhere else: WhatsApp sends it as a file, and iPhone Photos will not save it. Here is the quick fix.
Read guide
November 20, 2026

How to Convert iPhone MOV to MP4 Without Losing Quality

iPhone videos are saved as MOV, often in HEVC, which many PCs, TVs, editors and websites cannot handle. Here is how to get an MP4 that plays everywhere
Read guide
November 20, 2026

Why Your Video Has Black Bars on Instagram, TikTok or Shorts

Black bars around your Reel or TikTok make it look smaller and less professional. Here are the three causes, and the fix for each one.
Read guide