Skip to content

Remove image background

Cut a subject out of a plain or evenly lit background.

Updated

Add your files

images, JPG, JPEG, PNG, WEBP and more

You can also paste a screenshot with Ctrl+V

How to remove an image background

  1. 1

    Add one or more pictures with a plain, evenly lit background.

  2. 2

    Leave Background colour on Detect from the edges, or choose White, Black or Pick a colour. Raise the Tolerance if background is left behind and lower it if the subject is eaten into; set the Edge softness in pixels, and switch on Trim to the subject to cut the empty border away.

  3. 3

    Press Remove background and download the PNGs, named with "-cutout" added.

  • Use Passport photo maker when you want the person on a plain colour at an ID photo size rather than on transparency.

How the background is found

With Detect from the edges, the colour of pixels along the four borders is averaged, sampling up to about 200 points per side, and that average is the background. White, Black and Pick a colour use the colour you name instead. Starting from every border pixel, the tool walks inward and makes transparent each neighbouring pixel whose colour is within the Tolerance of the background: 100% is the full distance from black to white, so the default of 28% removes colours fairly close to it. Pixels the walk never reaches are kept, which is why an enclosed area of background colour survives.

Edges, trimming and the output

Edge softness blends the boundary between kept and removed pixels over the number of pixels you set, 0 to 6, so the cut-out does not look like a sticker; 0 leaves a hard edge. Trim to the subject crops the result to the smallest box that holds every pixel that is not almost fully transparent. The output is always a PNG with transparency. A very large picture is scaled down to what this browser can hold, with a note, and an animated picture keeps only its first frame.

The work runs in your browser; the one step that can reach our server is decoding a picture your browser cannot open itself, such as most TIFF files, which is deleted as soon as it is returned. iPhone HEIC photos do not go there either, because the server cannot read them.

Questions about Remove image background

Why is part of the background still there?

Only background that touches the edge of the picture, or is joined to it through similar colours, is removed. A patch enclosed by the subject, such as the gap inside a handle, stays, and so does a shadow or gradient whose colour drifts beyond the Tolerance. Raise the Tolerance, or pick the colour yourself.

Why did a white shirt survive but the white wall go?

Because the fill works inward from the border and only removes pixels joined to it. The wall touches the edge; the shirt is surrounded by the person, so the fill never reaches it. A subject that touches the edge in a colour close to the background can be eaten into there.

Does it work on hair or a busy background?

Not well. The tool compares colours, so hair against a similar wall, a patterned background or an uneven gradient cannot be separated cleanly. It is built for product shots, logos, signatures and ID photos on a plain backdrop; there is no trained model behind it.

Advertisement