How to Remove a Photo Background and Get a Transparent PNG

Learn how background removal works, which photos give clean edges, and how to create a transparent PNG or swap in a new background, privately in your browser.

Updated September 29, 2026 5 min read

Use the free Remove BackgroundErase image backgrounds with on-device AI

Product photos on a clean white background, a headshot for a company page, a cut-out for a presentation slide or a sticker: all of them start with removing the background from an ordinary photo. A few years ago this meant careful work with a pen tool in a professional editor. Today, automatic segmentation does most of the work in seconds.

This guide explains how automatic background removal works and where it struggles, how to take photos that cut out cleanly, and how to get a transparent PNG, or a photo with a new background, without uploading your images anywhere. It also compares the built-in options on phones, Mac and Windows.

How automatic background removal works

Background removal tools use a segmentation model: a neural network trained on many images to decide, for every pixel, whether it belongs to the main subject or the background. The output is a mask, a greyscale map where white means "keep", black means "remove", and grey values at the edges mean "partly transparent".

The mask is then applied to the photo's alpha channel, the part of an image file that stores transparency. The result must be saved in a format that supports transparency, such as PNG or WebP. Saving as JPG would fill the removed area with a solid colour again.

Where it works well and where it struggles

Works well Harder
A person, product, pet or car clearly in the foreground Several overlapping subjects
Strong contrast between subject and background Subject colours similar to the background
Sharp focus on the subject Motion blur or soft focus
Solid edges Fine hair, fur, glass, smoke, lace

Fine hair and semi-transparent objects are the classic difficult cases, because the correct answer is partial transparency rather than a hard edge.

Shooting photos that cut out cleanly

  • Separate the subject from the background. Step away from the wall, or move the product forward on the table, so the background falls slightly out of focus.
  • Choose a contrasting backdrop. Dark clothing against a dark wall is hard; a light wall behind dark clothing is easy.
  • Light the subject evenly and avoid strong shadows that the model may treat as part of the subject.
  • Keep the whole subject in the frame, with a little space around it.

Remove a background in your browser

Remove Background runs its segmentation model inside your browser, so the photo is processed on your device rather than on a server.

  1. Open Remove Background and drop a photo onto the upload box. JPG, PNG, WebP, GIF, BMP and AVIF are accepted.
  2. Under AI model, choose Standard (about 40 MB) for quick results on most photos, or High quality (about 80 MB) for cleaner edges on hair and fur.
  3. Click Remove background. The first time, your browser downloads the chosen model once, with a progress bar; later runs reuse the cached copy. Large photos can take 10 to 30 seconds on slower phones.
  4. Drag across the image to compare before and after and check the edges.
  5. Under Background, choose Transparent for a cut-out, Colour to place the subject on a solid colour such as white or light grey, or Image to add a background photo that covers the whole frame.
  6. Click Download PNG. The image is saved at its original pixel size.

The model files are fetched from a content delivery network the first time; your photo itself stays on your device.

Built-in alternatives

iPhone and iPad

In recent versions of iOS and iPadOS, you can touch and hold the subject of a photo in the Photos app to lift it from the background, then copy or share it. It is quick and good for stickers and messages, but gives you no control over the output format or a replacement background.

Mac

On recent macOS versions, you can right-click an image in Finder and use the Remove Background quick action, or use the similar option in Preview. For older versions, Preview's Instant Alpha tool lets you click and drag over a background colour to remove it, which works well for flat backgrounds.

Windows

Recent versions of Paint in Windows 11 include a background removal button. Microsoft PowerPoint and Word also have a Remove Background option under Picture Format, where you can mark areas to keep or remove manually, which helps with difficult edges.

Professional editors

For hair-level precision on commercial work, a full editor with selection refinement and masking tools still gives the most control, at the cost of time and skill.

Tips and troubleshooting

Part of the subject disappeared

The model decided a region looked like background, often where colours are similar. Try the High quality model, or reshoot against a more contrasting background.

Edges have a coloured halo

Pixels at the edge still contain some background colour. Placing the subject on a colour close to the original background hides this. Otherwise, the High quality model usually gives cleaner edges.

The logo has a white box, not a photo background

For flat graphics on a plain white background, a colour-based tool is more precise than a segmentation model. Use Remove White Background.

The PNG is too large

Transparent PNGs of full-size photos are big. Reduce the dimensions with the Image Resizer, or convert to WebP with PNG to WebP, which keeps transparency with a smaller file.

Using the cut-out

Place it on a profile photo shape with Circle Crop Image, or add a caption with Add Text to Image. For ID photos with an official background colour, the Passport Size Photo Maker combines background replacement with exact print sizes.

Frequently asked questions

How do I make a photo background transparent?

Remove the background with a segmentation tool and save the result as PNG or WebP, which support transparency. JPG cannot store transparent areas.

Is my photo uploaded to a server?

Not with our tool. The AI model is downloaded to your browser and runs there, so the photo never leaves your device.

Why is the first run slow?

Your browser downloads the model once, about 40 MB for Standard or 80 MB for High quality. It is cached, so later photos start faster.

Can I change the background to a specific colour?

Yes. After removing the background, choose Colour and pick the shade you need, then download the PNG.

Does it work on products and pets, not just people?

Yes. The model detects the main foreground subject, so people, products, pets and cars all work, provided they stand out clearly from the background.

Try it now: Remove Background

Loading tool…