Remove Background from Image

Drop a picture and the subject is cut out of it, on your own machine. Save it with a transparent background or put a colour behind it.

Runs on your device — photos are never uploaded

Drop your picture here

or click to browse

JPG · PNG · WebP · HEIC

This is a model making a judgement, not a person with a scalpel. It is very good at people, animals and products against a distinguishable background, and it struggles with fine hair, glass, smoke and anything the same colour as what is behind it. Judge the result rather than assuming it.

Advertisement

How it works

Three steps, no account, and the photo never leaves your computer.

STEP 01

Drop the picture in

JPG, PNG, WebP or an iPhone HEIC. One at a time — this one is heavy enough that a queue would just be a slower queue.

STEP 02

Press the button

The first time, the model loads: 44 MB, once, and your browser keeps it. After that it is seconds.

STEP 03

Save it, with or without a background

A transparent PNG, or pick a colour to put behind the subject before you download.

What people cut out

A product photo for a listing

Marketplaces want a plain background, and a kitchen table is not one.

A person for a poster or a slide

Cut out and dropped onto a colour, without paying for a subscription to do it.

A logo photographed off a sign

Flat shapes with clear edges are the easiest case there is.

A pet, a plant, a piece of furniture

Anything with a clear outline against something that is not the same colour.

Advertisement

What it can and cannot see

Background removal looks like magic and is really a judgement. A model that has been shown an enormous number of pictures decides, for every pixel, how likely it is to belong to the subject. Then everything else is made transparent.

Which means it has opinions, and it has blind spots, and knowing where they are saves you the disappointment.

What it does well

  • People and animals against a background that is a different colour or clearly further away.
  • Products — bottles, boxes, shoes, furniture. Hard outlines are the easy case.
  • Anything with a shadow that is separate from the object rather than touching it.

Where it struggles, and why

Hard caseWhat happens
Fine or flyaway hairIndividual strands are thinner than the model reasons in. You get a soft edge or a slightly cropped fringe
Glass, water, smokePartly transparent things need a per-pixel opacity, and the answer is either "keep it" or "cut it"
Subject the same colour as the backgroundA white shirt against a white wall has no edge to find. Neither does the model
Two people, one behind the otherIt cuts out "the subject" and has to decide who that is
Contact shadowsA shadow touching the object is often kept, because it is attached

The fix for most of these is the photograph. A subject that is clearly separated from what is behind it — by colour, by distance, by light — is cut out cleanly by anything. If you are taking the picture on purpose, half a metre of space behind the subject does more than any tool.

Why it comes out as PNG

Because transparency has to be stored somewhere, and JPG has nowhere to put it. Every pixel in a JPG has a colour, so a cut-out saved as JPG comes back with the transparency filled in — usually black. If you want a JPG, choose a colour here first and download that instead.

The trade is that a PNG of a photograph is a large file. Once the cut-out is placed on its final background, compressing it or converting it back to JPG is the sensible last step.

The 44 MB, and why it is downloaded rather than rented

The model is a file, and it has to be somewhere. Every free background remover on the web keeps it on a server and sends it your photograph. This one sends you the model instead: 44 megabytes, once, cached by your browser afterwards.

That is a real cost the first time, on a phone especially, and it buys something specific. Look at what people remove backgrounds from — their children, their faces, their products before launch, their passport photos. It is one of the most personal categories of image there is, and it is routinely handed to a free website in exchange for a watermarked download.

Here there is no upload, so there is nothing to retain, nothing to train on and nothing to leak. There is also no watermark and no account, because there is no per-image cost to recover.

If a phone gives up

The model needs a few hundred megabytes of working memory. On an older phone a very large photograph can exhaust it and the tab reloads.

The fix is straightforward: resize the picture to something like 1600 pixels on its longest edge first. For anything that will be looked at on a screen that is more than enough resolution anyway, and the cut-out will be the same quality.

Common questions

Is my photo uploaded anywhere?

No. The model runs in your browser as WebAssembly and the picture is never sent anywhere. The model file itself is served from this site rather than from a model hub, so no request about your image is made to anybody.

Why is the first use slow?

Because the model has to arrive: 44 MB, once. Your browser caches it, so every use after that takes seconds rather than a download.

Is there a watermark or a limit?

Neither. Watermarks and daily limits exist because processing an image on somebody’s server costs them money for every image. Nothing here runs on a server, so there is nothing to recover.

Why does the hair look rough?

Fine strands are thinner than the model reasons in, so the edge softens or the fringe is clipped. It is the hardest case in background removal and every tool has some version of it — paid ones included.

Can I save it as a JPG?

Not with transparency, because JPG cannot store it — a transparent area saved as JPG usually comes back black. Choose a background colour here first and the result can be a JPG safely.

It failed on my phone. Why?

Almost always memory. The model needs a few hundred megabytes of working room, and a very large photograph on an older phone can exhaust it. Resize the picture to around 1600 pixels on its longest edge and try again.

What model is it?

ORMBG, an open background-removal model published under the Apache 2.0 licence, which is what makes it usable here without a commercial agreement. It runs through transformers.js on the ONNX runtime, both of which are also served from this site.

Advertisement