Skip to content
Blog

How to make a GIF from images

Turn a set of photos or screenshots into an animated GIF, and keep the file small. Here's how to choose the size, timing and colours for a clean result.

A GIF is a stack of images with a delay between each. Making one takes a minute. Making one that's a sensible size takes a little more thought.

GIF maker

Turn a set of images into an animated GIF

Open tool

Step by step

  1. Add your images. Two or more, all at a similar shape if you can.
  2. Put them in order. Drag the handles, or use the arrow buttons.
  3. Set the timing. The delay is how long each frame shows.
  4. Choose a size. Start at a longest edge of 480 pixels.
  5. Make it, then check the result in the preview.

Choosing a delay

DelayHow it feels
40–100 msFast, smooth motion
100–200 msNatural motion for most clips
500 msClear steps, good for a how-to
1000 ms or moreA slideshow

Browsers treat very short delays as 100 ms, so going below about 20 ms won't make an animation any faster, and may slow it down.

Keeping the file small

GIF dates from 1987, and it compresses poorly by today's standards. In order of how much each usually saves:

  1. Use fewer pixels. Halving the width and height leaves a quarter of the pixels.
  2. Use fewer frames. Dropping every second frame nearly halves the size.
  3. Use fewer colours. Going from 256 to 64 helps, especially on simple graphics.

If you already have a GIF that's too big, you can apply all of these afterwards.

Compress GIF

Make GIFs smaller by cutting colours and frames

Open tool

When not to use a GIF

If you're adding an animation to your own site, a short MP4 or WebM video is often far smaller at better quality. GIF still earns its place where it just works: in chats, emails and READMEs.

Frequently asked questions

As few as tell the story. Every frame adds to the file size, so a short loop of 10 to 30 frames is usually plenty for sharing.

For most sharing, 480 pixels on the longest side is a good start. GIF files grow quickly with size, so go larger only when you need to.

Each GIF frame can hold only 256 colours, so smooth gradients and photos get banded or speckled. Flat graphics and screenshots look much cleaner.

Tools in this post

Last updated

Search

Search tools and blog posts