Remove Background
An AI segmentation model traces the subject and turns every other pixel transparent.
What this does
Remove Background runs the RMBG-1.4 segmentation model directly in your browser through Transformers.js — your image is never uploaded to a server.
The first time you drop an image, the model (~44MB) downloads from the Hugging Face CDN and is cached, so later images start instantly. Inference runs in a background worker, so the page stays responsive while it works. Links to the model and library are below.
How it works
- 1Drop your image.
- 2The first time, the background-removal model downloads once (~44MB) and is cached for next time.
- 3Pick a transparent, white, or custom background and download the PNG.
Built with open source
- Transformers.js — Hugging Face's library for running ONNX machine-learning models in the browser, on WebGPU or WebAssembly. The model weights download from the Hugging Face CDN on first use and are cached. · Apache-2.0
- RMBG-1.4 (BRIA AI) — Image-segmentation model that separates the foreground subject from the background. · Non-commercial
Frequently asked questions
Related tools
All Edit image →Resize ImageResize an image to any width and height. Lock the aspect ratio so nothing stretches.Image UpscalerUpscale an image 2× or 4× in your browser with an AI super-resolution model. Sharper than plain resizing.Crop ImageCrop an image by dragging a box around the exact part you want to keep.Blur BackgroundBlur the background of an image while keeping the subject sharp. Runs entirely in your browser.Pixelate ImagePixelate an image by averaging it into square blocks. You set the block size.Grayscale ImageConvert an image to grayscale, mapping each pixel to its luminance.
