
How to Make a Transparent GIF in Photoshop or Online
Learn how to make a transparent GIF in Photoshop or online. Remove the right background, preserve every frame, fix rough edges, and choose GIF or alpha WebM.
To make a transparent GIF, remove the background from every frame and export the animation with transparency enabled. Use a color remover for a plain background, a people background remover for a short reaction GIF, or Photoshop to assemble images that already have transparent backgrounds.
After saving, reopen the GIF over both a light and a dark background and play a complete cycle. That check catches missing subject details and rough edges that a white preview can hide.
Choose the method that fits your source
Background removal and transparent export are separate steps. An export setting preserves transparency that already exists; it does not identify which part of an ordinary photo should disappear.
| Your source | Start with | What to check |
|---|---|---|
| An existing GIF with one background color | An online color remover such as Ezgif | The subject must not contain colors you also want to erase |
| A short GIF of a person against a room or another mixed background | VideoBGRemover's GIF background remover | Inspect hair, hands, and other moving edges after processing |
| Transparent PNG frames or a layered animation | Photoshop's frame animation and GIF export | Every frame needs a clear background, with the correct order and timing |
For a logo or cartoon with a complicated background, use an editor that lets you mask the background. A people remover is designed for a different subject.
Make a GIF transparent online
Remove a solid background color with Ezgif
Use this route when the background is white, black, or another mostly uniform color that is separate from the subject. Ezgif's GIF background remover replaces a selected color with transparency across the animation.
- Open the remover, choose your GIF, and click Upload!.
- Select the background color. Use the custom color picker or hex value when it is not plain white or black.
- Start with a low Fuzz value. Fuzz controls how far the removed colors can differ from your selection.
- Keep don't stack frames enabled for this transparent-background workflow. For the first attempt, leave edge cleanup off so you can see what color removal alone does.
- Click Submit!, inspect the animation, and use Save to download the actual GIF.

Start with a low tolerance, inspect the subject, then save the processed GIF for the light-and-dark check.
Check the subject before increasing Fuzz. In our white-background badge animation, removing white also cut holes through the white lettering. The result looked intact on a white page because the page showed through those holes; dark blue exposed them immediately.

Both panels use the same saved GIF. Check the subject on a contrasting color before calling the removal finished.
If a color you need in the subject is also in the background, lowering Fuzz cannot protect an exact color match. Use a mask or a method that separates the subject from its surroundings instead.
Increase Fuzz in small steps if a pale rim remains. In the same animation, a higher value cleared the near-white rim but also removed a pale detail inside the badge. Stop when useful detail starts disappearing. Edge cleanup can shrink the remaining edge, so use it only after the subject is intact.

A cleaner rim can cost subject detail. These are two test settings, not recommended values for every GIF.
If moving parts leave trails, try the unoptimize link and process the GIF again with don't stack frames checked. These controls address how optimized GIF frames are combined; they do not recover subject pixels already erased by color matching.
Remove a background from a short people GIF
For a person against a mixed background, open the GIF background remover. This route identifies the person rather than asking you to select one background color.
Have an animated GIF with at least two frames ready. The input limits are:
- No longer than 10 seconds.
- No more than 20 MiB—shown as 20 MB in the uploader.
- 1024 pixels or less on the longest side.
- No more than 300 frames, with a combined frame-pixel limit of 120 million. Large dimensions together with many frames can hit that limit even when the file size is small.
- Sign in with Google, then click Choose a GIF or drop the file into the uploader.
- Check the selected animation and click Remove background. Processing uploads the file and uses your account credits; make sure your balance is sufficient.
- When the result is ready, switch between Original and Result. Inspect the result on the checkerboard, white, and black preview backgrounds.
- Choose Original size or Half size, then click Download GIF. Half size reduces the width and height; inspect small details at the size you will use.
- Reopen the downloaded GIF and check the full animation. The output follows the source's loop setting, so a source set to play once is not automatically made endless.
You can also download the tool's existing public sample to try this check before processing your own file. We placed that downloaded sample over white and dark page colors and confirmed that it remained a moving transparent cutout.

