rembg
An open-source tool for removing image backgrounds on your own machine.
Why you probably need it
rembg runs locally, so you can strip backgrounds from thousands of images offline and for free. Ideal for batch jobs and developers.
Quick facts
- Free
- Mac, Windows, Linux (Python)
- Open source
- Photo and image
About rembg
rembg is a command-line tool and Python library for removing image backgrounds using AI models like U2-Net. Because it runs entirely on your own machine, there are no upload limits, no per-image costs and no privacy concerns. It is ideal for batch processing — point it at a folder of images and it strips all the backgrounds in one go. Developers can integrate it into their own applications through the Python API. It supports multiple AI models for different quality and speed trade-offs.
Pros & cons
- Free, open-source CLI tool
- Process images locally — no uploads needed
- Batch processing support
- Requires Python and setup
- Quality can vary on complex images
- No graphical interface
Frequently asked questions
Is rembg free?
Yes, rembg is free to use, and you don't need to pay anything to get started.
It's open source, so the core of it isn't going anywhere behind a paywall.
If that ever changes, github.com will have the details.
What are some alternatives to rembg?
Here are other photo and image tools worth a look, depending on what you need:
- Cleanup.pictures: Remove unwanted objects from photos with AI.
- Photoroom: Product photos with clean backgrounds, right from your phone.
- remove.bg: Remove an image background in one click.
- Unscreen: Remove backgrounds from videos and GIFs automatically.
You can compare all 15 on the Photo and image tools page.
Is rembg open source?
Yes, rembg is open source. That means anyone can read the code, report bugs and suggest changes, so you can check how it works instead of taking the maker's word for it.
You might also need
Cleanup.pictures Photo and image Remove unwanted objects from photos with AI. SaaS Free plan
DALL-E Photo and image OpenAI's image generator, built into ChatGPT. SaaS Pay per image
Fotor Photo and image An all-in-one photo editor, collage maker and design tool. SaaS Free plan Maker of rembg? Claim this page