How to remove the background from an image
Six ways to do it, what each one costs you in quality, money or privacy, and the one distinction that decides which to reach for.
Free toolBackground RemoverCut the background off a photo in your own tab, at full resolution. The model runs here, so the picture is never uploaded.Open the removerThe short answer
Ask what is behind the subject before you pick a tool. That one question splits the job in two, and picking the wrong side is why so many cutouts come out badly.
- A busy or detailed background: you need a model that understands what a subject is. Any AI background remover, including the one on this site.
- A flat white or grey backdrop: you do not need a model at all. Erasing that one colour is faster and more exact than any AI, and it is what a studio shot, a scanned logo or a diagram wants.
- You are on an iPhone: press and hold the subject in the Photos app. It is free, instant and already there.
- The picture must not leave your machine: use a tool that runs the model in your browser rather than on a server. Most do not.
The six methods, side by side
| Method | Quality | Cost | Where your photo goes |
|---|---|---|---|
| Browser AI tool, in-page | Good on people and objects | Free, full resolution | Nowhere. The model is downloaded to you |
| Browser AI tool, server | Often the best available | Free preview, paid full size | Uploaded to their servers |
| iPhone press and hold | Very good on people and pets | Free | Stays on the phone |
| Photoshop | The best, with work | Subscription | Stays on the machine |
| macOS Preview | Good on a clear subject | Free, already installed | Stays on the Mac |
| PowerPoint | Coarse edges | Free with Office | Stays in the deck |
1. In a browser, without uploading
A segmentation model is a file of numbers, and a browser can download a file and run it. That is the whole trick behind an in-page background remover: the model comes to your picture rather than your picture going to the model. You pay a one-off download for the weights, tens of megabytes, and after that every cutout is arithmetic happening in the tab.
The trade is real and worth stating. The models small enough to download are not quite the models a well-funded company runs on a GPU, so on a genuinely hard picture, fine hair against foliage, a paid server tool may still beat it. What you get in exchange is your actual resolution for free, no account, and a photo that never leaves the machine. For a headshot, a passport photo, a picture of a child or a client's file under NDA, that last point tends to end the discussion.
Worth knowing when you compare: several sites advertise "on-device" processing without doing it. The test takes ten seconds. Open the network panel, run a cutout, and look for a large model download. If the page transferred under a megabyte in total and still produced a perfect cutout, the work happened somewhere else.
2. How to remove a white background: do not use AI at all
This is the most common mistake on this whole topic. A product on seamless white, a scanned logo, a signature or a chart has no subject in the sense a model is looking for, so the model guesses, and its guess has soft edges in places where the truth is a hard boundary. Erasing the colour is not the cheap version of the AI here. It is the correct answer.
The one thing to check in whatever tool you use is whether it floods inward from the edge of the image or matches every pixel in the picture. Matching every pixel punches holes through the white of a shirt, a tooth, a highlight and the inside of a letter O. Flooding from the border removes only white that is connected to the outside, which leaves all of those alone. A tool that offers a "contiguous" or "connected" option is doing the second thing.
3. On an iPhone, with nothing installed
Since iOS 16, opening a photo and pressing and holding on the subject lifts it out with a shimmer, and the menu that appears offers Copy and Share. Share to Files gives you a transparent PNG you can use anywhere. It is remarkably good on people and animals and it is the fastest route on this whole page.
Its limit is that there are no controls. You get Apple's decision about where the edge is, and if it clipped an ear or left a halo there is nothing to adjust. It also only knows about a handful of subject types, so a product shot often does nothing at all when you hold on it.
4. Photoshop, when the result has to be perfect
Select Subject followed by a Layer Mask gets you to the same place an automatic tool does, in about the same time. What Photoshop has that nothing else here does is Select and Mask, and specifically the Refine Edge brush, which is the only tool in this list that genuinely recovers hair against a complicated background. If the picture is going into an advert, this is still the answer.
It is a subscription, and the automatic selection on its own is no better than the free options. The value is entirely in what you can do afterwards.
5. macOS Preview, which is already on the Mac
Open the image in Preview, click the markup toolbar, and there is an Instant Alpha tool that erases by colour, plus a Remove Background button in recent versions that does a subject cutout. Both are free, both stay on the machine, and Instant Alpha in particular is a good answer for a flat backdrop. Export as PNG to keep the transparency.
6. PowerPoint, when it never has to leave the deck
Picture Format, then Remove Background. PowerPoint makes a guess and shades what it plans to delete in magenta, and you paint with Mark Areas to Keep and Mark Areas to Remove until it is right. The edges are coarse and you would not use it for anything printed. For a slide going up on a projector in twenty minutes it is entirely adequate, and the file never leaves Office.
Google Slides has no equivalent. Its transparency slider fades the whole picture rather than cutting anything out, so the workaround is to make a transparent PNG elsewhere and insert that.
Save it as PNG, or you will lose the transparency
Whichever method you use, the last step is where cutouts get thrown away. Transparency lives in an alpha channel, and only some formats have one.
- PNG keeps it, is lossless, and is read correctly by everything. Use this unless you have a reason not to.
- WebP keeps it too and is usually about a third of the size, which makes it the better choice for a web page. Safari cannot create one.
- JPG has no alpha channel at all. A transparent cutout saved as a JPG is flattened onto white, and there is no undo.
- SVG is not an option here. A photograph is pixels, and putting pixels inside an SVG wrapper does not make it a vector.
If you end up with a cutout in the wrong format, the image converter will move it across without another upload.
A checklist for a cutout that looks right
- Look at it on a dark background, not a white one. A pale halo is invisible against white and obvious against black, and white is what every preview shows you by default.
- Check the gaps. Between an arm and a body, through the handle of a mug, between the legs of a chair. Automatic tools miss enclosed holes constantly.
- Zoom to the hair, if there is any. That is where the difference between a good tool and a bad one actually lives.
- Pull the edge in a notch if there is a fringe. The outer ring of pixels carries the old background's colour, and removing it costs almost nothing.
- Confirm the saved file, not the preview. Open it over something coloured. This is the step that catches a JPG that flattened onto white.