Skip to content

Image Tools

Remove Background

An AI model cuts out the main subject of your photo, right in your browser: a product, a car, a pet or a person. Download a transparent PNG, or put it on white, black or any colour.

  • Free
  • No sign-up

Runs in your browser: your photo isn't uploaded. The AI models download from Hugging Face the first time you use them.

Found a problem with this tool, or have an idea for it?Send feedback

Guide

How to remove the background from a photo

  1. Drag a photo onto the upload area, or click to choose it. JPG, PNG and WebP all work.
  2. Pick an AI model: Any photo for products, cars, pets and objects (and people), or Portraits for photos of people.
  3. Click Remove background. The first time you use a model it downloads (about 5 or 7 MB) and you see a percentage. After that it starts straight away.
  4. Check the result next to the original. Choose Transparent, White, Black or any Colour for the new background.
  5. Click Download. A transparent background saves as PNG; a coloured one saves as JPG. The result is the same size as your photo.

To do another photo, click Start over.

Which model to choose

  • Any photo (U²-Net) finds the main subject of the photo, whatever it is: a product for an online shop, a car, a pet, an object or a person. Start with this one.
  • Portraits (MODNet) is trained only on people. It can keep finer detail around hair, but on anything that isn't a person it keeps parts of the background or loses the subject.

If one model gets your photo wrong, try the other on the same photo: it only takes a few seconds once both are downloaded.

Is my photo uploaded?

No. The AI models run inside your browser, so your photo stays on your device. What goes over the internet is the download of the models themselves, from Hugging Face (a site that hosts AI models), and of the engine that runs them, from the jsDelivr CDN. Your browser keeps them, so later uses don't download them again.

Limits

  • Things touching the subject: a car door someone leans on, or a chair someone sits in, can stay in the result, sometimes faded. Photos where the subject stands clear of the background work best.
  • Edges: hair, fur, glass and soft shadows are the hardest parts, and a little of the old background colour can stay around them. Check the result before you use it.
  • Several subjects: the model keeps what looks like the main subject. Smaller things nearby, like a remote control next to a pet, may be kept too.
  • One photo at a time.

To shrink the result for the web, use Image Compressor or Image Resizer.

Frequently asked questions

Is it free?

Yes. There is no sign-up and no watermark, and the result is the same size as your photo.

Is my photo uploaded to a server?

No. The background is removed in your browser. Only the AI model is downloaded, the first time you use it.

Does it work on product photos?

Yes, with the Any photo model. It works best when the product stands clear of the background.

How do I get a white background?

After removing the background, choose White and click Download. The result saves as a JPG.