Remove background from GIF

Make an animated GIF transparent frame by frame, keep its timing and loop, and download it as a new GIF. Nothing is uploaded.

Drop a GIF to remove its backgroundChoose a GIF to remove its background

Animated or still. Works best on a solid background color.

Try one:

How to remove the background from a GIF

  1. Drop your GIF into the box above, or choose it from your device.
  2. Check the background color the tool found along the edges; click Pick from the GIF to choose another.
  3. Raise the tolerance if a rim of background stays, lower it if parts of the subject disappear.
  4. Keep Only remove background that touches the edges on to protect matching colors inside the subject.
  5. Watch the preview loop, then select Download GIF.

Drop an animated GIF into the box above and every frame loses its background. The tool finds the background color along the edges, clears it from each frame, and plays the result over a checkerboard so you can see what is now transparent. The new GIF keeps each frame's timing and the loop setting, and everything happens in your browser: the GIF is never uploaded, and there is no signup or watermark.

Which GIFs it works on

This tool removes a background color, frame by frame. That suits most GIFs made as graphics:

It does not work on filmed footage, such as a clip from a movie or a phone video turned into a GIF. There the background is a real scene with many colors, and separating a person from it needs a cutout of every frame. For still photos, the AI background remover finds the subject instead of a color.

How the background color is found

When the GIF opens, the tool looks at the pixels along the edges of the first frame and takes the most common color as the background. The swatch shows the color it chose. If it picked the wrong one, for example because the subject touches the edge, select Pick from the GIF and click the background in the preview.

Tolerance decides how close a color has to be to the background to count as background. GIFs often have slight shade variations, dithering or compression noise around the subject, so a small tolerance usually works best. Raise it a step at a time if a rim or speckles of background remain; lower it if parts of the subject start to vanish.

Only the background that touches the edges

With Only remove background that touches the edges on, the tool clears background-colored pixels only where they connect to the edge of the frame, the way a paint bucket fills from outside in. A cartoon face on white keeps the white of its eyes and teeth, because those areas are enclosed by the outline.

Turn it off to remove the background color everywhere, including gaps enclosed by the subject, such as the inside of a letter O or the space between an arm and a body. The preview updates as soon as you change a setting.

Why GIF edges look sharp

A GIF stores transparency as on or off: each pixel is either fully see-through or fully solid. There are no partly transparent pixels, so the soft, blended edge of a drawing ends up either kept or removed. On a GIF made on white, the kept edge pixels can form a faint light rim when you place the result on a dark background. Raise the tolerance slightly to trim it, or make the GIF on a background close to where it will be shown.

For the same reason, a still image with fine hair or soft shadows looks better as a PNG, which keeps partial transparency. What a transparent background is compares the formats.

Timing, loops and file size

Every frame keeps its display time, so the animation runs at the original speed, and the loop setting is copied as it was. The new GIF stores each frame whole with its own colors, which keeps the result simple and reliable; its file size can end up larger or smaller than the original, and the tool shows the size after saving.

Limits keep the tool fast on phones and laptops: files up to 25 MB, and up to 20 megapixels across all frames. For a long or large GIF, trim frames or reduce its size in an editor first. To edit frames one at a time in another app, the GIF to PNG converter saves every frame as a separate PNG.

For a GIF on a black or a white background, the remove black background and remove white background pages explain more about working with those colors in still images.

Frequently asked questions

Does it work on any GIF?

It works on GIFs whose background is one solid or near-solid color, such as stickers, emotes, reactions, logos and pixel art. It removes a color, so it cannot separate a person from a real filmed scene like a movie clip.

Does the GIF keep its animation speed and looping?

Yes. Every frame keeps its own display time, and the new GIF keeps the original's loop setting, whether it repeats forever, a set number of times or plays once.

Why do the edges look jagged?

A GIF pixel can only be fully see-through or fully solid, with nothing in between. Soft, blended edges therefore come out crisp, and a thin rim of the old background can remain; raise the tolerance a little to clear it.

Is my GIF uploaded?

No. The GIF is opened, cleared and saved inside your browser tab, so it never leaves your device, and the tool is free with no signup.

How large a GIF can it handle?

Files up to 25 MB, with up to 20 megapixels across all frames, for example 100 frames of 400 × 500 pixels. Longer or larger GIFs need trimming first.

Can I remove the background from a still image instead?

Yes, and the AI background remover does it better for photos, because it finds the subject rather than a single color. For a still GIF, a PNG cutout keeps soft edges.