{"slug": "remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine", "title": "remove.bg shut down — so I built a free replacement that runs on your own machine", "summary": "A developer built OpenBG, a free, open-source, self-hosted background-removal tool, after remove.bg's standalone site and self-serve API shut down on 1 December 2026 and the service moved behind Canva Pro / Leonardo.Ai. OpenBG runs the MIT-licensed BiRefNet ONNX model locally via Rust and ONNX Runtime, shipping as a single binary with single-image, batch and server modes, and its server is wire-compatible with the remove.bg API so existing code can switch by changing one URL.", "body_md": "If you have ever needed a clean product photo, a profile picture, or a cutout for a design, you have probably used remove.bg. It was one of those small tools that just worked — until it didn't.\n\nOn 1 December 2026, remove.bg's standalone website and self-serve API shut down, and background removal moved behind Canva Pro / Leonardo.Ai. That left a lot of people — developers, designers, sellers, and hobbyists — without the simple, free tool they relied on.\n\nSo I built a replacement: [OpenBG](https://github.com/ViraBuilds/openbg). It is free, open-source, and self-hosted, and it runs entirely on your own machine.\n\nA free tool disappearing behind a paywall is a familiar story. I wanted something that could not be taken away in the same way: no account to create, no API key to buy, no usage counter ticking up in the background, and no images uploaded to someone else's server.\n\nOpenBG is my answer to that. It does one job — remove the background from an image — and it does it locally.\n\nOpenBG runs the MIT-licensed BiRefNet ONNX model fully on your own machine, in Rust + ONNX Runtime. It is a single binary that gives you three tools in one:\n\nIt is free, with no API keys, no signups, and no rate limits. It is MIT-licensed, including the model: it uses BiRefNet-general, unlike rembg's RMBG-2.0, which is not free for commercial use. And because everything runs locally, your images never leave your machine.\n\nYou will need Rust 1.75 or newer. Then clone the repository and build it:\n\n```\ngit clone https://github.com/ViraBuilds/openbg.git\ncd openbg\ncargo build --release\n```\n\nThe first run downloads the ONNX model (about 224 MB) into your user cache directory. After that, you are ready to go.\n\n```\nopenbg remove photo.jpg -o photo-nobg.png\n```\n\nThat is the quickest way to use it: one image in, one transparent PNG out.\n\n```\nopenbg batch ./input_folder -o ./output_folder\n```\n\nBatch mode supports `png`, `jpg`, `jpeg`, `webp`, `bmp`, `tif`, and `tiff` files. Two handy flags are `--recursive`, to walk through subfolders, and `--skip-existing`, to leave files you have already processed alone. This is the mode for product catalogues, photo sets, or any folder that would take forever to process one image at a time.\n\n```\nopenbg serve --port 8080\n```\n\nThis starts a drag-and-drop web demo at `localhost:8080`, and an API you can POST to at `/v1.0/removebg`. Because the server is wire-compatible with the remove.bg API, existing code that used remove.bg can keep working — change one URL and point it at your own server instead.\n\nThat last point is the one I care about most. A lot of small apps and scripts were built around that API. OpenBG is meant to give them a place to go, without a subscription.\n\nIf any of that sounds like you, give it a try and let me know how it goes. Issues and pull requests are welcome on the repository.\n\nYou can also see more of what I am building on [my portfolio](https://virabuilds.github.io/vira-portfolio/).", "url": "https://wpnews.pro/news/remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine", "canonical_source": "https://dev.to/virabuilds/removebg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine-of", "published_at": "2026-11-27 10:37:21+00:00", "updated_at": "2026-11-27 10:46:05.827171+00:00", "lang": "en", "topics": ["ai-tools", "computer-vision", "developer-tools", "ai-products"], "entities": ["remove.bg", "OpenBG", "Canva", "Leonardo.Ai", "BiRefNet", "ONNX Runtime", "Rust", "rembg"], "also_reported_by": [], "takeaway": "OpenBG runs the MIT-licensed BiRefNet ONNX model locally in Rust and exposes a remove.bg wire-compatible endpoint at /v1.0/removebg, so existing remove.bg integrations can migrate by changing one URL.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine", "markdown": "https://wpnews.pro/news/remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine.md", "text": "https://wpnews.pro/news/remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine.txt", "jsonld": "https://wpnews.pro/news/remove-bg-shut-down-so-i-built-a-free-replacement-that-runs-on-your-own-machine.jsonld"}}