Remove the background

Cut a person or product out of a photo and get a transparent PNG, with the AI model running on your own device instead of someone else’s server.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Downloads a small public example. Your own files are not used.

Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To remove a background without uploading the photo, open it here and press Remove the background. A segmentation model (rembg’s silueta, about 44 MB) runs inside your browser with ONNX Runtime and returns a transparent PNG. The model downloads once from this site and is cached, so later cutouts work offline and your image never leaves the device.

A worked example

See a real input and result

This synthetic sample produced 1 output file from 1 input file. These are synthetic demonstration files, not someone’s documents.

Input sample

Input sample: input-1-cut.png

Actual output

Actual output: output-1-cut-cutout.png
Input count
1
Output count
1
Images cut out
1
Output size
256 × 256
Transparent area (sample)
71%
Bytes in → out
5 KB → 15 KB
Input 1 dimensions
256 × 256 px
Output 1 dimensions
256 × 256 px
Input bytes
5289
Downloadable output bytes
14966

This synthetic sample only; results depend on the input. Background removal runs entirely on your device. The first run downloads about 80 MB of model and WebAssembly assets from this site (then the browser caches them). You get a transparent PNG — strong on product shots and portraits; very busy scenes may still need a touch-up. Synthetic shape, not proof of real portrait quality.

Ran through this tool on . Use “Try sample files” above to run it yourself.

How to remove the background from a photo offline

  1. STEP 1

    Choose a photo

    Drop a JPEG, PNG, WebP or iPhone HEIC on the page. You can select several and each one gets its own cutout.

  2. STEP 2

    Press Remove the background

    The first time, the model and runtime download from this site and are cached. After that the cutout starts straight away.

  3. STEP 3

    Compare before and after

    Drag the handle on the comparison slider to check the edges around hair, fingers and product outlines.

  4. STEP 4

    Download the PNG

    Save the transparent PNG, named with a -cutout suffix, or download all cutouts as a ZIP.

How AI background removal works

Background removal is a segmentation task: a neural network looks at the image and estimates, for every pixel, how likely it is to belong to the main subject. That estimate becomes an alpha mask, where white means keep and black means make transparent, with soft greys at edges such as hair.

Most online removers run that network on their servers, so your photo has to be uploaded first. Running the model in the browser removes that step entirely. The cost is a one-time download of the model and a few seconds of work for your own processor.

Salient-object models like the one used here are trained to find the obvious subject of a photo. They do best when there is a clear subject, such as a person, a pet or a product, and can struggle when several things compete for attention or the subject blends into its surroundings.

What survives, and what does not

The engine is silueta, a compact version of the U²-Net model from the open-source rembg project, executed with ONNX Runtime Web in WebAssembly (up to four threads where the browser allows). Your photo is scaled to 320 by 320 for the model, the resulting mask is enlarged back to the photo’s size, softened with a 1.2-pixel feather and applied as transparency. Photos larger than 4096 pixels on the long edge are scaled down to 4096 first. There are no settings; you compare the result with a before-and-after slider and download it.

What you keep

The subject’s original pixels and colours

Your photo’s resolution, up to 4096 pixels on the long edge

Soft, feathered edges rather than a hard jagged cut

A real alpha channel in a PNG file

What you lose

The background, replaced with transparency

Hair-fine edge detail, because the mask is predicted at 320 by 320 and scaled up

Resolution above 4096 pixels on the long edge

Any choice of subject; the model decides what the foreground is

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Remove the background at a glance

InputJPEG, PNG, WebP, AVIF, HEIC, TIFF
OutputTransparent PNG
Modelrembg silueta (U²-Net family), ONNX
First-use downloadAbout 44 MB model plus the WebAssembly runtime
Max resolution4096 px on the long edge
Works offlineYes, after the first successful run
Runs onYour device, ONNX Runtime Web in WebAssembly

If something goes wrong

The first run takes a long time

The model and runtime are downloading once. On a slow connection that can take a minute; later runs reuse the cached copy and only spend a few seconds on the cutout itself.

Part of the background is still there, or part of the subject vanished

The model guesses the main subject. Busy scenes, groups and subjects the same colour as the background confuse it. Crop tighter around the subject first and run it again.

It says the engine could not start

The model download did not finish or was blocked. Reload the page on a working connection and run it once; private browsing modes that block storage can also prevent caching.

Remove the background questions

Can I remove a background without uploading my photo?

Yes. On this page the model runs in your browser tab, so the photo is processed on your own device. The only network traffic is the one-time download of the model from this site; your image is never sent anywhere, which you can check in the Network panel.

Does this background remover work offline?

Yes, once it has run successfully one time. The model and WebAssembly files are cached by the site’s service worker, so after that you can disconnect and keep cutting out photos.

How big is the download?

The silueta model file is about 44 MB, plus the ONNX Runtime WebAssembly engine that executes it. It downloads only the first time you use the tool and is then served from your browser’s cache.

How good is it on hair and fine edges?

Good for most portraits and product shots, but not perfect. The mask is predicted at 320 by 320 and enlarged, then feathered, so stray hairs and fine mesh can soften or drop out. Clean, high-contrast photos give the best edges.

Can I remove backgrounds from several images at once?

Yes. Select multiple photos and each is processed in turn on your device, then you can download all the transparent PNGs together as a ZIP.

Can I remove a background on iPhone or Android?

It runs in mobile Safari and Chrome, and accepts iPhone HEIC photos. Expect it to be slower than on a laptop, since the model runs on the phone’s processor, and the first run needs the full model download.

Can I replace the background with a colour or another picture?

Not on this page; it produces a transparent cutout. Place the PNG on any background in a slide, document or editor. Saving it through the compress tool as JPEG puts it on white.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/remove-background
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy