★ Every tool runs 100% in your browser. Nothing is uploaded, ever

Edit

GIF Fade Effect

Drop in a GIF and give it a fade: in from a colour, out to a colour, in and out, or away into transparency. The fade is timed from the GIF's real frame delays, so uneven animations fade evenly, the preview plays the actual faded frames, and the download keeps every frame's delay and the loop exactly as they were. Everything runs in your browser; nothing is uploaded.

Your GIF and the fade

The GIF

Drop a GIF here or

You can also paste a GIF copied from elsewhere. It never leaves this tab.

Fade mode

One GIF, one fade. The colour modes blend toward the matte colour below; Fade away dissolves the picture into transparency instead.

Frames it covers will show here.

Frames it covers will show here.

The Fade away mode uses this length too: it is how long the dissolve at the end takes.

The shape changes how the blend is spread over the fade's frames, never how long the fade lasts.

The colour the fade blends toward.

The palette is built across the whole fade, so the in-between colours of the ramp get slots too. Fewer colours means a smaller file and a greater chance of visible bands on a long fade.

Dithering spreads the palette's rounding error across neighbouring pixels, which makes long, slow fades look smoother at the same colour count.

Preview and download

The preview will appear here.

First frame

Middle frame

Last frame

The stills are the first, middle and last frames of the faded result, labelled with how much of the fade each one carries, so the effect is visible without pressing play.

The preview plays the faded frames at the GIF's own delays, and after a download is built it plays the actual output file, so what you see playing is exactly what was saved.

How it works

  1. 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.
  2. 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.
  3. 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.
  4. 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

Limits, stated up front

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:

Browse all MotionGIF tools →