How to remove a photo's background without uploading it
You can remove a photo's background in your browser without uploading the picture, because the cut-out is calculated on your own device. Drop one photo with one clear subject into the tool, check the before and after, choose what replaces the background, and download the result. Choose a transparent PNG when the subject will sit over something else.
Remove backgroundBackground needs to goOpenWhat the model does
The tool uses U²-Net, a neural network trained to find the most noticeable object in an image. The compact version, u2netp, is small enough to download once and keep in the browser. It runs through ONNX Runtime Web, which executes the model as WebAssembly, the code format browsers run at close to native speed.
The model does not produce a cut-out directly. It produces a mask: a score for every pixel, from 0 for background to 1 for subject. Pixels in between mark the uncertain edges, such as loose hair or a blurred outline. A guided filter then refines that mask using the photo's own detail, so the boundary follows real outlines, such as a shoulder or the neck of a bottle, instead of a soft blob. The refined mask becomes the photo's transparency.
The first use downloads the runtime and the model, about 16 MB before compression. After that the browser keeps them, and the tool works offline. Only that first run needs a connection.
Transparent PNG or JPG
The output format decides what the file can hold.
A PNG has an alpha channel, which stores an opacity for every pixel. A transparent PNG can be placed over a web page, a slide or another photo, and the empty area stays empty.
A JPG has no alpha channel, so it cannot store transparency. The empty area must be a real colour. That is why the tool offers White, a Colour of your choice, and Blur for JPG output. Blur keeps the original scene, softened, behind the subject.
Choose by where the image is going:
| Destination | Choose | Why |
|---|---|---|
| Placed over another picture or a slide | Transparent PNG | The background stays empty |
| A listing that needs a plain background | White, saved as JPG | A solid background is what the listing shows |
| A brand card or banner | Colour | The colour matches your design |
| A portrait with a soft backdrop | Blur, saved as JPG | The original setting stays, out of focus |
Be careful when a transparent PNG goes through another program. Some upload forms convert PNG files to JPG, and that conversion fills the empty area with a solid colour, often black. Check the picture in the platform's own preview before you publish.
Which photos work
The model needs a subject it can separate from its surroundings. These inputs work well:
- One subject in focus, such as a person, a pet, a mug or a shoe.
- A background that differs from the subject in colour or brightness, such as a dark jacket against a pale wall.
- Soft, even light. A hard shadow on the ground can be read as part of the subject.
- A subject large enough that its edges span many pixels.
These inputs are harder:
- Several people who overlap each other.
- Busy scenes, such as shelves, crowds, foliage or patterned fabric.
- Fine hair or fur against a background of similar colour.
- Glass, mesh and other things you can see through.
When the result misses, the photo is usually the cause. A second photo with a plainer background tends to work better than more adjustments on the first.
Tips for product and profile photos
For products, shoot against a surface that contrasts with the object: a white mug on grey card, or a black bottle on pale paper. Leave empty space around the object so its edge is not cropped. Diffuse light from a window gives softer shadows than a bare lamp, and softer shadows are easier to separate from the object.
For profile photos, the usual failure is hair. Fine strands can disappear or come out with a flat, hard outline. Use the Edge slider to move between soft and crisp. A softer edge keeps wisps of hair. A crisper edge removes the background fringe around hard shapes like shoulders or a hat brim.
Check the cut-out against a dark background and a light one. A light fringe shows up on dark backgrounds, and a dark fringe shows on pale ones. The before and after slider helps you compare both.
For a round avatar, crop the picture to a circle after the cut-out. To keep a whole product in a square frame with a plain border, use square-image on the downloaded file.
Size and edges
The output is capped at 2,800 pixels on the longer side. That is enough for most web listings, social posts and profile pictures, but not for a large print. For print work, keep the original and cut out from the full-size file.
If a form sets a file size limit, run the download through compress-image. A JPG responds well to a lower quality setting. A PNG has no quality setting, so it shrinks mainly through its pixel size. A JPG is usually much smaller than a PNG of the same picture, so if the form accepts JPG, White or Colour is the lighter choice.
Privacy compared with upload-based removers
Many online background removers send the photo to a server, cut it out there and send a result back. What happens to your file after that depends on the service's storage and retention policy, which you have to read and trust. A photo of a person is personal data, and you may not want a copy on someone else's server.
This tool does not send the photo anywhere. The only downloads are the runtime and the model file, which the browser fetches from this site. You can check this yourself: open the browser's developer tools, go to the Network tab, drop a photo and watch the requests. No request carries the image at any point.
Quick answers
Does the photo leave my device? No. The model runs in the browser, and the photo is processed in memory on your device.
Why is the first run slower? The browser downloads the runtime and the model, about 16 MB before compression. Later runs use the cached files.
Why not save every result as JPG? JPG cannot store transparency. Use it only when you have chosen a solid background.
Can it cut out a group photo? Not cleanly in most cases. Overlapping people are hard for the model, so crop to one person first or use a photo where the people are apart.
