Skip to main content

Remove the background from an image

Cut the subject out of a photo with the U-2-Net model running in your browser, and download a PNG with a transparent background, or with a colour of your choice behind it.

Choose a file

Tap to pick files from your device

Free plan: 1 file per job, up to 20,000,000 bytes.

This operation runs in your browser. Your file is not uploaded for processing.

Result

The result appears here after you run the tool.

How to remove the background from an image

  1. 1

    Select or drop a photo.

  2. 2

    Choose a transparent background or a colour.

  3. 3

    Remove the background.

  4. 4

    Check the edges, then download the PNG.

What this tool does

  • Subject detected automatically, no clicking or tracing
  • Transparent PNG, or a solid colour behind the subject
  • Full resolution output
  • Model runs on your device; the photo is not uploaded
  • Reads the file signature instead of trusting the file extension.
  • Reports the measured size of the file your browser produced.

Questions about Remove image background

Will the cut-out be perfect?
Not always. It works best on one clear subject in front of a plain, contrasting background. Hair, fur, glass and subjects the same colour as the background often come out with rough or missing edges, so check the result before you use it.
Which model does it use?
U-2-Net-p, a small salient-object model published under the Apache 2.0 licence. It is served from this site and run with ONNX Runtime in your browser.
Why is the first run slower?
The model and its runtime are loaded the first time you use the tool. After that they stay loaded until you leave the page.
Is my file uploaded to a server?
No. The ONNX Runtime engine is downloaded to your browser the first time you use this tool, and your file is processed on your own device. Nothing you choose is sent to us or to the download service.