Background Remover

Cut the background out of a photo and save a transparent PNG, or put a solid colour, a blur or another picture behind the subject. The AI model runs inside your browser, so your photos are not uploaded. It is built for people; products and pets are hit and miss.

Photos

Showing a sample illustration

Your first photo downloads a 26 MB model once and keeps it in your browser. Photos stay on your device.

View
BeforeAfter
Zoom

Result

Background
1
Blurs the outline slightly. A little softness hides jagged edges on a new background.
0
Negative values shrink the cut-out and remove a halo of old background. Positive values grow it.
Save as
PNG keeps transparency and is lossless.
Image size
—
Photos
1

Made for portraits. Fine hair is handled well, but hands, glasses, thin straps and busy backgrounds can need a touch-up with the brushes. Photos are reduced to 8 megapixels.

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.

  1. Choose a photo, drop it on the box, or paste one with Ctrl+V. You can add up to 30 at once.
  2. Wait for the model. The first photo downloads a 26 MB file, after that it starts at once.
  3. Drag the handle on the picture to compare the original with the result.
  4. 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?

OptionGood forSave as
TransparentStickers, logos, slides, product mock-ups, anything you will place on another designPNG or WebP
ColourProfile pictures, ID and passport style photos, marketplace listingsJPG or PNG
BlurA portrait look when the real background is messy but you want it to feel naturalJPG
ImagePutting a person in front of a different sceneJPG 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.

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?

FormatTransparencyTypical size for a 2000 × 3000 portrait
PNGYesSeveral MB, lossless
WebPYesUsually well under the PNG size, slight loss
JPGNo, empty areas become whiteSmallest, 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.

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.