# Background remover

Remove the background from a photo, render or concept art with BiRefNet, an AI model that runs on your GPU in the browser. Transparent PNG out, never uploaded.

- Input: PNG, JPG, WebP
- Output: transparent PNG
- Privacy: everything runs locally in your browser; your files are never uploaded.
- Web page: https://getassetpack.com/tools/background-remover
- All tools: https://getassetpack.com/tools.md

## How to use the background remover

1. Drop a picture, or several: PNG, JPG, WebP, GIF, BMP or TGA. The first time, the model downloads (79 MB); after that it opens from the browser's cache.
2. The model finds the subject and makes its background transparent. Switch between Before and After to check the edges.
3. Keep it transparent, or put a solid colour behind it, and crop the picture to the subject if you need it tight.
4. Download a PNG at the picture's full size, or all of them in a ZIP.

## Questions

### How good are the edges?

The tool uses BiRefNet, one of the best open models for cutting out a subject: it works at 1024 x 1024 and keeps hair, fur and thin parts. The mask is scaled to your picture's own size, and the colours of the picture are left exactly as they were.

### Which subject does it keep?

The most prominent one: a character, an object, an animal in front. Smaller things far behind it are treated as background.

### Which browsers does it work in?

The model runs on the graphics card through WebGPU, about half a second a picture: Chrome and Edge 113 or later, Safari 26, and Firefox 141 or later on Windows. It does not fit in a browser's memory on the processor, so a browser without WebGPU cannot run it.

### Are my images uploaded anywhere?

No. The model runs in your browser, on your device. Nothing is sent to a server, so it is safe for unreleased art.

## Related tools

- [Image converter](https://getassetpack.com/tools/image-converter): convert PNG, JPG, WebP, TGA and ICO in a batch
- [PNG optimizer](https://getassetpack.com/tools/png-optimizer): make PNGs smaller without losing a pixel
- [Sprite sheet tool](https://getassetpack.com/tools/sprite-sheet): slice a sheet into frames, export a GIF
- [All tools](https://getassetpack.com/tools)

The model is [BiRefNet](https://github.com/ZhengPeng7/BiRefNet) lite (MIT licence), from the [ONNX export](https://huggingface.co/onnx-community/BiRefNet_lite-ONNX) with its graph rewritten for WebGPU after [wonfy's](https://huggingface.co/wonfy/BiRefNet_lite-ONNX-webgpu) (MIT), run by [ONNX Runtime Web](https://onnxruntime.ai) (MIT).
