rembg
Open-source MIT command-line and Python tool for removing image backgrounds
- #3 of 9 in best background removers
- Free and open source
- Free to use
- Open source
- Command line
Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.
Ranked 3 of 9 in best background removers
Open-source MIT tool that removes backgrounds on your own computer from the command line or Python code. Unlike the web services, it needs a Python setup, and its README documents only command-line and library use.
Best for Developers who need offline, scripted background removal
About rembg
rembg runs a background-removal model on an image file you point it at, and it can be used as a command-line program or imported as a Python library. The README covers CPU installation and GPU support for NVIDIA and AMD hardware, and it describes choosing an edge mode for the cutout. Because the work happens on your machine, the photo does not have to be uploaded to a server.
The trade-off is setup. A user needs a Python environment and the model files, and the tool is aimed at people who script image work or process many files in a pipeline. The README documents command-line and library use only, so someone who wants to click and drop a photo should pick a web tool such as Photopea or fixmint* instead.
Key features
- Command line and Python library
- CPU and GPU support
- Choice of edge mode
- MIT license
Strengths
- Runs on your own computer, with no upload
- Usable from the command line or from Python code
- MIT license with CPU and GPU options
Limits
- Needs a Python setup before first use
- The README documents command-line and library use only
Where rembg ranks
How rembg compares
| Product | Score | Price | Platforms | Where the cutout runs | Interface | Output options |
|---|---|---|---|---|---|---|
| #1 | 92.0 | Free plan, paid upgrades | Web | Uploaded to remove.bg's servers | Web upload, API and Photoshop extension | Transparent PNG or white background |
| #2 | 87.0 | Free plan, paid upgrades | Web | Not stated on the pages checked | Web tool, API and batch processing | Downloadable image; format not stated |
| #3rembg | 85.5 | Free and open source | Command line | On your own computer | Command line and Python library | Not stated on the pages checked |
| #4 | 83.5 | Free plan, paid upgrades | WebWindowsmacOSiOSAndroid | Not stated on the pages checked | Option in the photo editor | Not stated on the pages checked |
| #5 | 70.0 | Free | Web | In the browser; not uploaded | Single-purpose web tool | Transparent, white, colour or blur |
The full comparison table for best background removers has all 9 products.
Questions about rembg
- Is rembg free?
- rembg can be used without paying: Free and open source under the MIT license. Check the vendor’s pricing page for current limits.
- Is rembg open source?
- Yes. rembg publishes its source code under the MIT license.
- Which platforms does rembg support?
- rembg is available on: Command line.
- What is rembg best for?
- Developers who need offline, scripted background removal. In our ranking of background removers it is number 3 of 9 with a score of 85.5.
Show this ranking on your site
If you make or maintain rembg, this badge links back to this page and shows its current rank. It updates when the ranking does.
<a href="https://listme.name/software/rembg"><img src="https://listme.name/badge/rembg.svg" height="28" alt="Ranked #3 of 9 background removers on listme.name"></a>Made by, or connected to, the publisher of this site or people the publisher works with. Listed on the same criteria as everything else, with the lift described in How we rank and Disclosure.


