GIF Maker
Published Updated
Turn PNG, JPG or WebP images into a looping animated GIF, one image per frame, at 100, 250, 500 or 1,000 ms per frame and at 100%, 75% or 50% size.
Give every image the same shape
The canvas is as wide as your widest image and as tall as your tallest one, and each frame is stretched to fill it. Mix a 1920 x 1080 landscape shot with a 1080 x 1920 portrait shot and the GIF becomes 1920 x 1920, with both pictures distorted to a square.
So give all frames the same aspect ratio before you start. Crop Image has 1:1, 16:9 and 4:3 presets, and Resize Image brings everything to one exact size.
What the speed buttons store
The GIF89a specification stores each frame's delay in hundredths of a second, so the four buttons map to whole values with no rounding:
| Button | Delay in the file | Frames per second | One loop of 12 frames |
|---|---|---|---|
| Fast (100ms) | 10 hundredths | 10 | 1.2 seconds |
| Medium (250ms) | 25 hundredths | 4 | 3 seconds |
| Slow (500ms) | 50 hundredths | 2 | 6 seconds |
| Super Slow (1000ms) | 100 hundredths | 1 | 12 seconds |
Medium is the default and suits a short slideshow; Fast suits burst-mode sequences. The animation always repeats, with no play-once setting.
What the GIF format does to photos
As MDN's image format guide describes, each GIF pixel is an index into a palette of at most 256 colors. How this tool fills that palette:
- One palette is shared by every frame, built from about 20,000 pixels sampled across all of them. With 20 frames, that is roughly 1,000 pixels from each.
- No dithering is applied, so smooth gradients turn into visible bands instead of grain.
- Transparency is all or nothing. In a PNG with soft edges, pixels below half opacity become fully clear and the rest fully solid, so shadows and anti-aliased edges look hard.
- Frames are stored at full size, and each one replaces the last completely, so nothing from a transparent frame lingers into the next.
Sizes and times for three generated image sets
We made three sets of test images with the Pillow library: 12 photo-like 1280 x 720 JPEGs with a sky gradient and fine grain (1,048,332 bytes together), 12 flat 640 x 360 PNG drawings in a few solid colours (31,550 bytes), and four 4,032 x 3,024 JPEGs, the size of a 12-megapixel phone photo (1,509,693 bytes). This page's own tool turned each set into a GIF at Medium speed in Google Chrome 156, Chromium 153 (Playwright build, not Google Chrome), Firefox 155 and Playwright's WebKit build (not the Safari app). Each cell gives the GIF's bytes and the time from pressing Create GIF to the download link, one run per cell.
| Images, scale | GIF size | Chrome 156 | Chromium 153 | Firefox 155 | WebKit build |
|---|---|---|---|---|---|
| 12 photo-like JPEGs, 100% | 1280 x 720 | 1,713,013 B, 0.45 s | 1,711,102 B, 0.48 s | 1,711,102 B, 0.55 s | 1,707,445 B, 0.39 s |
| 12 photo-like JPEGs, 75% | 960 x 540 | 1,052,528 B, 0.29 s | 1,067,533 B, 0.29 s | 1,067,533 B, 0.37 s | 1,108,428 B, 0.25 s |
| 12 photo-like JPEGs, 50% | 640 x 360 | 564,210 B, 0.40 s | 582,010 B, 0.44 s | 579,167 B, 0.26 s | 590,212 B, 0.17 s |
| 12 flat PNGs, 100% | 640 x 360 | 23,700 B, 0.08 s | 23,700 B, 0.08 s | 23,700 B, 0.12 s | 23,700 B, 0.09 s |
| 12 flat PNGs, 50% | 320 x 180 | 12,597 B, 0.04 s | 11,839 B, 0.05 s | 11,839 B, 0.07 s | 11,838 B, 0.07 s |
| 4 JPEGs of 12 MP, 100% | 4032 x 3024 | 2,456,075 B, 1.40 s | 2,454,662 B, 1.45 s | 2,454,662 B, 1.59 s | 2,426,079 B, 1.14 s |
| 4 JPEGs of 12 MP, 50% | 2016 x 1512 | 960,395 B, 0.48 s | 956,145 B, 0.45 s | 930,128 B, 0.97 s | 1,005,970 B, 0.36 s |
The photo-like set grew from 1,048,332 bytes of JPEG to about 1.7 million bytes of GIF at full size. GIF compression finds long runs of the same palette entry, which flat drawings have and grainy photos do not; the drawings shrank to 23,700 bytes in every engine. Halving the scale cut the photo GIF to roughly a third. The engines differ slightly because each decodes JPEG and shrinks pictures with its own code before the palette is built.
Speed, transparency and orientation, read back from the files
We opened each GIF the tool offered and decoded it with the site's own GIF reader, in the same four engines: Chrome 156, Chromium 153, Firefox 155 and the WebKit build.
| What went in | What came back (all four engines) |
|---|---|
| Two flat frames at Fast, Medium, Slow and Super Slow | Frame delays of 100, 250, 500 and 1,000 ms, and a loop count of 0, which means repeat forever. |
| 12 flat PNG drawings at 100% | 99.94% of pixels identical to the source PNGs, with a 64-entry palette. |
| 12 photo-like JPEGs at 100% | A full 256-entry palette; only 3.5% (Chrome 156) to 6.1% (the WebKit build) of pixels identical to the source, off by 1.30 to 1.36 on average per colour channel (0 to 255 scale). |
| A red PNG whose opacity rises from 0 to 255 across 256 columns | Columns 0 to 127 fully clear, 128 to 255 fully solid red, with no pixel in between. |
| A 640 x 360 picture and a 360 x 640 picture | A 640 x 640 GIF. The portrait picture's red left half was stretched to fill the left half of the square. |
| A JPEG stored as 300 x 200 with EXIF orientation 6 (turn 90 degrees) | A 200 x 300 GIF, upright: the green block at the top left of the stored pixels came out at the top right. |
Building the animation
Step 1
Add the frames in order
Select PNG, JPG or WebP images, then use Add More Images for the next ones. Each thumbnail carries a number showing its place in the animation.
Step 2
Pick a speed and a size
100 ms gives 10 frames a second, 1,000 ms gives one. The live preview cycles at the speed you choose, so you can judge it before encoding.
Step 3
Create and save
The GIF loops forever and downloads as animated.gif. The result line lists the frame count, the pixel size and the file size.
Big photos and long sequences
While encoding, every frame is kept as raw pixels, four bytes each. A 12 megapixel phone photo (4,032 x 3,024) is 48.8 MB in that form; at the 50% setting it is 12.2 MB. Thirty phone photos at 100% need close to 1.5 GB for the frames alone, which can be more than a phone browser tab is given.
For photo slideshows, choose 50% or resize the images to about 800 px wide first. The GIF file will be much smaller too. If the result is still too big, try GIF Compressor. For a moving clip rather than stills, Video to GIF is the right tool.
GIF maker: answers
Can I change the order of the frames?
Not by dragging. Frames play in the order the files were added, shown by the number on each thumbnail. To move one, delete it and add it again; it joins the end.
Why do some of my images look stretched?
The GIF takes the widest width and the tallest height among your images, and every frame is drawn to fill that whole size. A portrait photo mixed with landscape ones gets squeezed. Crop all images to the same shape first.
Can one frame stay on screen longer than the others?
There is one speed for the whole animation. To hold a frame longer, add the same image two or three times in a row; at 250 ms each, three copies give a 0.75 second pause.
Why does my GIF look grainy or banded?
A GIF can only use 256 colors, and this tool builds one shared palette for all frames without dithering. Photos with skies, skin or gradients lose the most. Flat graphics, screenshots and drawings come through almost unchanged.
How many images can I use?
There is no fixed cap; memory is the practical limit, since every frame is held at full size during encoding. A single image gives a still GIF.
Can I use a GIF or a video as the source?
No, only PNG, JPG and WebP stills. For a clip, Video to GIF samples the frames, and Resize GIF rescales an existing animation.
Why is my GIF bigger than the photos I put in?
GIF suits flat colour, not photo grain. Twelve photo-like 1280 x 720 JPEGs of 1,048,332 bytes together became a GIF of 1,707,445 to 1,713,013 bytes at 100% and 564,210 to 590,212 bytes at 50% in Chrome 156, Chromium 153, Firefox 155 and the WebKit build. Twelve flat drawings of the same frame count came to 23,700 bytes. For photos, the 50% button helps most.
Will a sideways phone photo come out the right way up?
In our test, yes. A JPEG stored as 300 x 200 pixels with an EXIF note to turn it 90 degrees became a 200 x 300 GIF, turned upright, in all four engines. The browser applies the turn when it reads the picture; the GIF itself has no orientation tag.
Does a transparent PNG keep its see-through background?
Yes, but each pixel ends up fully clear or fully solid. On a red test PNG whose opacity rose from 0 to 255 across its width, pixels up to 127 came out clear and pixels from 128 up fully solid, in all four engines. Soft shadows and glows turn into hard edges.
How long does it take with large photos?
Four 4,032 x 3,024 JPEGs, the size of 12-megapixel phone photos, took 1.14 to 1.59 seconds at 100% and 0.36 to 0.97 seconds at 50% across the four engines, one run each. The page holds every frame as raw pixels while it works, so the memory needed grows with each photo you add.