Remove background from GIF

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

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

Animated or still, on a plain color or any background.

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. For a GIF on one plain color, check the color the tool found, or click Pick from the GIF. For a filmed GIF, choose Any background.
  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. On a sticker, logo or cartoon drawn on one color, the tool clears that color from each frame. On a filmed GIF, with a real scene behind a person, pet or object, it cuts the subject out of every frame instead. The result plays 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.

Two ways to remove the background

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

Any background is for filmed footage, such as a clip from a movie, a reaction GIF of a person, a pet or a product turning. There the background is a real scene with many colors, so the tool cuts the subject out of each frame with the same AI as the video background remover. It works best with one clear subject that stands apart from its surroundings. Each frame is cut out on its own, so fine edges such as hair can flicker slightly between frames. A GIF with more than 100 frames keeps every second or third frame, each holding the time of the frames it replaces, so the animation runs as long as before.

When a GIF opens, the tool looks at the border of its first frame: a border that is mostly one color starts with One color, anything else starts with Any background. You can switch between them at any time. For still photos, the AI background remover keeps soft edges as a PNG.

How the background color is found

With One color, 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 20 megapixels across all frames. A longer or larger GIF opens scaled down evenly to fit, with every frame and its timing kept, and the tool shows its original size next to the new one. To keep a very long GIF at full size, trim frames 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, and the GIF maker puts edited frames back together.

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?

Yes. On a GIF drawn on one solid or near-solid color, such as a sticker, emote, logo or pixel art, One color clears that color exactly. On a filmed GIF, such as a movie clip or a reaction of a person, Any background cuts the subject out of every frame with AI. It works best with one clear subject, and fine edges such as hair can flicker slightly from frame to frame.

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. A long or large GIF opens scaled down evenly until all its frames fit in 20 megapixels, for example 100 frames of 400 × 500 pixels, and every frame keeps its timing. Only a GIF that would end up under 96 pixels on its shorter side needs trimming first. Any background cuts out up to 100 frames; a longer GIF keeps every second or third frame, with the same total timing.

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.