Export a GIF using File > Export As

To export a GIF in Photoshop, go to File in the menu bar, then select Export As. A dialog box will open. At the bottom, change the file format dropdown from the default (usually PNG or PSD) to GIF. Give your file a name, choose where to save it, then click Export. Photoshop will then show you GIF-specific options before finalizing the export.

This method works for both static images and animated GIFs. If your file contains multiple layers or frames intended as animation, Photoshop will recognize this and ask how you want to handle them during export. The Export As dialog is the standard path for GIF output in modern Photoshop versions (2015 and later).

Key Takeaways

  • Use File > Export As, set the format to GIF, and name your file before clicking Export to open the GIF options panel.
  • For animated GIFs, your layers must be organized as frames in the Timeline panel, or Photoshop will export only a static image.
  • The GIF export dialog lets you choose between 128, 256, or fewer colors, which affects file size and image quality.
  • Interlacing makes a GIF load progressively in older browsers, but adds file size and is rarely necessary for modern web use.

Understanding the GIF export options panel

After you click Export and confirm the filename, Photoshop opens a second dialog with GIF-specific settings. The most important choice is color reduction. GIFs use a maximum of 256 colors, but you can reduce this number to shrink file size. A setting of 128 or 256 colors usually looks good for photographs or complex images; 64 or fewer works for simple graphics or text.

You will also see options for dithering, which adds a pattern to make colors blend more smoothly when the palette is reduced. Dithering can make a smaller file look better, but it also increases file size slightly. For most web use, leaving dithering at its default setting is fine. If your image looks banded or posterized after export, increase the color count rather than adjusting dithering.

Setting up layers as frames for animated GIFs

If you want to export an animated GIF, each layer in your Photoshop file becomes one frame of the animation. Before exporting, open the Timeline panel (Window > Timeline if it is not visible). Click Create Video Timeline or Create Frame Animation depending on your Photoshop version.

Once the Timeline is open, click the menu icon in the Timeline panel and select Make Frames from Layers. Photoshop will convert each layer into a separate frame. You can then set the duration each frame displays by clicking the time value under each frame thumbnail. Common settings are 0.1 seconds for fast animation or 0.5 seconds for slower movement. After you set all frame timings, export as GIF using the same File > Export As method.

Controlling file size and quality

GIF file size depends on three things: the number of colors in the palette, the image dimensions, and the number of frames. To reduce file size, start by lowering the color count in the export dialog. Going from 256 to 128 colors often cuts file size in half with little visible difference.

For animated GIFs, the frame count matters most. If your animation has 20 frames, consider whether it could work with 10 or 12 frames instead. Removing frames speeds up the animation slightly but shrinks the file significantly. You can also resize the image before exporting—a GIF that is 400 pixels wide instead of 800 will be roughly one-quarter the size. Use Image > Image Size to scale down before export.

Interlacing and when to use it

Interlacing is a GIF option that makes the image load in passes, showing a blurry version first and sharpening as more data arrives. This was useful in the 1990s when internet speeds were slow. Today, most GIFs load so quickly that interlacing adds file size without benefit. Leave this option unchecked unless you have a specific reason to use it.

The only scenario where interlacing still matters is if you are distributing GIFs over very slow connections or to very old devices. For web use, email, or social media, interlacing is unnecessary and will only make your file larger.

Exporting GIFs for social media and web

Different platforms have different GIF size limits. Twitter accepts GIFs up to 15 MB, but most GIFs perform better under 5 MB. Facebook and Instagram have similar limits but compress GIFs further, so smaller is better. Slack limits GIFs to 5 MB. Before uploading, check the platform's specifications.

To meet these limits, reduce the image dimensions and color palette aggressively. A 600-pixel-wide GIF with 128 colors and 10 frames will usually stay well under 5 MB. Test your export settings by checking the file size in your file manager after export. If it is too large, go back to Photoshop, adjust the color count or dimensions, and export again.

Troubleshooting common GIF export problems

If your exported GIF looks dull or posterized, the color palette is too low. Increase it to 256 colors or add dithering in the export dialog. If your animated GIF is not playing, check that you used Make Frames from Layers and that each frame has a duration set in the Timeline. A frame with zero duration will not display.

If Photoshop will not let you export as GIF, your image may be in CMYK color mode. GIFs only work in RGB. Go to Image > Mode > RGB to convert, then try exporting again. If the file size is enormous, you likely have too many colors or frames. Reduce the color count to 128 or fewer, or remove frames from the animation.

Frequently Asked Questions

Can I export a GIF directly from a video file in Photoshop?

Yes. Go to File > Open and select your video file. Photoshop will import it as a sequence of frames in the Timeline. Trim the timeline to the section you want, then export as GIF. This is faster than creating frames manually from a series of images.

Why does my GIF look blurry or pixelated after export?

This usually means the color palette is too low. In the export dialog, increase the color count to 256. If the image still looks bad, the problem may be dithering. Try disabling dithering or switching to a different dithering method in the export options.

What is the difference between Export As and Export For Web?

Export For Web is an older method that gives you more detailed control over compression and preview options. Export As is simpler and works fine for most GIFs. Both produce the same file format. Use Export As unless you need the extra preview tools in Export For Web.

Can I make a GIF from a Photoshop smart object?

Not directly. Smart objects do not convert to frames automatically. You must first rasterize the smart object (right-click it and select Rasterize Layer), then use Make Frames from Layers if you want animation, or export as a static GIF.

How do I loop an animated GIF so it plays forever?

In the Timeline panel, look for the playback options at the bottom. You will see a dropdown that says "Once" or "Forever". Select "Forever" to make the animation loop continuously. This setting applies when you export, so the GIF will loop on any platform that plays it.