rembg
A command, library and server that cuts the background out of an image on your own machine.
Instead of remove.bg

Screenshot from github.com/danielgatis/rembg, taken 2026-11-17, shown to help you recognise the tool. It belongs to its maker. Ask us to remove it.
Anyone who has tried to trace a head of curly hair with a lasso tool knows why this job was once sold by the picture, and rembg is the free version, a command that takes an image and hands back the same picture with the background gone. The repository describes it as usable from the command line, as a Python library, as an HTTP server or as a Docker container.
rembg scores a 5 on lock-in, a 4 on footprint, power, longevity and delivery and a 3 on self-direction. The code is MIT licensed with copyright held by Daniel Gatis from 2020, and the repository has about 25,300 stars and 562 commits. It needs Python 3.11 to 3.13 and downloads models to a folder in your home directory on first use. It can load U2-Net, IS-Net, several BiRefNet variants and others, and PhotoRoom is listed as a sponsor.
The catch is in the models. The repository says model weights carry their own licences, and the default one, bria-rmbg, needs a paid agreement for commercial use. Two cloud backends, withoutBG and Atlas Cloud, are also supported and send your images to external servers. Using it means a terminal, a folder of pictures and a cutout for each one in seconds.
- A command, Python library or server that cuts backgrounds out of images locally
- MIT licensed, about 25,300 stars, models download on first use
- The default model needs a paid agreement for commercial use
What stands out
Do you make rembg? Get the badge for your site
This badge reports a dated review. It is not a certification and it costs nothing. Link it to this page and leave the numbers alone: the image always shows the current score.
For dark backgrounds, use rembg-dark.svg in place of rembg-light.svg.
Side by side. remove.bg vs rembg
For comparison, we also reviewed remove.bg (13/30) as a benchmark.