How it works
- Load your GIF. Drop it in, pick it, paste it, or keep the built-in sample. Its frames, dimensions, delays and loop setting are read and shown before anything changes.
- Choose the fade. Pick a mode (in, out, in and out, or away), set each length in seconds, and choose the shape of the ramp. The tool converts seconds into frames using the GIF's real frame delays, and shows both numbers, so a GIF whose frames last different lengths still fades evenly in time.
- Pick the matte and the colours. Colour fades blend toward the matte, so choose the colour your GIF will sit on. The output palette is built from the faded frames across the whole ramp, which is what keeps the in-between steps of the fade smooth.
- Download. The tool encodes a new GIF with the original delays and loop, then re-reads the file and checks its dimensions, frame count, every delay and the loop before the download appears.
The honest notes
- A GIF has no half-transparent pixel. Every pixel in a GIF is fully transparent or fully solid; there is no see-through halfway step. So a colour fade cannot truly fade the picture's opacity. Instead, each frame is blended a little further between the matte colour and the real picture, the way a film dissolve works, and on a surface that matches the matte it reads as a true fade.
- Colour fades are matte blends, so pick the matte your GIF will sit on. Fade out to black is seamless on a dark page and a visible dark wash on a white one. Black and white are one click each; the picker takes any other colour. Where your GIF is itself transparent, those pixels stay transparent through the whole ramp, so a cutout keeps its see-through shape while its solid parts fade.
- Fade away is dithered into binary transparency. It is the one mode that really changes transparency, and it does it the only way the format allows: as the fade progresses, more and more pixels switch fully off, spread by an ordered dither so the dissolve reads as gradual rather than blotchy. Soft edges can look slightly different after re-encoding, because a soft edge is exactly what binary transparency cannot store.
- The 256-colour palette can band a long ramp. A slow fade invents colours that exist in no source frame, and all of them have to share the GIF's 256 palette slots with the picture itself. This tool builds the palette across the whole fade so the ramp's steps get slots too, and dithering smooths what is left; a very long fade over a subtle gradient can still show steps. Shortening the fade or raising the colour count is the remedy, and both are controls above, not fine print.
- A fade-in on a looping GIF restarts from the matte each loop. That is the correct behaviour, not a bug: the loop point is a cut back to frame one, and frame one is the matte. If you want the loop point itself to dissolve, use Fade in and out with equal lengths, so the end of one loop fades out exactly where the start of the next fades in.
- The fade is baked in. It becomes part of the GIF's frames, which is the point, and it also means there is no un-fade later. Keep your original GIF if you might want a version without it.
Limits, stated up front
- Your GIF: up to 50 MB, 600 frames and 48 million decoded pixels in total (a 1920 × 1080 GIF can therefore hold about 23 frames).
- One GIF at a time, and the fade applies to the whole picture. This page has no second file, no layers and no text; putting a picture or words over a GIF is the Add Image to GIF and Add Caption to GIF tools' job.
- Fade lengths run from 0.10 s up to the GIF's own length, and a fade in and a fade out together cannot be longer than the GIF. The tool says so when it happens instead of quietly shortening your fade.
A worked example, measured
The built-in sample is a 320 × 200 GIF with 12 frames playing 1.20 s per loop (12.6 KB), with uneven frame delays on purpose. Left at the tool's opening settings (fade out to black over 0.60 s, linear, 256 colours, dithering on), the download came out at 12.9 KB using 128 colours. The fade covers the last 6 frames, because 0.60 s counted through the sample's real delays lands on 6 frames, and the final frame is solid black while every delay and the loop came through unchanged. The same sample in the Fade away mode over the same 0.60 s came out at 16.8 KB using 24 colours, and its last frame is 100% transparent pixels, the dissolve complete. Both numbers are the sizes of the actual files those runs produced, and both files were re-read and checked by the tool before the downloads appeared.
Questions people ask about fading a GIF
How do I fade a GIF in?
Load your GIF above, choose the Fade in mode, and set the fade-in length in seconds; the tool shows how many frames that covers, worked out from the GIF's own frame delays. The first frame starts as a solid block of the matte colour and each frame after it mixes in more of the picture, until the fade ends and the rest of the GIF plays untouched. A fade-in of about half a second to a second suits most GIFs. Because the GIF loops, the fade-in starts again from the matte colour on every loop.
How do I fade a GIF out?
Choose the Fade out mode and set the fade-out length in seconds. The tool leaves the GIF untouched until the fade begins, then mixes each frame a little further toward the matte colour, so the last frame on screen is fully the matte. Pick the matte your GIF will sit on: black for a dark page, white for a light one, or any colour with the picker. If you want the GIF to disappear rather than turn into a colour, use the Fade away mode instead, which dissolves it into transparency.
Can I make a GIF fade in and out?
Yes. The Fade in and out mode applies both ramps to the same GIF, each with its own length. If the two lengths are equal, the fade-out lands exactly where the fade-in begins on the next loop, so a looping GIF breathes in and out without a hard cut at the loop point. The two lengths together cannot be longer than the GIF itself, because the picture would never fully appear; the tool says so rather than quietly shortening your fade.
Can I fade a GIF to black or white, or to a colour of my own?
Yes. Black and white are one click each next to the colour picker, and the picker itself accepts any colour. The matte matters because a colour fade is a blend toward that colour: the fade looks seamless when the matte matches the surface the GIF will be shown on, and looks like a deliberate colour wash when it does not. A cutout GIF with transparent parts keeps them transparent through the fade; only its solid pixels blend.
How does a fade-in work in a GIF, which has no real transparency ramp?
A GIF pixel is either transparent or fully solid, so there is no see-through halfway step to ramp through. A colour fade therefore works the way a film dissolve to black works: each frame is mixed a little further from the matte colour toward the real picture, and on a surface the matte matches, it reads as the picture appearing. The one mode that truly changes transparency, Fade away, spreads the in-between steps across pixels instead: more and more pixels switch off as the fade progresses, an ordered dither, so the dissolve still reads as gradual even though every pixel is simply on or off.
Does the fade change my GIF timing, size, or looping?
The timing and looping, no: every frame keeps its original delay and the loop setting is copied exactly, and before the download appears the tool re-reads the finished file and checks its dimensions, frame count, every delay and the loop against the original. The file size usually changes, because faded frames contain colours the original never used and compress differently; the status line after each build states the exact before and after sizes. If the result is too big, the GIF Compressor is the follow-up step.
Are my files uploaded to a server?
No. Your GIF is decoded, faded and re-encoded by JavaScript running in your own browser tab, and the download is generated on your device. Nothing is sent to a server, which you can confirm by loading this page and then switching off your network: the tool keeps working.
Related tools
Fading a GIF is usually one step in a longer job. These MotionGIF tools cover the steps that tend to come before or after it:
GIF Speed Changer
Change how fast the GIF plays before or after you fade it, by rewriting its frame timing or merging frames.
Open the tool →Add Image to GIF
Put a logo, watermark or picture over the GIF once it fades the way you want, with its own opacity and frame range.
Open the tool →GIF Compressor
Make the faded GIF smaller while it stays a GIF, with a target file size mode for strict upload limits.
Open the tool →GIF Frame Viewer
Step through the faded GIF frame by frame and inspect exactly where the ramp starts, deepens and ends.
Open the tool →