Offline GIF Editor

GIF Background Remover

Pick a background color, or use the local AI pack to cut out a person. Preview the edges against transparency.

Your browser autosaves files on this device.

0 Bytes Uploaded · On-Device Only · Paste ⌘V · Works Offline (.html) · No Watermark

Related recipes

Explore all 12 recipes →
On-Device U²-Net

AI Portrait Cutout & Blur

Keep the subject and soften or remove the backdrop.

Try recipe
1:1 Alpha · PNG/GIF

Circle Avatar Sticker

Crop a round avatar with transparent corners.

Try recipe
≤ 128 KiB / 256 KB

Discord & Slack Emoji

Fit a looping reaction to a chat emoji limit.

Try recipe
Mockup Frame · 60fps

macOS Product Demo Card

Frame a clip inside a desktop window.

Try recipe

Zero Network Transfer

Watch the Network tab as you edit. Your media stays on this device.

GIF89a Alpha-Safe Engine

The editor respects all three disposal modes to keep transparent frames clear of trails.

Downloadable Single-File App

Save the standalone HTML editor and reopen it on a flight. Optional AI tools use a separate local pack.

Tips, comparisons, and how local GIF editing works

Remove Solid, White, Black, or Green Backgrounds From Any GIF Locally

For a person in front of a busy scene, open AI portrait cutout & background blur in the editor. Download the portrait pack once or load your saved pack offline. The editor selects the subject on every frame, including clothing and objects held close to the body. Preview moving hands, hair and the outline of any held object before exporting. GIF uses binary transparency. Export the selected frame as PNG to keep softer edges.

Look first at the color behind your subject. For a sticker on solid green or a logo on white, the border gives the editor a starting point. A live-action person in front of a bookshelf has no single background color to select.

Apply a color-based edit and inspect several frames on both dark and light backgrounds. Increase tolerance gradually if a narrow fringe remains.

Two Local Removal Modes Built for Real Stickers, Logos & Captures

  1. Edge-Connected Flood-Fill (Default — Protects Interior Whites): Click the background or let the auto-sampler read the four frame corners. A fast breadth-first flood-fill walks inward from the outer perimeter across every frame and stops the moment it encounters contrasting foreground pixels. White eyes, text labels, shiny highlights, and interior shapes stay 100% solid.
  2. Global Chroma-Key (For Closed Loops & Letter Counters): Switch to Global Key when your animation has enclosed background holes — such as the inside of the letter O, space between a character's arms, or floating rings — that do not touch the outer frame border.

Fixing the #1 Transparency Annoyance: Jagged Halos on Dark Mode

Unlike 32-bit PNG or WebP, the GIF89a specification supports only 1-bit binary transparency: a pixel is either fully visible or completely invisible. When an anti-aliased sticker sits on a #FFFFFF white or #00FF00 green canvas, edge pixels blend foreground pigment with background pigment. Removing only exact #00FF00 pixels leaves a glowing neon ring the second you paste that sticker into Discord Dark Mode or a dark Keynote slide.

Our studio includes two tools built specifically for 1-bit GIF boundaries:

  • 1 px Edge Defringe / Despill: Gently erodes or neutralizes boundary pixels adjacent to newly transparent regions so green spill and white dust vanish cleanly.
  • Live Checkerboard / Dark / Light / Custom Slide Preview: Inspect your animation against #1E1F22 (Discord dark), #FFFFFF (Notion light), or checkerboard alpha before hitting export.

Choosing a removal mode

Source Start with Check before exporting
Solid white or green backdrop Edge-connected fill Enclosed details such as white eyes remain visible.
Logo with enclosed background holes Global color key Matching colors inside the subject can disappear.
Pixel art Low tolerance, defringe off Single-pixel outlines remain intact.
People against a moving or detailed background AI portrait cutout Preview the person and nearby objects against the checkerboard. Save a PNG for fine hair edges.

Choosing Tolerance Values Without Chewing Thin Outlines

Picking the right Euclidean RGB tolerance depends on how clean your source backdrop is:

  • Pixel Art & Hard Vector Exports (Tolerance 0–8): Because background pixels share one exact hex value (such as #00FF00 or #FFFFFF), low tolerance strips the backdrop cleanly without softening 1 px dark outlines.
  • Anti-Aliased Canva, Figma & Sticker Exports (Tolerance 18–35 + 1 px Defringe): Smooth curved edges contain blended boundary shades. Pair moderate tolerance with 1 px Edge Defringe and inspect over the Dark Matte preview to verify zero glowing ring remains.
  • Compressed Re-Saved GIFs With Dithered Backdrops (Tolerance 35–55): Older GIFs often carry Floyd-Steinberg speckle patterns across flat backdrops. Raise tolerance gently until checkerboard noise clears, then check interior shadows on frame 1 and frame 10 before exporting.

After stripping your backdrop, verify disposal safety on Transparent GIF Maker, shrink the transparent output under Discord's 256 KB limit in Discord GIF Compressor, or study how 1-bit alpha works in Fixing Transparent GIF Black Backgrounds and Ghosting Trails.

Frequently Asked Questions

Why does Edge-Connected Flood-Fill beat standard global color removal?

A global chroma key deletes every pixel matching your chosen color anywhere on the frame. If you click a white background behind a cartoon mascot or product logo, global keying punches holes through white eyes, teeth, text, or reflections inside the subject. Edge-connected flood-fill starts from the outer perimeter of each frame and stops at subject boundaries, leaving interior whites intact while still allowing optional Global Chroma mode when you want enclosed loops cleared.

How do I eliminate green or white halos around edges on dark mode backgrounds?

GIF transparency is strictly 1-bit (each pixel is either 100% opaque or 100% transparent, with no partial alpha). Anti-aliased stickers blend foreground edges with the original background color, creating bright fringes when pasted onto dark Notion, Slack, or Discord screens. Toggle the Dark Matte Preview below the canvas, raise the Tolerance slider slightly, and turn on 1px Edge Defringe / Despill to clean boundary pixels.

Can this local tool remove complex moving real-life video backgrounds like Unscreen?

Use edge-connected removal on flat backgrounds or global color key when the matching color also appears in enclosed holes. A moving subject against a detailed background usually needs a segmentation tool. This editor offers color-based removal.

Why do other GIF background removers charge credits or require signup while this is free?

The browser performs color matching and defringing on your device, so using this tool requires no account or credits.

Will disconnected moving objects like orbiting stars stay intact when removing a green background?

Yes. Because edge flood-fill expands inward from the four border edges around every foreground island, separate moving pieces such as floating sparkles, text, or orbiting icons keep their solid fill while the backdrop around them turns transparent cleanly.