Skip to content
Kordu Tools Kordu Tools

How to Create Animated GIFs from Images

Learn how to create animated GIFs from a series of images. Covers frame rate, file size, the 256-color limit, and when to use WebP or MP4 instead.

I
iyda
13 min read
animated gif create gif gif from images gif maker gif file size

GIF turned 39 years old in 2026 and refuses to die. The format was created by CompuServe engineer Steve Wilhite in 1987, yet Giphy reports serving over 10 billion GIFs per day across its platform integrations. That persistence isn’t a fluke. Despite every technical deficiency, GIF occupies a cultural niche nothing else has fully replaced: short, looping, reaction-ready animation that works everywhere without any user action.

related: full image format guide with file size comparisons

Key Takeaways

  • GIF was created in 1987 and is limited to 256 colors per frame -- a hard constraint set by its 8-bit palette.
  • A 5-second GIF at 480x270 can reach 3-5 MB. The same clip as WebP animated is typically 40-60% smaller.
  • 10-15 fps and dimensions under 640px wide keep GIF files manageable without sacrificing the looping effect.
  • Use GIF for social media reactions and messaging apps. Use WebP animation or MP4 for anything longer or more detailed.
  • Discord, Slack, and most messaging apps support GIF natively -- it remains the safest animated format for cross-platform sharing.

Why Are GIFs Still Everywhere in 2026?

GIF has survived four decades because its combination of universal support, instant looping, and zero interaction requirement is still unmatched. According to a Tenor usage report, GIF searches on its platform grew year-over-year through 2025, driven by messaging app integrations in Google Messages, iOS Messages, and WhatsApp. The format’s inefficiency is widely known. It persists anyway because compatibility beats efficiency when you need something to work everywhere immediately.

Discord, Slack, Telegram, and every major email client display GIFs inline, auto-play silently, and loop forever without any plugin or user interaction. WebP animated and MP4 can’t say the same across every context. That compatibility floor is why GIFs still get created and shared billions of times per day despite formats that objectively outperform them.

overview of all animation-capable formats

What Is GIF and How Does It Work?

GIF (Graphics Interchange Format) stores animation as a sequence of frames, each with its own 256-color palette drawn from the full 24-bit color space. CompuServe published the original GIF87a specification in June 1987, followed by GIF89a in July 1989, which added animation and transparency support (CompuServe GIF89a specification). That 1989 standard is still what every GIF file uses today.

The 256-color limit

Each GIF frame uses an 8-bit palette: exactly 256 colors maximum per frame. The encoder picks the best 256 colors to represent the image and maps every pixel to one of them. For simple graphics, flat colors, and text, 256 colors is adequate. For photographs with smooth gradients and millions of tones, it’s crippling.

The technique the encoder uses to compensate is called dithering. It mixes two palette colors in a checkerboard or scatter pattern to approximate intermediate tones. From a distance, dithering looks like a gradient. Up close, it looks like noise. Photos in GIF always show some dithering artifact, and high-contrast photographic content looks noticeably degraded.

How GIF animation works

GIF animation is a sequence of still frames stored inside a single file. Each frame specifies a delay in hundredths of a second, a disposal method (replace the full canvas or layer on top of the previous frame), and optionally a local palette that overrides the global palette for that frame only. A loop count extension added in GIF89a controls how many times the animation repeats, with 0 meaning infinite loop. That’s the mechanism behind every reaction GIF that plays forever.

Citation capsule: GIF animation works via a sequence of indexed-color frames in a single file, each with its own delay value and optional local palette, using the GIF89a specification (CompuServe, 1989). The format limits each frame to 256 colors from an 8-bit indexed palette, making it inherently unsuitable for photographic content.

How to Create an Animated GIF from Images

Creating an animated GIF from a series of still images is a three-step process: prepare your frames, set the timing and loop options, then export. The GIF creator below handles all of it in your browser. Your files never leave your device.

Try it Animated GIF Creator
200ms
Fast (20ms)Slow (2000ms)

Add images — select multiple files to add as frames

PNG, JPG, WebP, GIF

create your GIF with the tool above

Step 1: Prepare your source images

Gather the images you want to animate as separate files, one per frame. Common sources:

  • Screenshot sequences exported from a screen recording
  • Photo bursts from a camera or phone (burst mode shots)
  • Illustration frames exported from a design tool like Figma or After Effects
  • Video frames extracted at regular intervals

Keep all frames at the same dimensions. If the sizes differ, the encoder has to pad or crop, which usually looks wrong. Crop and resize your images to a consistent width and height before importing. For web use, a width between 320px and 640px is the practical sweet spot.

Consistent dimensions matter

Every frame in a GIF should be the same pixel dimensions. If your frames have different sizes, resize them all to match before creating the GIF. Mismatched frames cause visible jumps or ghosting on some viewers.

Step 2: Set frame rate and loop options

Frame rate controls how fast the animation plays. GIF timing is set per-frame in units of 10 milliseconds (one hundredth of a second). In practice, most GIF players implement a minimum frame delay of 20ms (50 fps cap), and many honor no more than 10-15 distinct speed levels anyway.

For most reaction GIFs and short loops, 10-15 fps is the standard range. It’s fast enough to look smooth for simple motion but slow enough to keep file size under control. If you’re animating a complex sequence with fast movement, 20-24 fps looks better but increases file size proportionally.

Set the loop count to 0 for infinite looping, which is the default for virtually all GIFs shared on social media and messaging apps.

Step 3: Export and check the result

Download the GIF and preview it before sharing. Check:

  • Does the animation loop cleanly without a visible jump at the end?
  • Is the color quality acceptable, or is there heavy dithering?
  • Is the file size reasonable?

If the file is too large, the next section covers exactly how to bring it down.

What Frame Rate Should You Use for GIFs?

Frame rate directly controls both animation smoothness and file size. The GIF89a specification stores delays in centiseconds (1/100 of a second), but browser implementations historically set a floor around 20ms per frame, meaning GIF animations technically cap out around 50 fps in ideal conditions. In practice, 10-15 fps is the standard for web GIFs.

Target LookRecommended fpsFrames for 2 seconds
Slow, deliberate8-10 fps16-20 frames
Normal animation12-15 fps24-30 frames
Smooth motion20-24 fps40-48 frames

Higher fps multiplies file size roughly proportionally. A 2-second GIF at 24 fps has twice as many frames as the same clip at 12 fps, and roughly twice the file size, all else being equal. For most sharing contexts, 12 fps looks smooth and stays manageable. Only push to 20+ fps when the animation content genuinely requires it, such as a fast-moving object or character.

How Do I Keep GIF File Sizes Under Control?

GIF file size grows fast. A 5-second animation at 480x270 and 15 fps can exceed 3 MB. According to Cloudinary’s image format research, the same content encoded as animated WebP typically runs 40-60% smaller. For contexts where GIF is required, though, these are the levers that actually matter.

Reduce dimensions first

Halving the width and height of a GIF reduces pixel count by 75%, which has an outsized effect on file size. A 640x360 GIF at 15 fps becomes a 320x180 GIF with the same frame count, and the file shrinks dramatically. Most reaction GIFs shared in messaging apps display at 320-480px anyway. There’s rarely a reason to export wider than that.

Reduce frame count

Cut frames before reducing quality. A 3-second GIF at 15 fps has 45 frames. The same animation at 10 fps has 30 frames, a 33% reduction with only a modest smoothness trade-off. Trimming the animation to its essential loop, dropping duplicate or near-duplicate frames, and lowering fps are the highest-impact changes.

Limit colors per frame

The 256-color maximum is a ceiling, not a requirement. Reducing the palette to 64 or 128 colors produces noticeably smaller files for content that doesn’t use the full range. Simple graphics, text animations, and logos with flat color often look identical at 64 colors vs. 256 colors but produce files 20-40% smaller.

GIFs get huge fast

A GIF with 60 frames at 640x360 can exceed 10 MB. That’s normal for the format. If your GIF is unexpectedly large, check dimensions first, then frame count, then frame rate. These three factors control 90% of the file size before any compression tuning.

Use frame differencing

Efficient GIF encoders store only the pixels that change between frames, not the full frame every time. This is called frame differencing or disposal method optimization. If your animation has a static background with movement only in part of the frame, a good encoder can reduce the per-frame data significantly. The GIF creator tool applies this automatically.

Citation capsule: GIF file sizes are primarily driven by frame count, frame dimensions, and palette size. According to Cloudinary’s GIF format analysis, the same animation content encoded as animated WebP runs 40-60% smaller than GIF, with the gap widening as content complexity and frame count increase.

compress GIF output further

Does the 256-Color Limit Actually Matter?

For some content, no. For others, it’s the dominant quality problem. The answer depends on what you’re animating.

When 256 colors is enough

Flat-color graphics, logos, simple illustrations, pixel art, and text animations all work well within the 256-color limit. These content types don’t have smooth photographic gradients, so the palette constraint doesn’t cause visible degradation. A GIF of a bouncing logo or a typed-text animation can look crisp and professional.

When 256 colors is a problem

Photographs and video frames with smooth color transitions show the limit immediately. Skin tones, sky gradients, and foliage all require thousands of distinct colors to render smoothly. Force them into 256 slots and the result is color banding (abrupt steps between tones) and dithering noise. The more the original content relies on subtle gradations, the worse GIF handles it.

Dithering vs. color banding tradeoff

Most GIF encoders let you choose a dithering level. High dithering reduces banding (abrupt color steps) but adds noise across the image. Low dithering gives cleaner, quieter images but shows stronger banding in gradients. For photographic content, neither option looks great. This is a fundamental limitation of the format, not a tool problem.

GIF vs. WebP Animation vs. APNG vs. MP4: When to Use Which

The right format depends on where the animation will be used, not just which format compresses better. All four options have real use cases in 2026.

Format Max Colors File Size Browser Support Transparency Platform GIF Search Best For
GIF 256 per frame Largest 100% 1-bit (on/off) Yes (all apps) Messaging apps, social reactions, email
WebP animated 16.7 million 40-60% smaller than GIF 97% Full alpha No Modern web pages, performance-sensitive contexts
APNG 16.7 million Similar to GIF or smaller ~96% Full alpha No Transparent PNG-compatible animations
MP4/WebM 16.7 million Smallest (video codec) 100% No (MP4) / Yes (WebM) No Longer clips, video loops on web pages

When to use GIF

Use GIF when the destination is a messaging app, email client, or social platform where GIF is the native animated format. Discord, Slack, Telegram, Microsoft Teams, Apple Messages, Google Messages, WhatsApp, Twitter/X, Reddit, and most email clients all render GIF inline. None of them render WebP animation or APNG with the same universal support. If you’re sharing a reaction, a meme, or a short demonstration and you’re not sure what the recipient’s environment supports, GIF is the safe choice.

When to use WebP animation

Use WebP animated for content published on a web page you control. According to Can I Use, animated WebP has 97% global browser support in 2026. For a 2-second animation loop embedded in a blog post or landing page, animated WebP delivers the same visual result at half the file size, without the 256-color limitation. Use the HTML <picture> element to fall back to GIF for the 3% that can’t display WebP.

When to use MP4 or WebM

Use MP4 or WebM for animations longer than a few seconds, or for photographic content where color fidelity matters. Video codecs compress motion dramatically better than any image-based format. A 10-second clip that would be 8 MB as a GIF might be 300 KB as MP4 at the same visual quality. The tradeoff is that <video> tags don’t loop seamlessly in all contexts and aren’t supported by messaging apps as an embedded animation format.

Citation capsule: Animated WebP achieves 97% global browser support as of 2026 (Can I Use) and produces files 40-60% smaller than equivalent GIF animations, while supporting full 24-bit color and alpha transparency. GIF retains a compatibility advantage for messaging apps, Discord, Slack, and email clients, where animated WebP is not universally supported inline.

Where GIFs Work Well and Where They Don’t

Where GIFs work

Social media reactions. Twitter/X, Reddit, Tumblr, and Facebook all support GIF natively in posts and comments. The short-loop reaction format is culturally embedded on these platforms.

Slack and Discord. Both platforms support GIF in messages with inline autoplay and looping. Slack’s /giphy command and Discord’s GIF picker are built into the product, reinforcing GIF as the standard for animated emoji replacements.

Email. HTML email supports GIF in virtually every client, including Outlook, Apple Mail, Gmail, and Thunderbird. Animated WebP and video embeds have inconsistent email support. GIF is the only reliable animated format for email newsletters.

Short UI documentation. Step-by-step guides, keyboard shortcut demonstrations, and feature walkthroughs in documentation are well-served by GIFs under 640px wide and a few seconds long.

Where GIFs don’t work

Detailed photography. The 256-color limit produces visible dithering and color banding on any photo with smooth gradients. Portrait skin tones, landscape sky gradients, and food photography all look degraded in GIF. Use WebP animated or MP4.

Clips longer than 3-5 seconds. File size grows linearly with duration. A 10-second GIF at reasonable quality and dimensions commonly exceeds 10 MB. That’s too heavy for most contexts. Cut to the essential loop or switch to MP4.

High-resolution content. GIF at 1080p is impractical. The combination of frame count, palette limitations, and lossless encoding produces enormous files. Keep GIFs under 640px wide for any sharing context.

Contexts where load time matters. A 5 MB GIF embedded in a web page will hurt Core Web Vitals and user experience. Replace with an auto-playing muted <video> or an animated WebP on your own pages.

Create Your GIF

Drop your images into the tool below to create an animated GIF. Adjust frame rate, loop settings, and dimensions before exporting. All processing runs in your browser.

Try it Animated GIF Creator
200ms
Fast (20ms)Slow (2000ms)

Add images — select multiple files to add as frames

PNG, JPG, WebP, GIF

If your resulting GIF is larger than you’d like, compress it using the image compressor below. Reducing the output dimensions is usually the fastest way to cut file size before export.

Image Compressor

Compress PNG, JPG, WebP, AVIF, GIF, BMP, ICO and more — reduce file size without losing visual clarity.

Try it free

create animated GIFs from image sequences

Frequently Asked Questions

How do I make a GIF from a video?

To convert a video to GIF, extract frames from the video at a regular interval, then feed those frames into the GIF creator. Most video editors and screenshot tools can export frame sequences. Alternatively, use a dedicated video-to-GIF converter. Keep the output under 640px wide and 5 seconds long — longer clips produce unwieldy file sizes in GIF format.

image format guides for compression

Why is my GIF so large?

GIF file size is driven by three things: frame dimensions, frame count, and frame rate. Each added frame at a large dimension adds significant data. A 640x360 GIF at 15 fps for 5 seconds contains 75 frames. Halving the dimensions to 320x180 reduces pixel count by 75%. Cutting the duration to 2 seconds at 10 fps reduces frames to 20. Together those changes can shrink a 10 MB file to under 1 MB. Reduce dimensions first, then frame count, then palette size.

Can I reduce GIF file size after creating it?

Yes, but the options are limited. You can re-encode the GIF with a smaller color palette (64 colors instead of 256), apply lossy GIF compression (which discards near-duplicate pixel values between frames), or reduce dimensions and re-export. The most effective approach is to reduce dimensions and frame count before encoding the first time, since re-encoding an already-created GIF introduces a second round of quality loss.

What is the best frame rate for a GIF?

10-15 fps is the practical standard for most GIFs. It’s fast enough that motion looks fluid for simple animations and reaction clips, but slow enough to keep file size under control. Push to 20-24 fps only when the animation content requires it, such as fast character movement or detailed physics simulations. Note that some older browsers and email clients enforce a minimum frame delay of 20ms, which caps effective frame rate at 50 fps regardless of what you set.

Does GIF support transparency?

GIF supports 1-bit transparency: each pixel is either fully transparent or fully opaque. There’s no partial transparency or smooth alpha blending. This means anti-aliased edges, drop shadows, and semi-transparent overlays all look rough when placed on a non-white background. For transparency that blends cleanly against any background, use PNG (static) or WebP animated (animated) instead.


GIF is slow, colorblind by modern standards, and file-size-inefficient. It has no reason to dominate animation in 2026 except that it’s everywhere already and nothing has dislodged it from messaging apps and email. For content you publish on web pages you control, animated WebP or a muted looping <video> outperforms GIF on every metric that matters. For content shared across platforms you don’t control, GIF remains the safest bet. Use the right format for the destination, not the most impressive one.

related: full image format comparison including file size benchmarks related: reduce file sizes after exporting

Related articles