Skip to content
CornerTools

GIF Maker

Turn photos or frames into an animated GIF — set each frame's timing, size and loops, and fit it under a file size.

Drop images here or paste them, or

Your images never leave your device

Processed in this browser · JPG, PNG, WebP, GIF, BMP, AVIF, HEIC or TIFF · up to 200 at a time

Shape
Frames of another shape

Whole frame, padded with the background.

Fills the padding and any transparency.

For every frame without its own. GIF delays are in hundredths of a second, so they round to 10 ms.

Play

Makes an animated GIF from photos or drawn frames: JPG, PNG, WebP, HEIC and the other formats the site reads, up to 200 frames. Set how long each frame shows, how many times the GIF plays, its width and shape, and a file size it must fit under, such as a chat app's upload limit. The GIF is made in your browser, with no watermark, and no image is uploaded.

How to use it

Frames. Drop, paste or choose images. Images added together are placed in file-name order, with numbers read as numbers, so frame2 comes before frame10. Drag a frame to move it (on a phone, press and hold first), or use its Move left and Move right buttons; Duplicate repeats it, and Reverse turns the whole order round. An animated GIF, WebP or PNG adds only its first frame, and says so.

Width is 480 px, or the first frame's own width where that is narrower; Custom takes 16–2,000 px. Shape follows the first frame, or is 1:1 or 16:9. A frame of another shape is either Fit whole, padded with the background colour (white by default), or Filled, cropped around its centre.

Delay is how long each frame shows, 500 ms by default and 20–60,000 ms. A frame can have its own delay in the field under it; left empty, it takes this one. Play is Forever, or a number of times from 1 to 100. Boomerang plays the frames forward and then back, without showing the first or last frame twice in a row.

Limit file size sets a maximum, from 1 to 10,000 KB, counting 1 KB as 1,000 bytes. When the GIF is larger, the tool first turns dithering off, then lowers the colours to 128, 64, 32, then narrows the GIF by 15% at a time down to 160 px, and says what it took. It encodes only a few of those steps, halving the range each time, so the search takes at most 7 passes.

Frames are kept decoded at the GIF's size, about 200 MB at most, so a larger GIF holds fewer of them: At 1,080 × 1,080, up to 42 frames: choose a smaller width for more.

How it works

Colours. A GIF frame holds at most 256 colours. Each frame here gets its own palette of the 256 colours that best stand for it, and every pixel takes the nearest of them. Floyd–Steinberg dithering then passes each pixel's error on to the pixels right of and below it, so a smooth sky becomes a fine mix of nearby colours rather than bands.

Transparency. GIF has one transparent colour and no partial transparency. With a transparent background, pixels under 50% opacity become clear and the rest solid; one palette entry is kept for the clear pixels, leaving 255 colours, and dithering never spreads into them, so edges stay clean. Each frame is cleared before the next is drawn, so nothing shows through from the frame before.

Why GIFs are large. GIF compresses each frame on its own, with LZW, a method made for flat graphics: the noise and gradients of a photo, and the dither pattern itself, repeat little, so they compress little. A size limit is reached fastest by dropping dithering and colours, which leaves longer runs of one colour, and then by fewer pixels. Fewer frames save the most.

Delays. A GIF stores each frame's delay in hundredths of a second, so delays round to the nearest 10 ms, halves up. Chrome, Firefox and Safari play a delay of 10 ms or less as 100 ms, a rule kept for old GIFs that wrote 0 when they meant a default speed, so 20 ms, 50 frames a second, is the fastest delay offered.

Loops. The number of plays is written as a loop count, which browsers read as repeats after the first play. Play Forever writes 0; Play 1 time writes no loop count at all; Play n times writes n − 1.

frames per second = 1,000 ÷ delay in ms
loop count written = plays − 1 (none for 1 play, 0 for forever)

Examples

A boomerang of four frames

Frames
A B C D
Delay
500 ms
Boomerang
On
Plays as
A B C D C B

The GIF holds 6 frames, and one play lasts 3 s. Played forever, it runs on with A after the last B, so no frame shows twice in a row.

Rounded delays

15 ms
20 ms
125 ms
130 ms
333 ms
330 ms

15 ms is below the shortest delay offered; 125 ms is halfway and rounds up.

Play 3 times

Play 3 times writes a loop count of 2: the first play, then 2 repeats.

Delay and frame rate

Frames per second at common frame delays
DelayFrames per second
20 ms50
30 ms33.33
40 ms25
50 ms20
100 ms10
200 ms5
500 ms2
1,000 ms1

Frequently asked questions

Photos compress poorly as GIF, and every frame is stored whole. Fewer frames save the most, then a smaller width: halving the width leaves a quarter of the pixels. Turn on Limit file size to have the tool reduce colours and width only as far as your limit needs. Flat graphics, such as drawings and screenshots, make far smaller GIFs than photos.
A GIF pixel is either clear or solid, so a soft edge cannot fade out. A pixel under half opacity becomes clear and the rest solid. Where the GIF will sit on a known colour, turn Transparent background off and choose that colour instead: soft edges then blend into it.
Not here: the tool takes images only. Saving frames from a video as images first, then adding them, works.
The file stores repeats after the first play, as Chrome, Firefox and Safari read it. A few older viewers read the same number as the total number of plays, so a GIF set to play 3 times plays twice in them. Forever plays forever everywhere.
No. Your browser reads, animates and saves the images on your device; they are not sent to CornerTools or anyone else. To check, open the browser's developer tools at the Network tab and add an image: no request carries it. The first HEIC photo or TIFF image you add downloads a decoder from this site: a download to your browser, not an upload of your photo.

See also