Browser-based image tool · JPG, PNG, WEBP → animated GIF

Images to GIF

Put up to 60 images in order, set how long each one stays on screen, and get a looping GIF with no watermark. The frames are drawn, reduced to 256 colours and compressed by code running in this browser tab.

Frames and timing

Up to 60 JPG, PNG or WEBP images, 25.00 MB and 50 megapixels each.

Drop images here or click to choose

.jpg, .jpeg, .png, .webp · added in the order chosen

Animated GIF

The animation plays here once it is made

Add images to start.

All frames share one 256-colour palette chosen by median cut, with no dithering, so photos with smooth skies or skin tones can show bands. Transparent areas are filled with the background colour because the GIF is saved without transparency.

Images to GIF

Operator: Abdulla Al Fahad. How tools are built and checked

GIF is an old format with two habits that still make it useful: almost every chat app, email client, wiki and slide tool will play it without a plugin, and it loops on its own. That makes it a practical way to show a three-step process, a before-and-after pair, or a short sequence of screenshots where a video would be too heavy or would need someone to press play.

Images to GIF takes a set of JPG, PNG or WEBP files, puts them in the order you choose, and writes an animated GIF with the frame time you set. The encoder is written into the page itself: it chooses one shared palette of 256 colours for the whole animation, compresses each frame with LZW, and adds the loop instruction, all inside your browser tab. Nothing is stamped on the output.

Key features

  • Up to 60 JPG, PNG or WEBP frames, each up to 25 MB and 50 megapixels, checked by file contents rather than by name.
  • Reorder frames with up and down arrows, or remove single frames.
  • Frame time in milliseconds from 20 to 10,000, default 500, with the stored value shown.
  • Loop forever (default) or play once.
  • Maximum width of 320, 480, 640, 800 or 1080 px, or no limit, with the height following the aspect ratio.
  • Size every frame to the first image, or use the largest image as the canvas.
  • Background colour for letterbox bars and transparent pixels.
  • Preview that plays the finished GIF in the page, then a single download.

What changes between JPG, PNG or WEBP images and Animated GIF

A GIF stores the time each frame stays on screen in hundredths of a second, so the delay you type in milliseconds is divided by 10 and rounded. 500 ms is stored as 50, while 125 ms is stored as 13 and plays as 130 ms. The field below the input shows the value that will really be saved. The tool accepts delays from 20 ms to 10 seconds, and the same delay is used for every frame.

Every frame uses the same global colour table of 256 entries. The colours are chosen by median cut: all pixels from all frames are counted, the colour space is split again and again at the point that halves the busiest box, and each final box becomes one palette entry equal to the average of the real pixels inside it. Frames are written whole, with no transparency, and a NETSCAPE2.0 block tells players to loop forever unless you pick Play once, in which case the block is left out.

How it works

Each file is identified by its first bytes, and its pixel count is read from the header so a huge image is refused before the browser tries to open it. When you click Make GIF, the canvas size is taken from the first image, or from the largest one if the first-image option is off, and reduced to the maximum width. EXIF orientation is applied while decoding, so phone photos stand the right way up.

Each image is drawn onto the canvas over the background colour and read back as pixels. To save memory, every pixel is kept as a 15-bit colour key, two bytes instead of four, while the tool counts how often each colour occurs and keeps the true average for each key. Once all frames are counted, median cut picks the 256 palette colours and each key is mapped to its nearest entry, with green weighted most heavily because the eye is most sensitive to it.

The palette indices of each frame are then compressed with GIF's variant of LZW: codes start at 9 bits, grow to 12 as the dictionary fills, and a clear code resets the dictionary when it reaches 4096 entries. The result is packed into 255-byte blocks behind a graphic control block that carries the delay, and the file ends with the trailer byte 0x3B. The work pauses between frames so the Cancel button keeps responding.

Common use cases

  • A support writer turns five screenshots of a settings screen into a GIF that walks through the clicks, for a help article that cannot host video.
  • A teacher shows the phases of the moon as eight drawings cycling at one second each on a classroom slide.
  • A product seller combines front, side and back photos of an item into a slow rotation for a listing that only allows still images and GIFs.
  • A developer attaches a short before-and-after of a layout fix to a pull request, two frames alternating every 800 ms.

How to use this tool

  1. Drop your images onto the box, or click it and select them.
  2. Check the order in the list and move frames with the arrows if needed.
  3. Type the time per frame in milliseconds and choose Loop forever or Play once.
  4. Choose a maximum width and decide whether every frame should take the first image's shape.
  5. Click Make GIF and watch the preview.
  6. Click Download GIF.

Example

Frames and settings

12 screenshots, each 1280 × 720 px PNG
Time per frame: 500 ms
Maximum width: 640 px
Size every frame to the first image: on
Repeat: Loop forever

Resulting GIF

