AI Background Remover v2
Remove backgrounds from any image — people, products, pets, objects — directly in your browser. BiRefNet lite is a general-purpose dichotomous image segmentation model, a substantial step up from portrait-only background tools.
Why an AI Tool That Runs In Your Browser
Most browser background removers are portrait-focused. They handle headshots well and struggle with everything else — a coffee mug picks up edges of the table, a cat keeps the chair behind it, a sneaker comes out with a halo where the floor meets the sole. The existing UDT MediaPipe-based tool is in that bucket: fast and reliable for selfies, frustrating for anything else. This tool replaces it for general use with BiRefNet lite, a bilateral reference network from Peng Zheng and collaborators that handles dichotomous image segmentation — the catch-all category covering general subject extraction, salient object detection, and camouflaged object detection. The lite variant trades a small amount of accuracy for a 339 MB to 85 MB (quantized) size that loads in a usable amount of time over a normal home connection. The full BiRefNet model is around a gigabyte and not currently practical for the browser. BiRefNet is released under the MIT license, the upstream model card is from ZhengPeng7 on Hugging Face, and the ONNX weights are mirrored by onnx-community. MIT permits commercial use, modification, and redistribution.
How AI Background Remover v2 Works
Click Load model on first visit. The browser downloads the quantized ONNX weights (about 85 MB) from the Hugging Face CDN and caches them in IndexedDB. Drop or pick an image from your device. The tool runs BiRefNet lite via the transformers.js background-removal pipeline, which produces a single-channel alpha matte at the same resolution as the input (up to a 1024 pixel internal working size). The matte is composited against the original image to produce a transparent-background PNG, which appears below the input with a download button. For complex edges — long hair, fur, leaves, semi-transparent fabric — BiRefNet is markedly better than the older MediaPipe-based tool. For high-volume portrait batch processing where speed matters more than edge quality, the original tool is still faster. Both stay live; this one is the new default for general work. The output is a 32-bit PNG with the alpha channel preserved, ready to drop into any compositing tool. When you need to isolate one specific object rather than the entire foreground, AI Smart Cutout lets you click the exact subject and export just that.
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools