How to Remove Image Backgrounds Online (2026)
Removing image backgrounds is one of the most requested image editing tasks. Product photos need white or transparent backgrounds for e-commerce. Profile pictures need cutouts for social media. Design projects need isolated subjects for compositions. While AI-powered tools dominate this space, understanding how background removal works helps you get better results and troubleshoot when automated tools struggle.
How Color-Based Background Removal Works
The simplest approach is flood fill removal: you click on the background color, and the algorithm removes all connected pixels of that color. This works beautifully for solid-color backgrounds — product photos on white, green screen footage, or graphics on solid backgrounds.
The algorithm starts at your click point and expands outward, checking each neighboring pixel. If a pixel is close enough in color to the target (within the tolerance threshold), it becomes transparent. The expansion continues until it hits pixels that differ too much from the target color.
This is fundamentally different from AI-based background removal, which uses neural networks to identify the subject. Color-based removal is simpler, faster, more predictable, and works entirely in your browser with zero server dependency.
Understanding Tolerance and Edge Settings
Tolerance controls how similar a pixel must be to the target color to be removed. In our tool it is measured in color levels, the same 0 to 255 steps each red, green and blue channel uses, and the default is 32. At 0 only the exact clicked color goes.
Set it just above how much your background varies. We tested a 600 × 400 JPEG whose background faded from white (255) to light grey (225), 30 levels, with a light-grey box 41 levels from white on it: tolerance 32 removed the whole background and kept the box, while 48 removed the box too. A flat digital background needs very little; a photographed one needs enough to cover its lighting gradient, but not so much that it reaches the subject.
Edge softness makes pixels near the tolerance limit partly transparent instead of cutting them off completely, which smooths the edge. It does not blur the edge by a number of pixels, and the partly transparent pixels keep their original color, so a subject cut from a white background can show a pale rim when placed on a dark page.
Handling Difficult Cases
Hair and fine detail: color-based removal struggles with hair, fur, and wispy edges because these areas blend gradually with the background. For these cases, AI-powered tools generally produce better results.
Shadows: subject shadows on the background create a gradual color transition. Low tolerance preserves shadows (which you may want for natural compositing). High tolerance removes them (cleaner cutout but less realistic).
Multi-colored backgrounds: gradient backgrounds, textured backgrounds, and environments with varied colors require multiple passes at different click points and tolerance settings, or a completely different approach.
Saving Your Cutout
Always save background-removed images as PNG. JPG does not support transparency — saving as JPG replaces transparent areas with white, defeating the purpose of the background removal.
PNG files with transparency are larger than equivalent JPGs. That extra size is the cost of keeping transparency.
The tool exports a transparent PNG only. If you need a white background, place the cutout on white in an image editor, or convert it to JPEG, which has no transparency and fills it in, usually with white.
Frequently Asked Questions
How is this different from AI background removal?
Why is there a halo around my subject?
Can I remove backgrounds from photos of people?
What format should I save in?
Remove backgrounds from your images — free, private, no signup.
⚡ Open Background Remover