Skip to content
Esc

Remove image background

Photo never leaves this browser

Drop a photo and the background is cut away by an AI model that runs in your browser, so the picture is never uploaded. Download a transparent PNG, or fill the background with white for passport-style photos and product listings.

Background

Model: MODNet, Apache-2.0. The model and runtime are downloaded once from Hugging Face and jsDelivr and cached; your photo is processed in this tab and never uploaded.

How to use it

  1. Choose People for portraits and selfies, or Products and objects for everything else.
  2. Drop or paste the photo. The model downloads once (6.6 MB or 115 MB) and is cached.
  3. Pick Transparent, White or a colour, then download the PNG.

Details

People model
MODNet portrait matting (Apache-2.0), 6.6 MB, fast on phones; hair edges are soft-matted
Objects model
BiRefNet lite (MIT), 115 MB, for products, pets, cars and anything without a person; much faster with WebGPU (Chrome, Edge)
Output
PNG with transparency, or a solid white or custom background; up to 4096 px on the long side
Download
The model from Hugging Face and the ONNX runtime from jsDelivr, cached after the first use. Your photo is not part of any request

Questions

Is my photo uploaded?

No. The photo is decoded, cut and saved inside this browser tab. Nothing about it is sent to a server; close the tab and it is gone.

Which model should I use?

People for selfies, portraits and ID photos: it is small and quick. Products and objects for items, animals, logos on photos and scenes without a person: it is larger and slower but cuts any subject.

Why is the first run slow?

The model has to download once. After that it is cached by the browser, and later photos start immediately. The objects model is 115 MB, so use Wi-Fi the first time.

Can I use the result commercially?

Both models are released under licences that allow commercial use (Apache-2.0 and MIT), and the cut-out is your own photo. Check the rights to the photo itself.

How do I get a white background for a passport photo?

Choose People, drop the photo and pick White. Then use the photo print sheet or resize tools to get the size your form needs.

The edges are rough. What helps?

Use a photo where the subject stands out from the background, in good light. Try the other model: the objects model often does better on hard edges, the people model on hair.