Guide
How to make a GIF transparent (without ugly edges)
GIF transparency is on or off per pixel. Use a matte and an alpha threshold so the edge matches the background.
1 min read · Updated October 9, 2026 · Transparent GIF maker
GIF transparency is 1-bit
A GIF pixel is fully opaque or fully clear. There is no 40% opacity. Soft edges from a photo or a video matte have to be pushed one way or the other. That decision is the alpha threshold.
If you leave the half-transparent pixels opaque, you see a halo of the old background. If you clear too many, the subject gets bitten into. The transparent GIF maker puts that slider in front of you instead of guessing silently.
Set a matte for the destination
The pixels you keep at the edge still carry a little of the old backdrop. A matte recolors that fringe toward the background you will place the GIF on: light, dark, or a custom color.
Preview on a checkerboard to see holes, then preview on a color close to the real page. The checkerboard must not be baked into the file. If you can see squares in the exported GIF, transparency was off.
When a color key is the wrong tool
Keying works on a flat wall, a greenscreen, or a solid page. It fails on hair in front of a street. Raising tolerance until the street disappears will also delete the hair.
That is the case for per-frame segmentation, loaded only if you ask. It is heavier, and it still ends in a 1-bit mask, so the threshold and matte still matter.