Remove Background from Image
: Remove image backgrounds in your browser, at full resolution, with no uploadRemove Background from Image
Cut the background out of a photo and save the subject on a transparent, solid, gradient or blurred background. It suits product shots, portraits and profile pictures, and it can frame a passport-size or marketplace-ready image. The segmentation model runs in your browser, so the photos are never uploaded.
How to remove the background from a photo
- Drop images on the box, open them with
Open filesor paste them. JPG, PNG, WebP and HEIC are accepted. Then pressPrepare removerunder the file list and wait for the one-time download. - Each image is processed in turn. Processing starts when the remover is ready.
Stophalts the queue and keeps finished results;Process N waitingcontinues it. Pick an image's status button in the list to show it in the preview. - Check the result in the preview and switch the view to compare it with the original. Under
Edges, adjust the threshold and feather. - Fix mistakes with the
EraseandRestorebrushes, withUndoandReset editsif needed. - Pick a
Background, an optionalShadow, and underCrop and sizeaShapeandOutput size. Choose PNG, WebP or JPG underSave. - Press
Downloadfor the image in the preview, or chooseAll N as ZIPfrom the same menu when several are done; the archive isbackground-removed.zip.
Example
How the Crop and size shapes frame a subject 1600 × 2400 px inside a 4000 × 3000 px photo with the default 8% padding, and the names two files get.
photo: 4000 × 3000
subject box: x 1200, y 400, 1600 × 2400
first file: Mug.JPG
second file: mug.jpgWhole photo: 4000 × 3000
Cropped, original shape: 1984 × 2784
Cropped, square 1:1: 2784 × 2784
Cropped, passport: 413 × 531
Cropped, marketplace: 2000 × 2000
first file saves as: Mug-no-bg.png
second file saves as: mug-no-bg-2.pngDetails
- The model is BiRefNet-lite (MIT licence), fed a 768 × 768 copy of the photo. Its rough mask is scaled up to the photo's full size and then sharpened along the soft edge with a colour-guided filter, so hair and fur edges follow the real pixels.
- The result keeps the original pixels. Transparent PNG or WebP output is the photo with the mask as its alpha channel, with no recompression of the colours. Output is at full resolution unless you pick a smaller
Output size. - It runs on WebGPU when the browser and graphics card support it, and otherwise on WebAssembly with a single thread. WebAssembly works but is much slower: allow a few seconds or more per image instead of a fraction of a second.
Prepare removerdownloads the model and runtime once, about 120 MB (the model is 91.6 MB). Both come from this site only, are checked against a fixed checksum, and are kept in this browser until you clear site data or pressRemove downloaded model. Safari may delete them after about 7 days without a visit.- Backgrounds can be transparent, a colour, a two-colour gradient, or a blurred copy of the original. The shadow is a soft offset copy of the subject. A transparent background saved as JPG is exported on white.
Passport 35 × 45 mmgives 413 × 531 px, andMarketplace, white 1:1gives 2000 × 2000 px on white. Both are sizes only; check the rules of the country or shop for head size, background and margins.- Cropping to the subject adds padding only on sides where the subject does not touch the photo edge, so a cropped torso does not float above an empty strip. A shape wider than the subject extends the frame, and the added area shows the background.
- Each result is named like
photo-no-bg.png; a second file with the same name, in any letter case, becomesphoto-no-bg-2.png.
Limits
- Up to 30 images in a list, 40 MB and 50 megapixels per image. Output is capped at 50 megapixels and 16,384 px on a side, and is scaled down past that.
- Glass, water and other see-through objects usually come out opaque, because the model decides foreground or not rather than estimating how much shows through.
- Fine flyaway strands, such as loose hair or fur tips, can be cut off. Paint them back with the
Restorebrush. - A busy scene can make it drop a person, or keep part of something next to the subject. In tests it dropped a man standing by a car and kept a strip of the car door.
- A motion-blurred photo, or one with no distinct subject, can give a nearly empty mask. The image is then marked
No clear subject found: that happens when under 0.5% of the pixels count as foreground. - Large photos need memory: the test machine used about 1.2 GB for the model in WebAssembly mode. On a phone or low-memory device it can fail with an out-of-memory message; close other tabs or use a smaller image.
- Reloading or leaving the page clears the list and your edits, so download first. Only the model, not your images, stays in the browser.
FAQ
Is my photo uploaded when I remove the background?
No. The page downloads the model and runtime from this site, then runs them in a browser worker on your device. The image is read and processed locally and no request carries it anywhere.
Why is the first run slow?
The first run downloads about 120 MB and starts the model, which takes a moment. After that it is read from the browser's cache. Without WebGPU, each image also takes a few seconds or more on the processor.
Why does it say No clear subject found?
Under 0.5% of the picture was marked as subject. It happens with motion blur or when nothing stands out from the scene. Try a sharper photo with one clear subject.
Can it remove the background from glass or a bottle?
It will cut the shape, but see-through parts come out solid, not partly transparent. You can put the cutout on a background that suits, or use Erase to clear parts by hand.
Does it keep the original resolution?
Yes. The mask is scaled up to the photo's full size and the output keeps the original pixels, unless you choose a smaller Output size or the output exceeds the 50 megapixel cap.
Runs entirely in your browser. Nothing is uploaded.