Canvas: 640 × 360 px (1280 × 720 halved to fit 640)
Stored delay: 50 hundredths of a second per frame
One loop: 12 × 0.5 s = 6.00 s
Palette: up to 256 colours shared by all 12 frames
Loop block present with a count of 0, which players read as forever
Changing the delay to 125 ms would store 13 and play each frame for 130 ms

Tips for best results

  • Give the frames sortable names such as step-01.png, step-02.png before you select them, so they arrive in order. You can still fix the order afterwards with the arrows.
  • Keep Maximum width at 640 px or below for anything that will be posted in chat or email. GIF compression is weak on photos, and file size grows quickly with width.
  • For screenshots, crop them to the same size before adding them, then leave Size every frame to the first image on. Nothing will shift between frames.
  • Use a longer delay than feels natural. Viewers need time to read a frame with text in it; 1500 to 2500 ms per step is a reasonable starting range for annotated screenshots.
  • If an image has transparent areas, set the background colour to match where the GIF will be shown, for example white for a document or a dark grey for a dark-mode chat.

Edge cases to watch

Photos with smooth gradients, such as skies, skin and soft shadows, show visible bands because the whole animation shares 256 colours and the encoder does not dither. Flat graphics, diagrams and screenshots come through much cleaner.

Very short frame times are not played the same way by every viewer, so a fast animation can run at a different speed in a chat app than in the preview here. The tool will not go below 20 ms; if the speed matters, check the GIF where it will actually be shown.

When the images have different shapes and the first-image option is on, the others are scaled to fit inside the first image's shape and the leftover space is filled with the background colour. A wide image after a tall one will have bars above and below.

Turning the first-image option off makes the GIF as large as the biggest image. Smaller images are not enlarged; they sit in the middle with background around them.

There is a ceiling of 60 million pixels across all frames. At 1080 × 1350 px, 41 frames fit and 42 are refused with a message, so lower the maximum width or use fewer frames.

Common errors and how to fix them

A file is listed as "a GIF image" and refused.
Existing GIFs are not accepted as frames, because only their first frame could be read. Export the frames you want as PNG and add those.
The tool says the frames are more than it holds in memory at once.
Width × height × number of frames is over 60 million pixels. Choose a smaller maximum width, or split the sequence into two GIFs.
Faces or skies look blotchy or striped.
That is the 256-colour limit without dithering. Lower the maximum width, use fewer distinct photos in one GIF, or use a video format if the colour matters.
Frames jump or shift position.
The source images have different sizes or framing. Crop them to the same size first, or turn on Size every frame to the first image.
One frame in the list is refused as a HEIC photo while the rest are accepted.
The other frames stay in place. Export that photo as JPG, add it, then use the arrows to move it back to its position in the sequence.

Best practices

  • Keep a GIF short and purposeful: one idea per animation reads better than a long reel.
  • Put the most important frame first. Some apps show the first frame as a still preview before the animation plays.
  • Add a written description next to the GIF on the page where it appears, for readers who cannot see it or have animation turned off.
  • Check the file size against the limit of the place you are posting it before you send it, and reduce the width if it is too large.

Why one shared palette, and what it costs

A GIF can carry a separate colour table for each frame, but a single global table keeps the file simpler, and colours do not flicker between frames when the same object appears in several of them. A red button in frame 1 maps to the same red in frame 9.

The cost is that 256 colours have to serve every frame at once. A sequence of similar screenshots shares most of its colours and loses almost nothing. A sequence of unrelated photos, each with its own lighting, competes for the same entries, and each photo ends up with fewer shades than it would get alone. If the frames look poor, splitting the set into two GIFs gives each one its own palette.

Full frames and an opaque canvas

The encoder writes every frame in full rather than storing only the pixels that changed, and it does not add transparency. Both keep the output predictable and readable by any GIF player, but the file is larger than a tool that optimises frame differences would make.

  • No dithering; gradients show bands.
  • One delay for every frame; per-frame timing is not offered.
  • No transparent output; transparency is filled with the background colour.
  • No frame-difference optimisation.
  • Existing GIF, HEIC and video files are not accepted as input.

Frequently asked questions

How many images can one GIF have?

Up to 60, as long as width × height × frames stays under 60 million pixels. At the default 640 px width that is rarely the limit; at no width limit with large photos it can be.

Why does my 125 ms delay say 130 ms?

GIF timing is stored in whole hundredths of a second. 125 ms is 12.5 hundredths, which rounds to 13, so each frame plays for 130 ms.

Will the GIF loop in every app?

With Loop forever, the file carries the standard loop block that browsers and most chat apps honour. A few apps play GIFs only once or only on tap whatever the file says.

Why is my GIF so large?

GIF compression works best on flat areas of colour, so photos and noisy images compress poorly. Lowering the maximum width has the biggest effect, followed by using fewer frames.

Where does the encoding happen?

In the page. The palette search and LZW compression are JavaScript that ships with it and runs on frames drawn into a canvas in your tab. The finished bytes become a Blob, which the preview shows and the download saves through a local blob URL; that URL is released when you make a new GIF or leave the page.