Image Compressor
Shrink JPG, PNG and WebP with a quality slider and live size readout.
Image & Photo
Cut the subject out of a photo with a model that runs on your device.
The image is resized to 320×320, normalized, and fed into U²-Net — a nested U-structure convolutional network trained for salient object detection. The network outputs a single-channel probability mask at the same resolution, where each value is the model’s confidence that the pixel belongs to the foreground.
That mask is upscaled back to the source resolution with bilinear interpolation, refined at the edges, and written into the alpha channel of the original pixels. The color data is never altered — only transparency is added, which is why the cutout composites cleanly onto any background.
Inference runs through ONNX Runtime Web. Where WebGPU is available (Chrome and Edge 113+, Safari 18+) the convolutions execute on your graphics card and a typical photo processes in two to four seconds. Without WebGPU it falls back to WebAssembly with SIMD, which takes roughly fifteen to forty seconds.
U²-Net was trained on salient-object datasets, so it excels where there is one clear subject against a distinguishable background — the exact case of product photography and portraits.
| Subject | Result | Notes |
|---|---|---|
| Product on a plain background | Excellent | The training distribution; edges are clean |
| Person, upper body | Excellent | Strong on faces and torsos |
| Hair, fine strands | Fair | Soft edges lose individual strands |
| Glass, transparent objects | Poor | The model has no concept of transmission |
| Motion blur | Poor | Ambiguous boundaries produce a ragged mask |
| Multiple subjects | Variable | Salience detection may pick only one |
| Low contrast subject/background | Poor | The boundary is genuinely ambiguous |
The Silueta build of U²-Net stores about 11 million parameters as 32-bit floats, which is where the size comes from — the full U²-Net is 168 MB, too much to ask for on a first visit. It downloads once, on your first use, and is then stored in the Cache API by the service worker.
Every subsequent visit loads it from disk in milliseconds with no network request. The download is also deferred until you actually drop a file — landing on this page and reading it costs zero bytes of model data, which is why the page itself loads as fast as any other on the site.
If the model cannot be fetched — you are offline on a first visit, or a corporate proxy blocks the CDN — the tool says so plainly instead of failing silently.
Functionally the two do the same job. The differences are in economics and in where your image goes.
remove.bg processes on their servers, which means your image is transmitted, and their free tier limits you to preview resolution with paid credits for full size. That model exists because GPU inference at their scale has a real per-image cost.
Running the model on your own hardware moves that cost to zero, which is why there is no credit system here and no resolution cap. The trade is speed on low-end hardware and the one-time model download. For product photos, marketplace listings and profile pictures — where you may be processing dozens of images and none of them should be sitting on someone else’s server — the trade is usually worth it.
No. The model is downloaded to your device and the image is processed locally. The only network request is for the model file itself, and it happens once.
Almost certainly the WebAssembly fallback. Without WebGPU, roughly 44 million parameters are evaluated on the CPU. Chrome or Edge on a machine with a discrete or integrated GPU will be five to ten times faster.
The same as your input. The mask is computed at 320×320 and upscaled, so very large images have slightly softer edges relative to their size — but no resolution is lost from the color data.
Partially. Broad hair shapes are captured well; individual flyaway strands are lost, since the mask is computed at 320×320. For studio portraits where hair detail is critical, a manual matte in an image editor still wins.
No. There is no credit system, no daily cap and no account, because your hardware is doing the work.
U²-Net is released under the Apache 2.0 license, which permits commercial use. Some newer segmentation models are research-license only and cannot legally be used in a commercial product.
Yes. After the cutout, pick a solid color to composite onto, or download the transparent PNG and place it over any background in your editor.