Background Remover

Remove the background of any photo automatically, and download a PNG with transparent background.

This free online tool removes the background of images automatically with AI. Upload a photo of a person, a pet, a product or any object, and the tool cuts out the subject and makes the background transparent. You can then keep it transparent, replace it with a solid color or blur it, and download the result as a PNG image.

For logos, icons, signatures and product shots on a plain background, the "Solid color" method removes one color, such as a white or green background, without any AI.

Everything runs directly in your browser. Your image is never uploaded to a server: the AI model is downloaded to your browser once, and the image is processed on your own computer.

Drop your image here

How to remove the background of an image?

  1. Upload your image - Drop a JPG, PNG or WebP photo in the box above, or paste an image with Ctrl+V.
  2. Choose the method - "AI: any subject" works with almost any photo; "AI: people" is a smaller model for portraits; "Solid color" removes a plain background color from logos and graphics.
  3. Click "Remove background" - The first time, the AI model is downloaded to your browser, which can take a minute. After that, it is kept by the browser and the next images are processed right away.
  4. Adjust the edges - If needed, make the edges harder, shrink the subject a few pixels to remove leftovers of the background, or feather the edges to soften them.
  5. Choose the new background - Keep it transparent, fill it with a color, or blur the original background. Turn on "Crop to subject" to remove the empty space around the subject.
  6. Download the image - Click "Download image" to save the result as a PNG with transparency.

Options

FieldDescription
Method How the subject is separated from the background.
MethodDescription
AI: any subjectUses IS-Net, an AI model trained to find the main subject of a photo: people, animals, cars, products, plants, furniture and more. The model is about 88 MB. With WebGPU (recent versions of Chrome and Edge, for example) it runs on the graphics card in a fraction of a second; on other browsers it runs on the processor, in about 10 seconds.
AI: peopleUses MODNet, a smaller and faster AI model (about 26 MB) trained on portraits. It is made for photos of people and does not work well on objects.
Solid colorRemoves one color and the colors close to it. Best for logos, icons, scanned signatures, screenshots and product photos on a white or green background. No AI and nothing to download.
Color, tolerance and smoothnessOnly for the "Solid color" method. The color to remove is detected from the borders of the image, and you can click on the image to pick another one. Colors closer to it than the tolerance become transparent, and colors a bit further (up to the tolerance plus the smoothness) become semi-transparent, which keeps anti-aliased edges smooth.
Only the background touching the bordersOnly for the "Solid color" method. Removes only the areas of the color that are connected to the borders of the image, so the same color inside the subject is kept, such as the white of the eyes or the inside of letters. Turn it off to remove the color everywhere.
HardnessAt 0%, the edges are kept as the model created them, with semi-transparent hair and blurred outlines. The AI models work on a reduced copy of the image (1024 x 1024 pixels or less), so on large photos their edges are a bit soft: higher values make them sharper, and also remove the semi-transparent areas where the model is unsure about a part of the background.
Shift edgeMoves the edge of the subject, in pixels. Negative values shrink the subject and remove thin leftovers of the background around it; positive values grow it.
FeatherBlurs the edge of the subject, in pixels, for a softer transition to the new background.
Remove color fringesThe semi-transparent pixels of the edges still contain some of the color of the old background, which looks like a halo over a new background. This option estimates the color of the old background around each edge and removes it from those pixels.
Show maskShows the mask of the subject in black and white: white is kept, black is removed and gray is semi-transparent. Useful to check the edges.
Background"Transparent" keeps the background transparent, "Color" fills it with a solid color, and "Blurred" keeps the original background but blurs it, like the portrait mode of phones.
Crop to subjectCuts away the empty space around the subject. The margin adds space around it, in pixels.

How does the background remover work?

The AI methods use image segmentation models, neural networks trained on thousands of photos where the subject was cut out by hand. The image is reduced to the size the model expects, and the model returns a mask: a gray image where white is the subject and black is the background, with grays on soft edges such as hair. The mask is then enlarged to the size of your image, and used as the transparency of the result.

The models run with ONNX Runtime Web, on your graphics card through WebGPU when the browser supports it, and on the processor otherwise. The "AI: any subject" method uses IS-Net (Apache 2.0 license) and "AI: people" uses MODNet (Apache 2.0 license).

Frequently Asked Questions (FAQ)

Is this background remover free?

Yes, it is 100% free, with no sign-up, no watermark and no limit on the number of images or on their resolution (very large images are reduced to about 16 megapixels).

Are my images uploaded to a server?

No. The AI model is downloaded to your browser, and your image is processed on your own computer. It never leaves your device.

Why does the first image take longer?

The first time, the browser downloads the AI model (about 88 MB for "AI: any subject" and 26 MB for "AI: people"). The model is kept by the browser, so the next images, and your next visits, start right away.

Why does it take several seconds on my computer?

The AI is fastest with WebGPU, a technology that lets web pages use the graphics card. It is supported by recent versions of Chrome and Edge, and by newer versions of Safari and Firefox. On other browsers the model runs on the processor, which takes about 10 seconds per image for "AI: any subject" and 1 or 2 seconds for "AI: people".

Part of the background was not removed. What can I do?

Try the other AI method, increase the hardness to remove semi-transparent leftovers, or use a negative "Shift edge" to trim a thin border of background around the subject. Photos where the subject has a clear outline and contrasts with the background give the best results.

How do I remove a white background from a logo?

Choose "Solid color". The white is detected automatically; increase the tolerance if some light gray remains, and keep "Only the background touching the borders" on to keep the white parts inside the logo.

Can I change the background to another color?

Yes. In "Background", choose "Color" and pick the new color, for example white for product photos or a solid color for profile pictures. You can also blur the original background instead.

In which format is the image saved?

As a PNG, which keeps the transparency. To put the subject over another photo, you can use the Overlay images tool.

Related tools

Trim transparent pixels

Remove transparent space around images. Trim away transparent borders around an image.

Overlay images

Overlay 2 or more images, one over the other, as layers with adjustable opacity, position, size and rotation.

Crop image

Crop images online by defining a rectangle in pixels.

Resize image

Resize images by percentage or by pixels.

Convert JPG to PNG

Convert JPG photos to the lossless PNG format, for editing or for tools that only accept PNG.

Bevel and Emboss

Add 3D depth, raised edges and carved or stamped looks to text, logos and shapes.