Remove Background from Image
Remove the background from any photo locally in your browser. No upload, no queue.
Loading tool…
How to use it
- Select a photo with a clear subject.
- Wait for the segmentation model on first use.
- Download the transparent PNG.
When to use it
- You need a product photo, portrait, or object cut out onto a clean background.
- The subject is clearly separated from the background in a normal photo.
When not to use it
- Hair, fur, or glass edges must be perfect. The segmentation model produces a soft edge, not a hand-made matte.
- You are on a slow connection or an old phone. The first run downloads the model before it can start.
Example
portrait.jpg, 1200×1600
a PNG with the background removed and transparency kept
Good to know
- The segmentation model runs on your device. The first run downloads about 40 MB of model data, then the browser caches it.
- Works best on people, products and animals with a clear subject. Fine details like hair edges are approximate.
- Output is a transparent PNG. Your photo is never uploaded, so nothing sensitive leaves the machine.
Questions
Why does it download about 40MB on first run?
The segmentation model runs locally through WebAssembly and has to be fetched once, then the browser caches it. That download is why the image itself never leaves your device.
What image size works best?
Up to 4000 pixels on the long edge. Larger images are downscaled, which softens fine edges like hair and fur.
Does it work offline after the first run?
Yes, if the browser keeps the weights cached.
What comes out?
A PNG with a real alpha channel. JPG, PNG and WebP inputs are all accepted.
Is my photo uploaded to a server?
No. Inference is local; there is no API call that carries the image.