Remove a Photo Background in Your Browser (Without Uploading It)
• images, background, how-to, privacy
Most “remove background” websites work by sending your picture to a server, running a model there, and sending a PNG back. That is fast when the network is good, and the best commercial tools are very good at hair and glass. It also means a passport photo, a product shot you have not published yet, or a picture of a child has just been copied onto someone else's computer, at least for a while.
There is another way to do the same job: run the model in the browser itself. That is what the background remover on this site does. The photo stays on your device. The first time you use the tool in a tab, the page downloads a self-hosted model and a small inference engine from this site — not from a third-party CDN — and then cuts the subject out locally.
This is a trade-off, and it is better to be plain about it than to promise a studio-quality cut-out for every picture.
How an on-device cut-out works
The model is Silueta, a reduced-size version of U²-Net, a published subject-segmentation network. It takes a copy of your photo, shrinks that copy to 320 × 320 pixels, and produces a soft mask: each pixel is “how much does this look like the subject?”. The mask is then stretched back to the original size and used as the PNG's transparency.
Two practical consequences follow from that design.
First, the model has to be on your machine before it can run. Silueta is about 42 MB, and the ONNX Runtime engine that executes it is about 15 MB. Those files are stored on this site and fetched only when you click Remove background. Other pages — the compressor, the PDF tools, the home page — do not pay that cost. After the first run in a tab, the browser can reuse the copy already in memory, so a second photo is much quicker.
Second, 320 × 320 is a small canvas. A sharp 4,000-pixel portrait is downsampled a long way before the model sees it, and the upsampled mask cannot invent strands of hair that were lost in that shrink. That is why a mug on a kitchen table often looks clean, and why flyaway hair against a patterned sofa often does not.
What it is good at, and what it is not
The model was trained for general objects and people, not as a specialist portrait product. In everyday use it tends to do well when:
- there is one clear subject, reasonably sharp, filling a good part of the frame;
- the background is simpler than the subject, or at least a different colour and texture;
- you are cutting out a product, a logo on a plain backdrop, a pet, or a person standing against a wall.
It tends to struggle when:
- several people overlap, or the “subject” is really a group;
- the background is full of competing shapes (a bicycle wheel, a fence, shelves of similar colour);
- you need wispy hair, a veil, glass, or a semi-transparent object to be treated with care;
- the photo is very dark, very noisy, or the subject is tiny in the frame.
If the result is close but not right, a tighter crop first — the crop tool will do — often helps, because the model then spends its 320 × 320 on the subject instead of on the room around it. You can also tidy the PNG in any editor you already use. This tool is a first cut, not a retouching studio.
Why not a smaller, or a larger, model?
A 4 MB model would download in a couple of seconds on a slow connection, but the cut-outs are noticeably coarser. A 170 MB general model can be sharper, and would make the first run painful on a phone and expensive to host for every visitor. Silueta sits in the middle: large enough to be useful on a single clear subject, small enough that a self-hosted download is realistic.
A different family of tools, aimed only at portraits, can look better on selfies and worse on a product shot. This site's tool is the general-purpose one, and the page says so. If you regularly need commercial hair quality, a dedicated service is still the honest recommendation — with the upload that comes with it.
A note on file size and format
The download is a transparent PNG at the size of the photo you gave it, unless a side was larger than 4096 pixels. That cap is there so a 12,000-pixel camera file cannot take the tab down. If you need a JPG with a solid backdrop instead, run the PNG through PNG to JPG and pick a background colour. If you need a smaller file for a website, the image compressor or compress to a target size will shrink it without sending it anywhere.
SVG logos are a different job. If you already have a vector file, SVG to PNG will give you a sharp bitmap without any guessing about what the subject is. The background remover is for photographs.
When this approach is the right one
Use an on-device cut-out when the picture is something you would rather not upload: identity documents you are preparing, unpublished product photography, a family portrait, a medical image you have been asked to anonymise further. Use it also when you want a good-enough transparent PNG quickly, and you can live with a little tidying.
Do not use it as a silent replacement for a paid, specialised tool if the edge quality is the whole point of the job — a catalogue of hair-care products, for example, or a composite that has to survive a large print. In those cases the slower first run is not the issue; the model itself is the limit.
The background remover is free, it does not require an account, and it does not keep a copy of your photo. That is the contract. The rest is a model doing its best at 320 × 320, on your machine.
Frequently asked questions
Does the photo leave my computer?
No. The picture is processed in your browser. The only downloads are the model and the engine, and those come from this site when you click the button, not from a third-party CDN.
Why is the first click slow?
The first run in a tab has to download a model of about 42 MB and a WebAssembly engine of about 15 MB, then initialise them. Later runs in the same tab reuse that copy and are much quicker.
Will it handle hair as well as a paid service?
Often not. This is a general-purpose subject model, not a hair-specific one. A person against a plain wall usually looks fine; stray hairs against a busy room often do not.
What file do I get?
A PNG with a transparent background. Place it on a slide, in a document, or in an editor. Sides larger than 4096 pixels are scaled down so the tab stays usable.