Real on-device AI
Uses the ISNet segmentation model through ONNX Runtime Web — the same technology used by professional tools, running entirely in your browser.
Remove the background from a photo with an AI model that runs entirely in your browser. No uploads, no server, no API key. Adjust the edges, replace the background colour, and download a transparent PNG. The first run downloads the model (~40 MB); later runs load from cache instantly.
Private by design. The segmentation model runs locally via WebAssembly and ONNX Runtime Web. Your image is never uploaded, stored, or logged on any server. On first use, the model file is fetched from a CDN and cached by your browser.
or click to browse — JPG, PNG and WebP are supported
Best results with portraits, products and clear subjects. Up to ~20 MB.
Higher values soften rough edges. Hair and fur benefit from a setting around 2–4 px.
Lower values keep more of the subject; higher values remove more of the background.
Uses the ISNet segmentation model through ONNX Runtime Web — the same technology used by professional tools, running entirely in your browser.
Drag the handle to compare the original image and the cutout side by side, without leaving the page.
Keep transparency or replace the background with white, black, blue, or any custom colour you choose.
Adjust edge softness and mask threshold to smooth rough cutouts around hair, fur and semi-transparent objects.
The AI model runs locally. Your image is never uploaded, stored, or logged anywhere.
The model is cached by your browser after the first download, so subsequent runs are instant on the same device.
Removing the background from a photo used to require either a careful manual selection in an image editor or a paid cloud service that uploaded your file to a server. In the last few years, that changed. Segmentation models small enough to run in a web browser now produce results that were the exclusive domain of desktop software just a few years ago. This tool uses one of those models, running entirely on your device.
A segmentation model takes an image as input and outputs a mask — a per-pixel map indicating how likely each pixel is to belong to the foreground. The model used here is a variant of ISNet, an image segmentation network that has been exported to the ONNX format and quantised to reduce its size. The browser runs it through ONNX Runtime Web, a WebAssembly build of the same runtime used by many production machine learning systems.
The first time you use the tool, the model file (about 40 MB) is downloaded and cached. Subsequent runs load it from cache, so they start almost instantly. There is no server round-trip on any future use.
On-device models have improved dramatically, but they are not perfect. They tend to work best on:
They struggle with:
The raw output of the model is a starting point, not a finished cutout. This tool exposes two sliders that let you tune the result. Edge softness blurs the alpha channel slightly, which hides jagged pixel edges at the cost of some sharpness. Mask threshold shifts the decision boundary: a lower value keeps more of the subject and may include some background; a higher value removes more background and may eat into the subject. The right values depend on the image, so experiment until the edge looks clean.
The final step is compositing. The mask becomes the alpha channel of the output. Transparent areas stay transparent, and the subject is preserved. You can then choose to keep the transparency or fill the background with a solid colour for use in contexts that do not support alpha, like JPEGs destined for a specific layout. PNG is the correct output format for transparency because it is the only widely supported image format that preserves an alpha channel.
This background remover is part of the TempScript free online tools collection. It runs entirely in your browser, requires no account, and never sends your images anywhere. If you work with images regularly, you may also find our image compressor and images to PDF converter useful.
© 2026 TempScript. All rights reserved.