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. This tool uses 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 little accuracy for a smaller download: 114.5 MB in the half-precision form this page loads with WebGPU. 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. This tool needs WebGPU. The browser downloads the half-precision ONNX weights (about 115 MB) from the Hugging Face CDN and caches them in the browser's Cache Storage. Drop or pick an image from your device. The tool runs BiRefNet lite directly through transformers.js 3.0.2: your image is resized to the model's fixed 1024 x 1024 input, the model returns a single-channel matte at that size, and the matte is scaled back to your image's own dimensions. The matte is composited against the original image to produce a transparent-background PNG, which appears below the input with a download button. For a flat, single-color background the color-based Background Remover is quicker and needs no download; for busy backgrounds and complex edges such as long hair, fur or leaves, a segmentation model like this one is the better fit. 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
What size is the BiRefNet lite model?+
The ONNX files on Hugging Face are 114.5 MB in half precision (fp16) and 224 MB in full precision. This tool runs only with WebGPU, where it loads the 114.5 MB fp16 file once and the browser keeps it in Cache Storage. There is no smaller quantized version of this model. We tested the WebAssembly route for browsers without WebGPU: the 224 MB full-precision file at the model's fixed 1024 x 1024 input needed more than 3 GB of memory and was stopped for running out of memory on a 3 GB test machine (ONNX Runtime, CPU, one thread), so that route is not offered.
Does my image get uploaded for background removal?+
No. After the model finishes downloading on first use, every background removal runs entirely in your browser. The image you pick stays on your device and is never sent to our servers or to a third-party API.
How does this compare to the existing UDT background remover?+
The other Background Remover on this site uses no model: you click a background color and it removes the connected pixels within a tolerance (a flood fill). It is instant, downloads nothing and works in any browser, and it suits flat or studio backgrounds. BiRefNet lite segments the subject itself, so it copes with busy backgrounds, hair and fur, at the cost of a 114.5 MB download and a WebGPU requirement.
What license does BiRefNet use?+
MIT, both for the original BiRefNet_lite weights (ZhengPeng7 on Hugging Face) and for the ONNX conversion this page loads (onnx-community/BiRefNet_lite-ONNX). MIT permits commercial use, modification and redistribution.
What kinds of subjects does it work well on?+
People, products, animals, plants, vehicles, furniture, food, and most everyday objects against a wider variety of backgrounds. It also handles complex edges like hair, fur, leaves, and translucent fabric noticeably better than portrait-only tools.
Are there input image size limits?+
The model resizes inputs to 1024 by 1024 internally before inference, then upscales the resulting matte to match the original image dimensions. Inputs of any reasonable size work; very large inputs (over about 4000 pixels on the longest side) use more memory and may run slowly on phones.
Why does the first removal take longer than later ones?+
The first run downloads the model (about 115 MB) and warms it up on the GPU; later runs reuse the cached model and are much faster.
Can I batch-process multiple images?+
Not in the current UI — drag and drop processes one image at a time. The model itself supports batched inference, and adding a queue is on the v35 roadmap. For now, removing the background from a few dozen images means running them through one at a time.
Built by Derek Giordano · Part of Ultimate Design Tools
Privacy Policy · Terms of Service