Skip to content
YourTools

Background Remover

Cut out the subject, then pick transparent, blue, white, or your own backdrop.

Your files never leave your device.

Opening tool…

How to use

  1. Choose a JPG, PNG, or WebP. A clear subject on a reasonably simple scene works best.
  2. Press “Remove background”. The first run downloads a public Hugging Face model into this browser; later runs reuse the cache.
  3. Pick a new backdrop: transparent, white, blue, another colour, or your own image. If the subject vanished, tap Invert cut-out.
  4. Download a PNG (keeps transparency) or JPG/WebP when you have filled a colour.

Tips

  • Blue (#2563eb) and white are the usual studio and ID fills. Use green only if you need a chroma key.
  • Hair and glass are the hardest edges. If a halo remains, try a plainer original photo or a slightly larger subject.
  • Huge camera files are scaled down to 1024 px on the long side so the model can run on a laptop. Resize afterwards if you need a different pixel size.

FAQ

Is my photo uploaded?

No. The file stays in this tab. The browser only downloads a public ONNX model from Hugging Face (or hf-mirror.com if you set NEXT_PUBLIC_HF_HUB). We never see the picture.

Can I put a blue background?

Yes. After the cut-out, tap Blue, Light blue, Navy, or Custom and pick any colour. You can also upload a scene to sit behind the subject.

Why is the first run slow?

The model is tens of megabytes. It is cached in this browser afterwards. A VPN or NEXT_PUBLIC_HF_HUB=https://hf-mirror.com helps if huggingface.co is blocked.

Does it work on product shots and people?

It uses Open RMBG (and IS-Net if needed) in your browser. People, products, logos, and pets all work. If the subject vanishes, tap Invert cut-out.

Can I use this for a passport photo?

Remove the background here, choose white or the colour your form asks for, then crop to size in the Passport Photo Maker. Always check the official photo rules.

About the Background Remover

Removing a background used to mean a trip to a paid editor or an upload to a website that keeps a copy of your face. This tool does the cut-out on your own computer. A Hugging Face background-removal model (Open RMBG, with IS-Net and ModNet as fallbacks) runs in the browser through Transformers.js and ONNX Runtime. Your photo is never posted to our servers, because this site has none for tools.

The first visit downloads the model weights into the browser cache. That can take a minute on a slow link; later visits skip the download. If Hugging Face is blocked, set NEXT_PUBLIC_HF_HUB to https://hf-mirror.com and rebuild. No Hugging Face token is used in the page — tokens belong only to the optional blog-draft script.

After the mask is ready you choose what sits behind the subject. Transparent PNG is the default for stickers, slides, and further editing. Solid fills cover the usual studio colours: white, light gray, several blues, black, and a green screen. A colour picker covers anything else, and you can drop in your own backdrop image if you want a scene instead of a flat colour.

Results are only as good as the original. Even lighting, a subject that does not blend into the wall, and a reasonably sharp photo help the model draw a clean edge. Hair, veils, and glass remain the hardest cases. Logos and screenshots sometimes come out inverted; tap Invert cut-out to swap what was kept. If you need a specific pixel size afterwards, run the download through the Image Resizer; if a form has a kilobyte limit, use the Image Compressor.

This is still a local guess, not a photography studio. Do not treat it as guaranteed acceptance for visas or IDs. Check the official background colour and head-size rules, then crop with the Passport Photo Maker. Close the tab and the working copy is gone unless you downloaded a file.

Related guides

Related tools