Who runs this site
BG Remove Tools (bgremove.tools) is operated by Anderson Gomes Ferreira. contact@bgremove.tools
How it works
The cut-out is made by an image segmentation model that runs inside a background thread of the page, on the graphics card through WebGPU when the browser offers it, otherwise on the processor as WebAssembly. Four engines are offered: Low (MODNet, 7 to 26 MB, quickest and best on people), Medium (BEN2 with 8-bit weights, 130 MB), High (the full BEN2, 223 MB) and Ultra (High run on the photo and on its mirror image, with the two masks averaged).
The page checks what the device reports (a usable GPU, how much the GPU accepts in one buffer, the memory the browser reports, phone or computer) and only offers the engines that should fit. If an engine fails anyway, the image is redone with a smaller one and says so; an engine that stopped the page is not offered again during that visit.
The model sees a copy of the photo at its own input size (1,024 × 1,024 for BEN2, 512 pixels on the short side for MODNet). Its mask is then snapped to the edges of the photo (guided filter), optionally softened, cleaned of the old background’s colour along the edge, and applied to the photo at full size: fully opaque pixels keep their original values. Mistakes can be fixed with an erase and restore brush, with undo.
Engines are downloaded once from Hugging Face, at a fixed version, and kept in the browser’s storage; they can be deleted from the tool. The images themselves are never uploaded. Backgrounds, framing, PNG or JPG export and the ZIP of a batch are all made by the browser.
Where the data and rules come from
- BEN2 (MIT) — Medium, High and Ultra engines
- BEN2 with 8-bit weights (MIT) — Medium engine
- MODNet, ONNX build (Apache-2.0) — Low engine
- ONNX Runtime Web (MIT) — Runs the models in the browser
- Guided image filtering (He, Sun and Tang) — Edge refinement method
How we keep the content up to date
The engines are pinned to a fixed version, so the cut-out does not change without notice. Before launch (October 2026) the tool was checked end to end in Chromium on a computer, with the Low, Medium, High and Ultra engines on the GPU and Low and Medium on the processor, on product, car and animal photos.
What this site is not
The model guesses what the subject is. Fine hair, glass, smoke, and subjects that share the colour of the background can come out with rough or missing edges; check the result before you publish it. Official photos (passports, visas, ID cards) usually have their own rules about editing: read them before you use an edited photo.
Get in touch
Found a mistake, have a question or a suggestion? See the channels on the contact.
This page was last reviewed: