Remove Background from Image

Remove the background from any photo locally in your browser. No upload, no queue.

Loading tool…

How to use it

  1. Select a photo with a clear subject.
  2. Wait for the segmentation model on first use.
  3. Download the transparent PNG.

When to use it

When not to use it

Example

portrait.jpg, 1200×1600

a PNG with the background removed and transparency kept

Good to know

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.