Images to GIF
Turn a sequence of images into an animated GIF with per-frame timing and local encoding.
Frames and settings
no framesAdd images in the order you want them to play. Select a frame to edit its duration.
Frames stay in this tab.
GIF preview
not encodedNo GIF yet
Add images, choose timing and palette settings, then encode.
Order frames by drag-equivalent move controls or natural filename sort, set a global or per-frame duration, then choose output width, palette size, Floyd–Steinberg dithering, alpha threshold, loop count and backdrop. Encoding is a dependency-free GIF89a writer with uniform palette quantization, transparent disposal and LZW compression, so no image ever leaves the tab. A size estimate is shown before export.
Encoding is local and dependency-free: uniform palette quantization, optional error-diffusion dithering and GIF LZW all run in this tab.
Examples
PNG sequence
frame-1.png, frame-2.png, frame-3.pnganimation.gif with three framesNatural filename sorting orders the frames, and each duration survives the 10 ms quantization.
Compact palette
60 frames, 32 colors, dithering on, 320 px widesmall looping GIFA smaller palette plus error diffusion keeps gradients believable while reducing file size.
Transparent overlay
RGBA frames, alpha threshold 128GIF with transparent index and disposal 2The transparent palette slot is reserved and each frame restores the background before drawing the next.
About this tool
Images to GIF turns a sequence of still images into a looping animation entirely in your browser. Frames keep the order you add them, can be reordered with keyboard-reachable buttons or sorted by natural filename order, and each has its own duration control. GIF delay granularity is 10 ms and browsers clamp very short delays, so the UI communicates the effective timing.
The encoder is a dependency-free GIF89a writer: frames are normalized with cover/contain/stretch fitting, quantized to a uniform 32–256 color palette, optionally dithered with Floyd–Steinberg error diffusion, and compressed with variable-width LZW. Transparency uses a reserved palette index with disposal method 2, and the Netscape extension controls loop count.
A rough size estimate is shown before encoding so large frame sets can be trimmed or reduced to a smaller palette first. The finished GIF is previewed locally and downloaded from an in-memory Blob — no upload, no watermark, no server-side rendering.
What this tool does not do
- Frames are normalized to a single canvas size; mixed aspect ratios use the chosen cover/contain/stretch policy.
- Uniform palettes favor speed over perceptual color matching; photographic frames may band at 32 colors.
- Very large frame sets are limited by browser memory because decoded frames and encoded bytes live in the tab.
How to use this tool
Add images in order
Choose several PNG, JPEG or WebP files. Each becomes a frame; move buttons and natural filename sorting adjust the order.
Set timing
Use a global default feel by editing per-frame durations; values are clamped to 20–2000 ms and snap to 10 ms GIF units.
Tune palette and size
Pick width, palette size, dithering, fit mode, loop count and optional alpha threshold; review the size estimate.
Encode and download
Press Encode GIF, inspect the looping preview and download the resulting animation.gif.
Use cases
Reactions and tutorials
Animate screenshots or step sequences without an account or upload.
Product demos
Turn a recorded PNG sequence into a compact, shareable loop with a controlled palette.
Design QA
Preview frame timing and transparency behavior before shipping an animated asset.
Encoding controls
| Control | Range |
|---|---|
| Duration | 20–2000 ms per frame |
| Width | 160–640 px or original |
| Palette | 32 / 64 / 128 / 256 colors |
| Dithering | on / off |
| Transparency | alpha threshold 0–255 |
Browsers typically clamp GIF delays below 20 ms; the encoder floors delays at two centiseconds to match.
Common mistakes
Mistake:Expecting millisecond-exact GIF timing.
Fix:GIF delays are stored in 10 ms units and browsers clamp shorter values; set durations in multiples of 20 ms.
Mistake:Using a large palette for flat-color frames.
Fix:Try 32 or 64 colors; uniform quantization plus dithering is often visually identical at a fraction of the size.
Mistake:Expecting JPEG frames to become transparent.
Fix:Transparency follows source alpha. JPEG has none, so only PNG/WebP frames with real alpha can use the transparent index.
Frequently asked questions
How do I set per-frame duration?
Select a frame in the filmstrip and edit its Duration field (20–2000 ms). Each frame keeps its own value. GIF stores delays in hundredths of a second, so values snap to 10 ms units, and browsers clamp extremely short delays to around 20 ms.
Why is my GIF large?
Size grows with frame count, canvas area and palette size. Reduce the output width, choose 64 or 32 colors, and reorder or remove near-identical frames. The tool shows a rough estimate before encoding so you can decide whether a smaller palette is worth the quality tradeoff.
What palette size should I pick?
256 colors is safest for photographs and gradients. Flat illustrations, screenshots and UI captures often look identical with 64 or 32 colors, especially with dithering enabled. Try the smallest palette that keeps the preview acceptable.
Does transparency survive?
Yes, when source frames have real alpha (PNG or WebP). Enable Transparency and set an alpha threshold: pixels below it use a reserved transparent palette index with disposal method 2, so each frame restores the background. JPEG frames are opaque and cannot gain transparency.
Is there a frame limit?
There is no hard count in the encoder, but every decoded frame and the final GIF live in browser memory. Very long sequences are slower and larger; use a smaller width or palette, and keep an eye on the size estimate before encoding.
Are my images uploaded?
No. Decoding, quantization, dithering, LZW compression and preview all happen in this tab. The download is a locally generated Blob, so there is no upload, account or watermark.
References & standards
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns