How to Make a GIF in Illustrator: Static and Animated Workflows

Adobe Illustrator can export artwork as a static GIF through File → Export → Save for Web (Legacy). Illustrator is not a timeline animation editor, so a multi-frame animated GIF normally requires a second application such as Photoshop or Adobe Animate. The clean workflow is to design the frames in Illustrator, export them consistently, and assemble the animation afterward.

Export a static GIF from Illustrator

  1. Finish the artwork and save an editable .ai copy.
  2. Set the artboard to the final aspect ratio and remove objects outside the export area.
  3. Choose File → Export → Save for Web (Legacy).
  4. Select GIF, preview the color reduction, and choose a transparency and matte setting that fits the destination.
  5. Compare image quality against file size, then save the optimized file.

GIF supports a limited palette, so gradients and photographs can develop banding. Dithering can disguise bands but may increase the file size. Logos, icons, flat illustrations, and artwork with a small controlled palette usually export cleanly.

Prepare animated frames in Illustrator

Create one artboard per frame or place each frame on a clearly named layer. Keep every artboard the same pixel dimensions and align stationary objects to exactly the same coordinates. Duplicate the previous frame before making small changes; this prevents accidental jumps in the finished loop.

Export the frames as numbered PNG files with transparent backgrounds when needed. PNG preserves transparency and avoids adding another lossy step before assembly. Names such as frame-001.png, frame-002.png, and frame-003.png keep the order unambiguous.

Assemble the frames into an animated GIF

In Photoshop, load the exported files as layers, open the Timeline panel, create a frame animation, make frames from layers, set the frame delay, and choose a looping option. Export with Save for Web as GIF. In Adobe Animate, import the artwork into a timeline and use its animated-GIF export workflow.

If you prefer a browser workflow, upload the numbered PNG sequence to GIFDB's Images to GIF tool, arrange the frames, choose the delay and loop setting, and download the result.

Keep the finished GIF small

  • Design at the final pixel dimensions instead of shrinking a huge export later.
  • Animate only the parts that need to move.
  • Remove duplicate frames and shorten long holds.
  • Reduce colors carefully; flat vector art often needs far fewer than 256.
  • Test transparency against both light and dark backgrounds.

Fix common Illustrator-to-GIF problems

The GIF is not animated: Save for Web exported a single Illustrator state. Export separate frames and assemble them in a timeline tool.

White edges appear: the matte color does not match the destination. Re-export with the correct transparency and matte choice.

The artwork jumps: frame artboards or layers are not aligned. Return to Illustrator and use identical artboard sizes and coordinates.

Colors look rough: simplify the palette, adjust dithering, or export a video/WebP when GIF's 256-color limit is not suitable.

Official reference

Adobe lists GIF under Illustrator's Save for Web formats. Adobe's dedicated animated GIF export documentation applies to Adobe Animate, which is the timeline-based option.