Make a photo's background white

Cut the subject out of a photo and put it on white, or any solid colour. The cut-out runs on a small open-source model inside your browser; the photo is never uploaded.

Price
Free, no account
Runs
In your browser
Uploads
None. Files stay on your device
or drop a file here
Mode
First run downloads a 44 MB model

Open a photo. The subject is cut out on your device by a small open-source model, then placed on the colour you pick.

How to use it.

  1. Open a photo

    PNG, JPEG or WebP. One clear subject against a distinct background works best.

  2. Remove the background

    The first run downloads the model (about 44 MB) from Hugging Face and caches it. Your photo stays on your device: the model comes to the photo, not the other way round.

  3. Pick a background

    White, a preset or any colour. Add padding to centre the subject on a square or keep the original size.

  4. Download

    JPEG on a solid colour, or a transparent PNG cut-out.

Make the source image.

Making product photos from scratch? Generate them on a seamless white background in batches with Z-Image Turbo.

Questions.

How do I make a photo's background white?

Open the photo above and click Remove background. The subject is cut out on your device, placed on white, and you can download it as a JPEG. Pick another colour if you need one.

Which model does the cut-out?

ormbg (Open Remove Background), an Apache-2.0 licensed segmentation model, run in the browser with Transformers.js. It was trained mainly on photos of people, so it does best on portraits and clear single subjects. Fine detail such as hair and see-through objects can need touching up.

Can I use the result commercially?

Yes. The model's Apache-2.0 licence allows commercial use, and the output image is yours.

My image already has a transparent background. Can I just fill it?

Yes. Switch the mode to Fill transparency and the transparent areas are filled with your colour, without running the model.

Does my photo get uploaded?

No. The only downloads are the model, fetched once from Hugging Face, and its WebAssembly runtime from a public CDN. The photo is processed in your browser and saved straight to your device.

Why is the first run slow?

The model is downloaded on first use and then cached by your browser. After that, a cut-out takes a few seconds, depending on your device.