Try the public sample, then check your own downloaded animation on both colors and through a complete cycle.
The finished job also offers Download WebM. Use that option only when your destination accepts transparent video; the format choice is covered below.
How to make a transparent GIF in Photoshop
Use Adobe Photoshop on desktop when you want to build an animation from separate frames or control the artwork yourself. Start with a small set of frames so you can finish and check one export before preparing a long sequence.
1. Prepare a transparent background in every frame
For separate images, use transparent PNGs with the same canvas dimensions. A white rectangle around the subject is still image content, even if you plan to tick Transparency later.

Prepare a transparent image for every frame. This PNG is one still-image example; the clear surround is already in the source.
Download the transparent PNG sample to inspect its clear background. To make an animation, prepare several frames with a visible change between them.
If the source images still have backgrounds, remove or mask those backgrounds first. Photoshop's Select Subject and Remove Background controls can help prepare each image. Check the mask around the subject before moving to the next frame.
For artwork made directly in Photoshop, keep the drawing on regular layers and leave any opaque Background layer hidden. Check each animation frame: hiding the background in one frame does not prove it is absent from the others.
2. Load the images and create the frame animation
For a sequence of separate images:
- Choose File → Scripts → Load Files into Stack.
- Click Browse, select the prepared images, and import them into one layered document.
- Open Window → Timeline.
- Use the Timeline's center dropdown to choose Create Frame Animation, then click that button.
- Open the Timeline panel menu and choose Make Frames From Layers.
Play the animation to check the order. If it runs backward, choose Reverse Frames from the Timeline menu. This is the frame-assembly workflow in Adobe's animated GIF tutorial.
Choose a step to see how the animation is assembled.
Prepare clear backgrounds in every source image.
Illustration with three prepared frames.
Set the frame order and timing before export. Transparency preserves the clear areas prepared in the source frames.
If you already built a frame animation in a layered document, keep its existing frames rather than making a second set from all layers. Step through the Timeline and confirm that each frame shows the intended layers.
3. Set the timing and loop
Select the frames you want to change, then click the delay value beneath a selected frame. Choose a delay or Other to enter one. A value of 0.1 seconds displays that frame for one tenth of a second; use a longer delay for a deliberate pause.
The delay setting applies to all selected frames. Select every frame before applying a uniform delay, or select individual frames to keep different timings.
Choose Forever in the Timeline's loop menu if you want continuous playback. Otherwise select the repeat behavior your design needs. Play the full cycle, checking for a background that reappears or an unexpected pause.
4. Export an animated GIF with transparency
Choose File → Export → Save for Web (Legacy). In the export dialog:
- Select GIF as the format. Start with up to 256 colors, then reduce the palette only if the preview still looks good.
- Enable Transparency. This preserves clear areas in the source frames.
- Choose Matte: None when the GIF needs to work over different backgrounds. For a fixed background, a matching matte color can blend edge pixels into that color, but the edge may show a halo elsewhere.
- Set the output dimensions and confirm Looping Options.
- Use Preview, then Save the GIF. Keep the layered document so you can revise the frames later.
The GIF transparency and matte settings change how clear and partly clear pixels are exported. They cannot remove a background that is still painted into the source image.
Check the downloaded GIF on light and dark backgrounds
Open the saved file where you intend to use it. For a quick check, place it on a test webpage or import it above a solid-color layer in an editor that accepts animated GIFs.
- Try a light and a dark background. Both colors should show through the removed area. Inspect the subject too: a hole through white clothing or lettering may disappear against white.
- Play a complete cycle. Check a moving hand, the final frame, and the return to the first frame. Look for trails or an opaque background that appears partway through.
- Inspect at the final display size. Zoom in to diagnose an edge, then judge it at the size your audience will see. Make sure resizing has not made fine details unreadable.
Why transparent GIF edges can look rough
GIF transparency is on or off: a pixel is fully transparent or fully opaque. It cannot preserve the gradual opacity used by soft hair edges, faded artwork, or translucent shadows. That is why a genuinely transparent GIF can still have a hard outline.
Change the highlighted samples to see the difference.
Soft transparency
An edge can fade gradually.
GIF
Each pixel is clear or solid.
Each square represents an image pixel.
A clear background can survive GIF export while soft edges become harder. The real export below shows why that can matter.
In a same-source format comparison, we converted a real transparent clip to GIF and compared matching frames over white and dark backgrounds. The GIF kept the motion, but the fading hair edge became a harder cutout. The alpha WebM kept gradual transparency. GIF's smaller color palette also affects appearance, so every visible difference is not an alpha problem.

Same source and same frame, enlarged for inspection. GIF also changes the color palette; judge the result again at your final display size.
Keep a clean, mostly opaque subject edge when GIF is required. For a known background color, a matching matte can soften the transition into that color. If the GIF will sit over several different backgrounds, avoid relying on a white matte to hide the edge.
When to choose transparent WebM instead
Choose an alpha WebM when preserving a softer edge matters and the receiving webpage or application supports it. Alpha is the transparency information in the file; a .webm extension by itself does not mean the video contains it.
| Requirement | Better starting point |
|---|---|
| The destination specifically asks for a GIF | Transparent GIF, checked at its final size |
| A webpage needs softer hair edges or gradual opacity | Transparent WebM, where supported |
| Another video editor needs an editable transparent master | An alpha-capable format accepted by that editor; compare ProRes 4444 and 422 before choosing a ProRes export |
Transparent WebM keeps softer edges, but its transparent background is not supported in Safari. Use GIF when Safari support matters more than soft edges.
Fix common transparent GIF problems
| What you see | What to do first |
|---|---|
| A white or black rectangle remains | Check that every source frame has transparency, then confirm Transparency in the GIF export. Reopen over another color to distinguish an opaque rectangle from the viewer's background |
| White lettering or pale clothing disappears | Reduce tolerance; if the foreground exactly matches the removed color, switch to masking or a method suited to that subject |
| A pale halo appears on dark backgrounds | Check for a white matte or pale pixels left from the old background. Try Matte: None for varied backgrounds, then inspect the actual edge |
| Old positions leave trails | In Ezgif, try unoptimize with don't stack frames enabled. In Photoshop, check frame disposal if you optimized the animation |
| The saved GIF does not move | Confirm that the Timeline contains multiple frames and that you exported an animated GIF rather than a still image |
| WebM plays but the background is opaque | Check that the file contains alpha and that the receiving browser or editor supports that alpha codec |
When using Photoshop's Redundant Pixel Removal optimization, set the frame disposal method to Automatic, as described in Adobe's animation optimization instructions. Check the saved cycle again after changing optimization; frame disposal controls how old pixels are cleared between frames.
Starting from green-screen video? Our Premiere Pro green-screen tutorial and DaVinci Resolve green-screen tutorial cover removing the screen before preparing your animation.
Finish one short export, put it over the destination background, and play it through once. If the subject, edges, and loop look right there, use the same settings for the rest of the animation.
Image credits
- Dice PNG: PNG transparency demonstration 1 by Daniel G., Ed g2s, and CyberShadow, CC BY-SA 3.0. The checkerboard display adds a backdrop and labels and is shared under the same license; the downloadable PNG is unchanged.
- Hair-edge comparison: adapted from Woman Talking In Front of Camera by Antoni Shkraba under the Pexels License, with background removal, format conversion, cropping, and labels.
Author
Categories
More Posts

What Is a Green Screen? How It Works, Uses, and Setup
Learn what a green screen does, how chroma keying replaces a background, what you need to get started, and how to fix common problems—with a real footage example.

ProRes 4444 vs 422: Quality, Alpha, and File Size
Compare ProRes 4444 vs 422 for image quality, alpha channels, and file size. Choose an editing or transparent handoff format without wasting storage.

How to Remove a Green Screen in Premiere Pro (2026 Guide)
Learn how to remove a green screen in Premiere Pro with this 2026 guide to Ultra Key. Clean up edges and green spill, add a new background, or export a transparent ProRes 4444 clip.