Remove the background from any photo in one command
Cancel the remove.bg credits and the Canva Pro trial. rembg cuts out product shots, thumbnails and profile pics on your own laptop, a whole folder at a time, and your photos never get uploaded.
- Real speed and quality numbers for four models, so you pick the right one for each job
- 8GB of RAM minimum, 16GB recommended
- About 1GB of free disk space (0.5GB for the tool, 224MB for the model you start with), or 2GB if you also try the biggest model
- uv installed. It's a small, official tool that installs Python apps cleanly. Level 0 shows you how, or see step 1.
Install rembg
One command installs rembg in its own sealed box, so it can't break anything else on your PC.
rembg is a free, open-source tool by Daniel Gatis (github.com/danielgatis/rembg ↗, MIT licence). It uses AI models to find the subject of a photo and delete everything else.
We install it with uv. If you don't have uv yet, install it first, then open a new terminal:
Windows (only if you don't have uv)winget install --id astral-sh.uv -eMac / Linux (only if you don't have uv)brew install uv # or, without Homebrew: curl -LsSf https://astral.sh/uv/install.sh | shNow install rembg. The
--python 3.13part matters: rembg's docs list Python 3.11 to 3.13 as supported, and uv fetches the right version for you, even if your PC has a newer one.Terminaluv tool install "rembg[cpu,cli]" --python 3.13Output... + uvicorn==0.40.0 + watchdog==6.0.0 + yarl==1.25.1 Installed 1 executable: rembgIt takes about a minute and uses 502MB of disk. Check it worked:
Terminalrembg --versionOutputrembg, version 2.0.85
rembg --version prints a version number.If it breaks'rembg' is not recognised + 1 more
'rembg' is not recognised
uv tool update-shell, close the terminal, open a new one and try again.You have an NVIDIA graphics card and want more speed
cpu for gpu in the install command. All the timings in this mission are from a laptop with no graphics card, so expect yours to be much faster.