Skip to content
DoItJag

Background Remover

Cut out a person from a photo. The background becomes transparent, white or a colour you choose, and you download a full-size PNG. The AI model runs on your own device, so the photo is never uploaded.

or drop a file here · JPG, PNG, WebP · up to 50 MB

Processed on your device. Your files are not uploaded.

About Background Remover

This tool separates the subject of a photo from everything behind it and gives you a PNG where the backdrop is transparent, white or any colour you pick. The work is done by a small neural network running inside your browser tab, so your picture is never sent to a server.

The model behind it

The tool uses MODNet, an open model (Apache-2.0) trained for portrait matting. The file is about 7 MB, starts quickly, works on phones and copes well with hair. It is built for humans, so a mug, a car or a cat may come out badly or not at all. A second, much larger model for any kind of object is being tested and will be switched on once it runs reliably in ordinary browsers.

The model comes from Hugging Face the first time you press the button, along with the ONNX Runtime engine (about 6 MB) from jsDelivr. Your browser stores both, so the next visit skips the download.

Worked example

You need a profile picture with a plain background for a job portal. Choose a well-lit photo of yourself and run the tool. Switch the background to White, set Soften edges to 2 px so the outline does not look cut with scissors, compare the two views and download the PNG. If the portal wants a JPG under a size limit, open the result in the Image Compressor.

Tips for a cleaner result

  • Use a sharp photo where the subject is clearly lighter or darker than its surroundings.
  • Leave Clean up edges on for solid objects; turn it off to keep wispy hair and fur.
  • Very large photos are scaled to 12 megapixels (6 on phones with little memory) first.

Limits

Glass, smoke and objects the same colour as the wall confuse any model. For signatures on paper there is a faster rule-based option: Signature Background Remover. Passport offices often forbid edited photos; read Passport Size Photo Maker before using a cut-out in an application.

How to use Background Remover

  1. Choose a JPG, PNG or WebP photo.
  2. Select Remove background. The first time, a 7 MB model downloads once and is kept by your browser.
  3. Choose a transparent, white or coloured background, adjust the edges, compare before and after, then download the PNG.

Privacy: how it works

Your photo is processed on your own device by your browser and is never uploaded. On first use the tool downloads the open-source AI model from Hugging Face and the ONNX Runtime engine from jsDelivr; no data about your image is sent to them.

Frequently asked questions

Is my photo uploaded?

No. The photo is processed by your browser on your device. The only downloads are the model and the ONNX Runtime engine, the first time you use the tool; your browser keeps them for next time.

Does it work for products, pets or logos?

Not well yet. The tool uses MODNet, a 7 MB model trained on people, which is quick and works on phones. For a signature on paper use the Signature Background Remover. A mode for any object is being tested and will be added when it runs reliably.

Can I use the result for a passport photo?

Many passport authorities, including the US State Department and Indian missions, say photos must not be altered by software. Use the Passport Size Photo Maker and check your authority’s rules before replacing a background.