BG0: free, unlimited background removal right in your browser
By Pull This RepoPosted 5 min read
Short answer
BG0 is a free, Apache-2.0 background remover that runs the AI model inside your browser tab. Drop in a photo at bg0.dev and you get a transparent PNG back, with no upload, no account and no limit on images. The first run downloads the model once, 452 MiB for Full or 94 MiB for Lite, and without a graphics card each photo can take up to a minute.
BG0 is a free, open source background remover that runs inside your browser tab. You drop in a photo, an AI model runs on your own computer, and you get a transparent PNG back. Nothing is uploaded, there is no account, and there is no limit on how many images you process. We used the hosted site to cut out four real photos, so the timings below are ours.
What is BG0?
BG0 ("background to zero") is an open source project from opencoredev, licensed under Apache 2.0. It runs the BiRefNet segmentation model in the browser, using WebGPU when your graphics card supports it and falling back to WebAssembly on the CPU when it does not. The repo was created on 14 September 2026 and had 496 stars when we checked on 18 November 2026.
From the README and docs:
- Runs locally. Images and derived pixels stay in browser memory.
- No account, API key, billing or usage limit.
- Accepts PNG, JPG, WebP, HEIC and HEIF, up to 60 MB per image.
- Outputs a transparent PNG, named after your file with a
-bg0suffix, to download or copy to the clipboard. - A compare view with a draggable before and after line, plus Result and Original tabs.
Why are people looking for a remove.bg alternative?
Because remove.bg's standalone site is closing. When we read remove.bg's home and pricing pages on 15 November 2026, both carried a banner saying its background removal is moving to Canva and that the standalone website will no longer be available from 1 December 2026 at 9:00am CET. If you used it for quick cutouts, BG0 does the same core job for free.
How do you remove a background with BG0?
Open bg0.dev in a modern browser and drop a photo on the page. The full flow:
- Pick a model under the drop zone. Auto chooses for your device. Lite is a 94 MiB download; Full is 452 MiB and gives the cleanest edges. On a slow connection, pick Lite.
- Add a photo. Drag it anywhere on the page, paste with Ctrl+V (Cmd+V on a Mac), or press Ctrl+O to choose a file.
- Wait for the first model download. The site says it is usually a one-time download, so later runs are faster. You can click Switch to Lite mid-download.
- Check the edges. Drag the compare line across the subject, or hold Space to peek at the original.
- Save it. Ctrl+S downloads the PNG, Ctrl+C copies it for pasting into a design tool or a chat, and Esc clears the page for the next image.
The model is cached in your browser, so later visits skip the download. Private windows, clearing site data or a full disk can make it download again.
How fast is BG0?
It depends on your hardware. Our run used the Full model in a browser with no GPU acceleration, so BG0 fell back to WebAssembly:
| Photo | Size | Time shown by BG0 |
|---|---|---|
| Border collie on grass (first run, includes the model download) | 1280 x 1920 | 31.7 s |
| Macaw on a branch | 1600 x 1354 | 10.6 s |
| Red teapot and mug | 1000 x 820 | 21.9 s |
| Cat (the project's sample photo) | 768 x 512 | 30.5 s |
On a CPU-only run, the site itself warns that it "can take a minute". With a graphics card that supports WebGPU it should be much faster, but we did not test that.
Edge quality on fur and hair depends on the photo. Subjects that contrast with their background cut out cleanest, so drag the compare line over the edges before you use a result.
Can you add BG0 to your own site?
Yes. The engine ships as an npm package, @bg0/browser, so a web app can offer background removal with no server and no API bill. Install it:
npm i @bg0/browserThen pass it any image Blob, for example from a file input:
import { removeBackground } from '@bg0/browser'
const result = await removeBackground(file, {
quality: 'quality',
onProgress: ({ progress, message }) => console.log(progress, message),
})
const url = URL.createObjectURL(result.blob)The result carries the PNG blob, its width and height, which provider ran (webgpu or wasm), which model ran and durationMs. The docs add that errors come back with messages written for end users, that getBrowserCapabilities() tells you whether WebGPU is available, and that on iPhone and iPad the library uses the lite model and caps output at 1280 px on the longest side.
To run the whole site yourself, install Bun 1.4, then:
bun install --frozen-lockfile
bun run devThe web app starts on port 3000 and the docs on port 4321.
What is the catch?
- A big first download. Full is 452 MiB, almost half a gigabyte. Lite is 94 MiB.
- Slow without a graphics card. CPU-only runs took us 10 to 32 seconds per photo.
- It is young. About two months old, with no tagged releases on GitHub.
- Model licences are separate. The code is Apache 2.0, but model weights keep their own licences, listed in the repo's
THIRD_PARTY_NOTICES.md.
How does BG0 compare with other free background removers?
| Tool | What it is | Best for |
|---|---|---|
| BG0 | in-browser web app and npm library, Apache 2.0 | private one-off cutouts with nothing to install |
| rembg | Python command line tool and library, MIT | batch jobs, such as a folder of product photos |
| backgroundremover | command line tool, MIT | videos as well as images |
| background-removal-js | in-browser library by IMG.LY, AGPL-3.0 | another browser option; check the licence before closed-source use |
BG0's cutouts come from BiRefNet, an MIT-licensed research model you can also run in Python.
Who is BG0 for?
It suits anyone who needs quick product shots, profile pictures or design assets, and especially work you would rather not upload: private photos, unreleased products or client files under NDA. Developers who want background removal in their own app without an API bill get the library too.
For more free image and design tools, see FigCraft, an open source Figma alternative, and Kokon, an AI photo editor that also runs on your own computer. If you work in a browser all day, OpenCircle brings circle-to-search to a Windows or Linux PC.
What did we run for the video?
We used the authors' hosted build at bg0.dev in a browser on 15 November 2026 and cut out the four photos above, then downloaded the PNGs with the site's own button. We did not clone, build or run the code ourselves. The library and local setup steps come from the README and docs.
Pull it. Stash it.
Questions people ask
Is BG0 really free and unlimited?
Yes. The README says there is no account, API key, server inference, billing or usage limit, and the code is open source under Apache 2.0. Because the model runs on your own computer, there are no credits to run out of.
Does BG0 upload my photos?
No. The README says images and derived pixels stay in browser memory, and the site says nothing is uploaded. The only download is the AI model itself, which your browser fetches once and caches.
How big is the BG0 model download?
Full BiRefNet is about 452 MiB, roughly 474 MB, and gives the cleanest edges. Lite is about 94 MiB. Auto picks one for your device. You can switch to Lite during the download if your connection is slow.
What happened to remove.bg?
When we read remove.bg's own site on 15 November 2026, its banner said background removal is moving to Canva and the standalone website will no longer be available from 1 December 2026 at 9:00am CET.
Can I add BG0 to my own website?
Yes. The engine is a separate npm package, @bg0/browser. You call removeBackground on any image Blob and get back a transparent PNG, with no server and no API bill.
Sources
- 1bg0 repository and README
- 2BG0 hosted app
- 3BG0 docs (models, shortcuts, library)
- 4GitHub API: opencoredev/bg0 (stars, licence, language, created date, checked 2026-11-18)
- 5remove.bg home page banner (read 2026-11-15)
- 6danielgatis/rembg
- 7nadermx/backgroundremover
- 8imgly/background-removal-js
- 9ZhengPeng7/BiRefNet
More repos like this

shaongitbd/doory
Doory: a free, open source Canva alternative that runs in your browser


artcraft-android/procraft
ProCraft: a free Procreate-style painting app for Android tablets and PCs
Get tomorrow's repo in your feed
One free, open source repo a day as a short video, shown working, with the catch named. Pull it. Stash it.
