Remove Image Background
Upload a photo and AI finds and removes the background automatically. Plain backgrounds can also be erased with one click in the Click a color tab. Images stay on your device.
Loading the tool...
When to use it
Product photos on a white background
On the "AI auto" tab, drop in several product photos at once. Check the results, set "Background" to "White", and take them all with "Download all (ZIP)". Saving as JPG also gives a white background.
A portrait with lots of hair
If thin hair edges look rough, turn on "AI HD mode". It is slower and downloads a large file once, but handles fine edges more carefully. If edges look hard, set "Smooth edges" to "Light" or "Medium".
A logo on a solid color
When the background is one color, use "Click background" on the "Click a color" tab and click it once. If too little disappears, raise "Tolerance"; choose "Same color everywhere" to clear the holes inside letters. Clean up leftovers with "Eraser" and "Restore".
How to use
- Choose one or more photos. The AI tab is on by default.
- The standard AI loads a small model (about 4.5 MB) from this site and starts quickly. Turn on HD mode to download a more precise model once (with a progress bar).
- Check the automatic result and adjust edge smoothing, background color, or format if needed.
- For plain backgrounds, the Click a color tab erases it in one click and lets you refine with the eraser and restore brushes.
How it works
The default AI mode runs a small U-2-Netp model (about 4.5 MB) that is hosted on this site, using ONNX Runtime in WebAssembly. The optional HD mode uses BiRefNet_lite through transformers.js, with model files downloaded once from our model storage (models.dagotools.com, with Hugging Face as a fallback). Either way your photo is processed on your device and is never uploaded. Your file is processed in this browser and is not uploaded. To check this yourself, watch the browser's DevTools Network tab while you use the tool (step-by-step guide).
More tips
When you need background removal
- Cleaning up a messy background behind a product photo for a marketplace listing
- Isolating just the person for a profile picture or presentation slide
- Turning a logo or character image into a transparent PNG
Alternatives: built-in Windows and Mac tools
Windows 11 Paint has a Remove Background button in the Image section of the toolbar. Open a photo, click it, and the AI will automatically detect the subject and erase the background. The Photos app also has a background removal path via Edit image → Background → Remove. Both work in one click, though fine edges (wispy hair, translucent materials) may need manual cleanup.
Mac's Preview app has an Instant Alpha feature that works reasonably well when the background is a single solid color. Click the arrow next to the selection tool in the toolbar, choose Instant Alpha, then drag over the background to select similar-colored areas. It struggles more when the background is complex or shares colors with the subject.
Common problems
- The edges look rough: when there's little color contrast between subject and background, or the photo is blurry, edge detection gets less accurate. Bright, even lighting with strong contrast against the background gives the cleanest results.
- Hair looks slightly cut off at the edges: very fine, flyaway hair strands aren't always picked up perfectly by automatic detection. Zoom into the result to check, and try again if needed.
- The PNG shows a white background instead of transparency: some older programs or viewers don't support transparency and display white instead. Open it in a modern browser or image viewer to see the actual transparent background.
Is my data safe?
Yes. Dagochim's background removal tool never uploads your photo to a server — the AI model runs inside your browser. Only the model file (tens to a couple hundred MB) is downloaded once and cached by your browser; the photo itself is never sent anywhere. Devices with WebGPU process faster; others fall back to CPU (WASM) and still run entirely on your device, just a bit slower.
FAQ
How does the AI auto mode work?
If the subject has a clear outline (people, animals, products), the AI finds the background automatically. If a person is in the photo, a person-segmentation model runs alongside the standard model so the whole body is kept instead of being partly erased; without a person, it goes by the object's outline instead. AI HD mode runs a more precise model (BiRefNet) on your device, and only the model file is downloaded once.
What photos work best?
AI mode works best when the subject has a clear outline. Plain or simple backgrounds also erase cleanly with the Click a color tab.
Is my photo uploaded?
No. Processing happens on your device, not a server. The standard AI model is served from this site; HD mode downloads its model files once from our model storage (models.dagotools.com, with Hugging Face as a fallback).
How do I keep the background transparent?
Leave "Background" on "Transparent" and save as PNG. JPG cannot hold transparency, so the background becomes white.
Fine hair or fur comes out rough.
Try "AI HD mode". It runs a more detailed model, which can improve thin edges. If the device runs short of memory it switches back to the standard mode on its own.
Can I process many photos at once?
On the "AI auto" tab you can add several photos and take them together with "Download all (ZIP)". The "Click a color" tab works on one photo at a time.
Can I put a different picture behind the subject?
You can make the background transparent, white or a chosen solid color, but placing another photo behind is not supported. Save a transparent PNG and layer it in another editor.
Which files can I use?
JPG, PNG and WEBP photos. Video background removal is not supported, and iPhone HEIC photos need to be converted to JPG first.
When should I use the "Click a color" method?
Use it when the background is one flat color, like a studio sheet or a screenshot. Pick the background color and adjust "Tolerance" until only the background disappears, then fine-tune with the brush. It can struggle with busy or gradient backgrounds, where AI auto works better.
What if AI HD mode does not work on my computer?
HD mode gives finer edges such as hair but is slower and downloads a large file once. If it fails or your PC does not have enough memory, the photo is processed in standard mode instead and you are told that this happened.
Last checked: October 8, 2026 · Dagochim team
Related tools
Passport & ID Photo Maker
Crop a photo to passport or ID size and make a 4x6 print sheet.
PhotosCrop & Resize Image
Crop to any ratio and resize by pixels or percent.
PhotosImage Converter & Compressor
Convert, resize and compress images.
PhotosCombine Photos
Merge several photos side by side, top to bottom or in a grid.
PhotosBlur & Pixelate Photo
Hide faces, license plates and addresses with mosaic or blur.
PhotosRelated guide
See the How to Remove a Photo Background for Free guide for a step-by-step walkthrough.
Open source used
AI auto mode runs the following open-source software inside this browser. Your photo and the model's output are never sent to a server.
- U-2-Netp (Apache-2.0 license) — the small, fast model used by standard AI mode. Its weights (~4.5MB) are hosted on this site, so no other service is involved.
- BiRefNet_lite (MIT license) — the more precise model used by AI HD mode. The ONNX-converted weights (originally distributed on the official Hugging Face repository) are mirrored unchanged on the Dagochim family model storage (models.dagotools.com) and downloaded from there, with Hugging Face as a fallback.
- ONNX Runtime Web (MIT license) — the runtime that runs the AI model in the browser (WebGPU/WASM).
- Transformers.js (Apache-2.0 license) — the library that loads the model and pre/post-processes the photo.
- MediaPipe Selfie Segmenter (Apache-2.0 license) — a person-segmentation model used alongside the standard model when a person is in the photo, so the whole body is kept instead of being partly erased. Its files ship with this site, just like the ID Photo tool's auto-fit feature.