English
How to remove the background from a photo
This background remover cuts the person out of a photo and leaves a transparent area behind them. Everything runs in your browser, so the photo is never sent to a server.
- Choose a photo, drop it on the box, or paste one with Ctrl+V. You can add up to 30 at once.
- Wait for the model. The first photo downloads a 26 MB file, after that it starts at once.
- Drag the handle on the picture to compare the original with the result.
- Pick a background (transparent, a colour, a blurred copy of the photo, or your own picture), then press Download.
The page opens with a drawn sample so you can try the controls without downloading anything. It disappears when you add a real photo.
Which background should I pick?
| Option | Good for | Save as |
|---|---|---|
| Transparent | Stickers, logos, slides, product mock-ups, anything you will place on another design | PNG or WebP |
| Colour | Profile pictures, ID and passport style photos, marketplace listings | JPG or PNG |
| Blur | A portrait look when the real background is messy but you want it to feel natural | JPG |
| Image | Putting a person in front of a different scene | JPG or PNG |
For a passport or visa photo, use the passport photo maker instead. It crops to the right size and lays out a print sheet.
What works well and what does not
The model, MODNet, is a portrait matting network. It predicts how much of each pixel belongs to the person, not just yes or no, which is why loose hair comes out soft instead of chopped.
- Works well: one or two people, head and shoulders or half body, a background that differs from hair and clothes.
- Needs a touch-up: hands holding objects, glasses with a thin frame, a white shirt in front of a white wall, crossed arms against a patterned sofa.
- Often fails: products, food, pets, cars. It was not trained for them, so expect holes or the whole object missing.
When something is wrong, switch to Restore and paint over the part that was cut away, or Erase for background that was left. Zoom to 3× or 4× for small areas. Undo goes back one stroke at a time.
How do I fix a halo around the cut-out?
A light or coloured outline usually means a few pixels of the old background are still mixed into the edge. Move Edge position to about -1 or -2 to shave them off. If the edge now looks hard, add 1 to 2 of Soften edges. The values are per 1000 pixels of width, so a 3000 px photo gets three times as many real pixels as a 1000 px one and looks the same.
Which file format keeps the transparent background?
| Format | Transparency | Typical size for a 2000 × 3000 portrait |
|---|---|---|
| PNG | Yes | Several MB, lossless |
| WebP | Yes | Usually well under the PNG size, slight loss |
| JPG | No, empty areas become white | Smallest, slight loss |
The sizes depend on the photo. Hair and noise make PNGs bigger. The Crop to the subject option trims the empty border around a transparent cut-out, which also shrinks the file.
How does it run without uploading?
When you add the first photo, the page loads ONNX Runtime Web (MIT licence) and the MODNet model file. MODNet's code and trained weights are published under the Apache 2.0 licence, which allows commercial use. The model is saved in your browser's cache, so you can go offline after that.
Detection runs on your processor in WebAssembly, on one thread, so a phone may freeze for a few seconds per photo. There is no graphics acceleration in this version. Several photos are handled one after another to keep memory use down.
- Photos are reduced to 8 megapixels and 3000 px on the long side before processing. Anything bigger would run out of memory on many phones.
- The brushes change only the final cut-out. Your original file is never modified.
- The tool does not add a watermark. You still need the right to use the photo itself.
Frequently asked questions
How do I remove the background from a photo for free?
Add your photo, wait a few seconds while the model finds the person, then press Download. The default result is a transparent PNG. There is no account, no watermark and no limit on how many photos you process.
Are my photos uploaded to a server?
No. The detection model runs in your browser with WebAssembly, and the cut-out is drawn on a canvas on your device. The only things downloaded are the page, the runtime and the model file, never your pictures.
Does it work on products, pets or objects?
Not reliably. The model (MODNet) was trained for portraits, so it is good on people, including hair, and often misses or half-cuts a mug, a shoe or a dog. The Restore brush can bring back parts that were cut, but a product photo with a plain background is better served by a different tool.
Why is the first photo slow?
The first photo downloads a 26 MB model file, about 10 seconds on a 20 Mbps connection. The browser keeps it, so the next photos and later visits start immediately and only the processing time remains, usually 1 to 5 seconds per photo.
How do I fix hair or edges that were cut wrongly?
Switch to Restore and paint over the missing part, or to Erase for leftover background. For a thin halo, move Edge position to about -1 or -2. Soften edges blurs the outline slightly, which helps when the cut-out is placed on a new background.
Can I remove the background from many photos at once?
Yes, up to 30 photos at a time. They are processed one after another, share the same background and edge settings, and download together as one ZIP. Click a thumbnail to touch up that photo with the brushes before downloading.
Which format should I save: PNG, WebP or JPG?
Use PNG when you need transparency, for example for a logo, a sticker or a presentation. WebP keeps transparency in a smaller file but a few older apps cannot open it. JPG has no transparency, so with a transparent background it fills the empty area with white.
What is the largest photo it can handle?
Photos are reduced to at most 8 megapixels and 3000 pixels on the long side before processing, so a 48 MP phone photo comes out as about 3000 × 2250 px. The limit exists to keep phones from running out of memory. Files over 40 MB are skipped.