Removing a Background, Step by Step
- Add a picture. Drop a JPG, PNG, or WebP file on the box, or click the box to pick a file. GIF and BMP files also work, because the tool changes them to PNG first. The tool works on one picture at a time.
- Click "Remove Background". The page first shows "Loading AI model...". The first time, this is when your browser downloads the model. Then it shows "Removing background...". The progress bar shows how far each download file has come. Keep the tab open and wait.
- Check the result. The original is on the left and the result is on the right. On a phone, they are one above the other. The checkerboard pattern marks the parts that are now see-through. Look closely at hair, fingers, and thin edges.
- Click "Download Transparent PNG". The file has the same width and height as your original. Its name starts with
no-bg_ and ends in .png. For example, shoe.jpg becomes no-bg_shoe.png.
For the next picture, click "Clear" and add a new file. The model is already loaded, so the next picture skips the download, as long as you do not reload the page.
What Happens the First Time You Use It
Your photo is never uploaded. It is processed inside your browser. But the AI model is not part of this page. Your browser downloads it the first time you click the button. Here is everything the tool downloads:
| What | Comes from | Size |
The tool code (the open-source @imgly/background-removal library, version 1.5.5) | cdn.jsdelivr.net | Small compared with the model |
| The AI model (ISNet, the medium version) | staticimgly.com, run by IMG.LY, the company behind the library | About 88 MB |
| ONNX Runtime, the engine that runs the model | staticimgly.com | About 10 MB |
| Your photo | Not sent anywhere | Stays on your device |
That is close to 100 MB in total. On mobile data, use Wi-Fi if you can. On a slow connection, the download can take several minutes.
Your browser may keep a copy of these files in its normal cache, so a later visit can start faster. This is not guaranteed. The browser can remove large files from its cache. A private window or clearing your browsing data also removes them.
If the download stops with an error, check your internet connection and click "Remove Background" again. The tool starts the download again, so you do not need to reload the page. If it fails a second time, a "Reload the page" button appears. Reloading starts everything fresh.
Photos That Work Well, and Photos That Are Hard
The model looks for the main subject and makes everything else see-through. It does best with:
- One clear subject, such as a person, a pet, or a product.
- A sharp, well-lit subject.
- A background that is plain, or clearly different in color or brightness from the subject.
These are harder, and you may need to fix the result in a photo editor:
- Loose hair or fur against a busy background. Single strands may disappear, or small patches of background may stay between them.
- Glass, bottles, water, smoke, and thin fabric. The background you can see through them may stay, or the object may partly vanish.
- Similar colors. A white shirt against a white wall, or a green plant against green leaves.
- Low light, blur, and strong shadows. A shadow on the floor may be kept as part of the subject.
- Several people or objects. The model guesses what the main subject is. It may keep one person and drop another.
- Very thin parts, such as bicycle spokes, plant stems, or necklace chains.
Get a Cleaner Result Before You Start
- Crop close to the subject first. The model looks at a 1024 × 1024 pixel copy of your picture. It then stretches the result back to your full size. When the subject fills more of the picture, it gets more of those pixels, and the edges come out cleaner. Use the Crop Image tool for this.
- Avoid very wide or very tall pictures. They are squeezed into that square, so thin details suffer more. A crop closer to a square shape helps.
- If you take the photo yourself, use a plain wall or sheet behind the subject. Move the subject a step away from it, so the shadow falls behind. Use soft, even light.
Using the Transparent PNG
- Product photos on white. Many online shops want a plain white background. This tool has no option to add a color. Put the PNG on a white layer in any editor, such as Canva, GIMP, or Photoshop.
- Profile pictures, stickers, and slides. Place the cutout on a new color or picture.
- Keep it as PNG or WebP. JPG cannot store see-through areas. If you save the result as JPG, the clear parts are filled with a solid color. A simple PNG-to-JPG conversion in the browser, including our Convert Image tool, usually fills them with black.
- Watch for a thin outline. The edges are soft on purpose, so they can keep a little of the old background color. On a very different new background, you may see a light or dark line around the subject.
- Expect a bigger file. PNG does not throw away detail, so the result is often larger than the JPG you started with.
If It Is Slow or Stops on Your Device
The model runs on your device's processor (CPU) through WebAssembly. It does not use the graphics card. A laptop or desktop is usually faster than a phone.
The model and your full-size photo must both fit in the memory of one browser tab. A 12-megapixel photo (4000 × 3000) needs about 48 MB just to hold its pixels once, and the tool keeps several copies while it works. On older phones and tablets, the tab may reload or show an error. If that happens:
- Close other tabs and apps.
- Make the photo smaller first with the Resize Image tool, for example to 2000 pixels on the long side. The result will then be that size too.
- Try on a computer.
What This Tool Does Not Do
- It does not add a new background color or picture.
- There is no brush to fix edges by hand.
- It saves PNG only.
- It works on one picture at a time.
- It cannot open HEIC photos in most browsers. Only browsers that can show HEIC, such as Safari, can use them. In other browsers the tool shows a message, so save the photo as JPG or PNG first.
- It does not keep animation. For an animated GIF, only the first frame is used.
- The first use needs an internet connection to download the model.
Frequently Asked Questions
Is my image uploaded to a server?
No. Your image is processed inside your browser and is never sent anywhere. The page does download files: the tool code from cdn.jsdelivr.net, and the AI model and its engine from staticimgly.com. These downloads only bring files to your device. They do not send your photo.
How big is the download, and do I download it every time?
The AI model is about 88 MB, and the engine that runs it is about 10 MB, so close to 100 MB in total. During one visit, it downloads only once. On later visits, your browser may still have it in its cache, but this is not guaranteed.
What image formats can I use, and what do I get back?
You can use JPG, PNG, and WebP. GIF and BMP files also work, because the tool changes them to PNG first. For an animated GIF, only the first frame is used. HEIC photos only work in browsers that can open them, such as Safari. Other browsers show a message, so save the photo as JPG or PNG first. You always get a PNG with a see-through background, at the same width and height as your original.
Why are the edges soft or rough on a large photo?
The model finds the subject on a 1024 × 1024 pixel copy of your picture. Then that outline is stretched back to your full size. On a big photo, fine details like hair can look soft. Crop close to the subject before you remove the background, so the subject fills more of the picture.
Can I get a white background or save as JPG?
Not in this tool. It only saves a transparent PNG. To get white, put the PNG on a white layer in a photo editor. JPG cannot store see-through areas. A simple PNG-to-JPG conversion in the browser usually fills them with black, not white.
Why is it slow or crashing on my phone?
The model runs on your phone's processor, and it needs a lot of memory for the model and your full-size photo. Older phones may take a long time, or the tab may reload. Close other tabs, make the photo smaller first, or use a computer.