rembg logo
Open source Photo and image

rembg

An open-source tool for removing image backgrounds on your own machine.

github.com

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

Pricing
Free
Platforms
Mac, Windows, Linux (Python)
Type
Open source
Category
Photo and image
Best for: Developers needing programmatic background removal

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

Maker of rembg? Claim this page