Remove a photo background — and fix the edges yourself

Runs on your device · Your file never leaves your device.

Automatic background removal is not perfect: the model sometimes shaves off hair, ears or the edge of a shoulder, or leaves a scrap of the old background behind. This tool treats the AI pass as a first draft.

After the automatic cut, two soft brushes make the result actually right: Restore paints back the original pixels the model removed — sweep it over the hair the cut took and it returns — while Erase removes whatever the model left behind. Four brush sizes plus a fine slider, multi-step undo, and a live checkerboard preview so removed really looks removed. Export a transparent PNG for design work, or flatten onto white or any colour — white is what many visa and ID portals ask for, though some authorities refuse a photo whose background was edited (see below).

The segmentation model runs inside your browser (about a 12 MB engine, downloaded once from this site and cached), so the photo never leaves your device. It is tuned for people — portraits, selfies, ID photos; objects and products may need more brushwork.

How to remove a photo background

  1. Add a photo — the engine downloads once (about 12 MB) and the AI removes the background on your device.
  2. Paint with Restore to bring back anything the cut took; Erase to clean up leftovers.
  3. Pick transparent, white or a custom colour.
  4. Download as PNG (transparent) or JPG.

Supported formats and limits

Input
JPG, PNG, WebP, HEIC — portraits work best
Output
Transparent PNG, or JPG/PNG on white or any colour
Touch-up
Restore & Erase brushes, four sizes plus slider, undo
Where it runs
In your browser; the photo is never uploaded

Not for: Complex product shots or fine fur on non-human subjects — the model is tuned for people and those need heavier tools.

How the automatic cut decides

The cut is made by a selfie segmentation model of about 250 KB that runs inside the engine. For every pixel it estimates how likely the pixel is to belong to a person. Pixels below 20% are removed, pixels above 80% are kept, and the ones in between become partly transparent, which gives hair and shoulders a soft edge instead of a jagged one.

Before the cut, the photo is scaled so that its longest side is at most 2,000 pixels, and the download keeps that size. A 4000 × 3000 phone photo therefore comes out as 2000 × 1500; smaller photos keep their own size.

Getting hair and edges right

Brush size is measured on the screen, not on the photo. Zooming in, up to 800% with the buttons, a pinch or the mouse wheel, makes the same brush cover fewer pixels of the photo, so zoom in for hair and use Move to slide the view. Each dab is full strength in its centre and fades to nothing at its rim, so overlapping strokes blend.

Restore brings back the original pixels exactly as they were, including any old background between strands of hair. Several light passes with a small brush along the outline return the strands with less of the old background than one wide stroke. Undo keeps the last 15 steps.

Clearing leftovers with Magic

Magic works on a whole patch with one tap. It starts at the pixel you tap and spreads to every connected pixel whose colour in the original photo is close to that pixel's colour. Tap a leftover piece of plain wall or sky and the patch is removed; tap a patch that was removed and it comes back. Sensitivity, from 5 to 90, sets how close a colour must be.

Because it compares colours only, it can run into a white shirt against a white wall. If it takes too much, press Undo, lower the sensitivity and tap again, or use the Erase brush for that part.

PNG or JPG, transparent or coloured

Download PNG keeps the background transparent when Transparent is selected, and fills it with white or your colour otherwise. Download JPG always fills it, with white when Transparent is selected, because JPG cannot store transparency; it is saved at quality 95.

The partly transparent pixels along the edge keep some of the original background colour. On a new background close to the old one this does not show; on a very different one, for example a photo taken against a dark wall and placed on white, a faint rim can appear. A short Erase pass along the edge, zoomed in, removes it.

Frequently asked questions

Does it work on iPhone and Android?
Yes. Open the page in Safari or Chrome, pick the photo from your gallery, and the background is removed on the phone itself. The result is a PNG with a transparent background, or with the plain colour you choose.
Are my files uploaded to a server?
No. This conversion runs inside your browser using your own device’s processing power, and the file is not uploaded. Once a tool has been used once (video, text recognition and background removal download their engine from this site the first time), it keeps working when your connection drops.
The automatic cut removed part of my hair — how do I get it back?
Switch to the Restore brush, pick a size, and paint over the missing hair. The original pixels return exactly where you paint, with a soft edge. If a stroke goes too far, Undo reverts it.
Can I make the background white instead of transparent?
Yes — choose White (or any colour) and export as JPG or PNG. White is what many visa, passport and ID photo portals expect. But some authorities — the US, UK, Canada and Australia — refuse photos whose background has been edited; for those, retake the photo against a plain light wall instead.
Does it work on products and objects?
The model is trained on people, so portraits cut best. Objects often work but usually need more correction with the brushes.

Related tools

More in Images

This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা