Background Remover

Global tools

A product photo on a grey background, a logo on white, a scan of a page, a portrait shot against a green screen: all of them look better - or work at all - once the background is gone. Doing that on most sites means uploading the picture, and those are exactly the images people would rather keep to themselves.

Drag & drop a file here, or .

Everything is processed in your browser - nothing is uploaded.

    One picture, up to 25 MB. It is read and edited in this browser tab and never uploaded - which matters most for the photographs people are careful about.

    The most reliable answer is usually the color the edges of the picture agree on.

    Only used by "a color I type in below". Six hexadecimal digits.

    How far a pixel may differ from that color and still be removed. Too high eats into the subject; too low leaves a fringe.

    Softens the cut edge. 0 gives the hardest edge; 2-4 px is what a photograph usually wants.

    Leaves a PNG that is exactly the size of the subject.

    Leave blank to name the file after the picture you drop in.

    Results update as you type. Nothing leaves your device.

    Plan for one picture

    18% tolerance

    Background taken from work it out from the edges of the picture, edges softened by 1 px, written as a transparent PNG.

    Output
    PNG with alpha
    Spread
    inwards from the edges
    Trim
    yes
    Pictures per job
    1

    What happens when you add a picture

    1. The background color is measured from the border pixels, or taken from the color you chose.
    2. A flood fill spreads inwards from the edges through every pixel close enough to that color, so a white shirt on a white background survives.
    3. The alpha channel is multiplied by that mask, so nothing is redrawn: the subject keeps exactly the pixels it had.
    4. The transparent border is cropped away, so the PNG is the size of the subject.
    5. The preview shows the result over a checkerboard, which is the only way to see a cut edge honestly.
    This is a color threshold and a flood fill, not a segmentation model: it is very good on plain backgrounds and honest about hair, fur and shadows. Nothing is uploaded.

    This page removes the background in the tab you already have open, using a color threshold and a flood fill rather than a downloaded model. That choice is the whole point of the page: it starts instantly, it needs no 40 MB download, and it is honest about what it can and cannot do. The result is a PNG with a real alpha channel, shown over a checkerboard so the cut edge is visible before you download it.

    About this background remover

    Against a plain wall, a green screen or a sheet of white paper, the same problem appears: the subject is fine but the background gets in the way of every layout it has to sit in. This page removes that background with a color threshold and a flood fill rather than a downloaded model, so a cut-out arrives in seconds and the file never leaves the tab.

    No account is needed and no picture is uploaded: the reference color, the flood fill, the feathering and the trim are plain arithmetic on the pixels, and the PNG is written in the tab you already have open. The page is honest about its ceiling too, because a threshold can separate a color but it cannot separate hair.

    Product shots, scans and logos are what this page is for; portraits against busy scenery are not, and hair or fur will always carry a fringe because no color rule can invent the missing strands. Raise the tolerance a little for a speckled edge and lower it when the fill eats the subject. Compare the preview against the original before you download.

    How this background remover works

    A threshold, a flood fill, and why that is enough

    The tool first works out which color the background is: it looks at the pixels around the border, finds the shade most of them agree on, and uses that. You can override it with white, black, chroma-key green or any color you type in.

    Then it walks inwards from the edges. Every pixel close enough to that color becomes transparent, and the walk stops at the first pixel that is not - which is what makes the flood fill smarter than a global color replacement. A white shirt on a white background survives, because the fill cannot reach it without crossing the subject. A green screen wants the other behavior, so there is a mode that removes the color anywhere in the picture instead.

    The alpha channel is then multiplied by that mask, so the subject is not redrawn: the pixels that stay are exactly the pixels that were there. What you see in the preview is the file you download.

    Tolerance is the one setting that matters

    Photos are full of noise. A background that looks like one flat color is usually hundreds of near-identical shades, and the tolerance is how far a pixel may stray from the reference and still be treated as background. Too low and the background comes back as a speckled fringe; too high and the fill starts eating into the subject.

    Distance is measured with the red-mean weighting from the color-difference literature rather than a plain RGB distance, because the eye is far more sensitive to green than to blue - which is what makes "20%" behave about the same way on a white background as on a green one.

    Edge softness then blurs the mask, so the cut does not look like a staircase. Photographs usually want one or two pixels; a graphic or a scan with hard edges usually wants none. Because the mask is blurred and not the picture, the softened pixels stay in proportion to the subject instead of turning into a halo.

    What this cannot do

    It cannot separate hair from a background. Hair, fur, feathers and anything see-through are a blend of subject and background rather than a clean line, and no color threshold can invent the missing part - that is what segmentation models are for, and they cost tens of megabytes to download and still make mistakes.

    It cannot remove a shadow, because a shadow is the same background color with the light taken out of it; lowering the tolerance enough to keep the subject usually leaves the shadow behind. It cannot tell "background" from "large area of the same color" - which is why the two spread modes exist, and why the tool tells you which one you used.

    It also cannot put anything back: the removed pixels are gone, and the result is a PNG because a JPEG has nowhere to store transparency. Keep the original, and treat the output as the cut-out.

    Trim, and the preview that shows the cut edge

    The transparent border is a choice, not an accident. Trimming crops it away, so the PNG is exactly the size of the subject - right when the cut-out goes into a layout and has to fill its box. Keeping it leaves the picture the size of the original, which is what you want when several cut-outs have to line up in the same position.

    The preview draws the result over a checkerboard, because only a checkerboard shows an edge honestly. You can spot a fringe or a missing piece before you download, and re-run with a new tolerance without ever closing a file.

    Worked examples

    Each example below was run through the calculator on this page when the site was built, so the numbers match what you see when you enter the same inputs.

    A product photo on a plain backdrop

    Which color is the background: Work it out from the edges of the picture · Tolerance: 18 % · Edge softness: 1 px · How far to spread: Spread inwards from the edges (keeps the same color inside the subject) · Crop the transparent border away: Yes

    Plan for one picture

    18% tolerance

    Background taken from work it out from the edges of the picture, edges softened by 1 px, written as a transparent PNG.

    Output: PNG with alpha · Spread: inwards from the edges · Trim: yes · Pictures per job: 1

    The default: the backdrop color is measured from the edges, the fill spreads inwards so a light-colored product survives, and the transparent border is trimmed away.

    A green-screen shot

    Which color is the background: Green screen (#00b140) · Tolerance: 32 % · Edge softness: 2 px · How far to spread: Remove that color anywhere in the picture (green screen) · Crop the transparent border away: No

    Plan for one picture

    32% tolerance

    Background taken from green screen (#00b140), edges softened by 2 px, written as a transparent PNG.

    Output: PNG with alpha · Spread: everywhere · Trim: no · Pictures per job: 1

    Chroma-key green with a wider tolerance and removal everywhere in the frame - the mode to use when the subject is not a different color from the background.

    A logo on white that needs a hard edge

    Which color is the background: White · Tolerance: 8 % · Edge softness: 0 px · How far to spread: Spread inwards from the edges (keeps the same color inside the subject) · Crop the transparent border away: Yes

    Plan for one picture

    8% tolerance

    Background taken from white, edges softened by 0 px, written as a transparent PNG.

    Output: PNG with alpha · Spread: inwards from the edges · Trim: yes · Pictures per job: 1

    Graphics want a tight tolerance and no softness: the letters keep their crisp edges, and the transparent border is cropped so the file is exactly the size of the mark.

    A cut-out that has to keep its place

    Which color is the background: Work it out from the edges of the picture · Tolerance: 18 % · Edge softness: 1 px · How far to spread: Spread inwards from the edges (keeps the same color inside the subject) · Crop the transparent border away: No

    Plan for one picture

    18% tolerance

    Background taken from work it out from the edges of the picture, edges softened by 1 px, written as a transparent PNG.

    Output: PNG with alpha · Spread: inwards from the edges · Trim: no · Pictures per job: 1

    Keeping the transparent border preserves the subject in its original position, so several cut-outs from one shoot stay lined up. Trimming is the default; this option is for the rest.

    Frequently asked questions

    Is my picture uploaded to a server?

    No. The picture is read through the browser file API, edited in the tab and offered as a download created locally. You can open the network panel while the job runs, or disconnect from the internet and remove the background anyway - both work, because there is no upload endpoint behind this page.

    Why does this need no AI model when other sites use one?

    Because removing a plain background is a color problem, not a recognition problem. The tool looks at the border pixels, works out the background color, and makes every pixel close enough to it transparent - which is instant and needs no download. A segmentation model can also handle busy backgrounds and hair, at the cost of tens of megabytes and a few seconds of work on your device. This page does the first job honestly instead of doing the second one badly.

    Why is the edge of my subject speckled or fuzzy?

    Photo noise. A background that looks flat contains hundreds of near-identical shades, and any pixel outside the tolerance stays behind as a speck. Raise the tolerance a little, or add a pixel or two of edge softness - the fringe is what the softness is for. If specks are inside the subject rather than around it, use the "everywhere" mode or lower the tolerance.

    Why is part of my subject missing?

    Because it shares the background color and the fill reached it. In "edges" mode that only happens where the color is connected to the border; in "everywhere" mode it happens anywhere. Lower the tolerance, or switch to the edge-spreading mode if you have not already.

    Can it remove hair from a background?

    No, and no threshold can. Hair strands are thinner than the pixels that hold them, so they are a blend of subject and background rather than a clean edge - removing the background removes the strands with it. That is a job for a segmentation model, which works on shapes rather than colors and still needs a careful hand around fine detail.

    Why is the output a PNG and not a JPEG?

    Because JPEG has no alpha channel at all - it cannot store "this pixel is see-through". The transparency this tool creates only exists in PNG (or in WebP, which some tools accept). The trade is a larger file, which is why the result panel reports the size it wrote.

    Should I keep the transparent border or trim it?

    Trim it if the cut-out is going into a layout and you want the subject to fill its box: the file then starts and ends exactly at the subject. Keep it if you need the subject to stay in the same position as it was in the original - useful when several cut-outs have to line up with each other.

    Can I process several pictures at once?

    No, deliberately: every picture has its own background color and its own best tolerance, so the settings have to be adjusted per picture. Processing them in a batch would mean guessing, and the result of a wrong guess is a file that looks broken only after you use it.

    Assumptions and sources

    • The background color is taken from the border of the picture, and pixels close to it become transparent with a soft edge instead of a hard cut.
    • Busy backgrounds, hair and fine detail, shadows and color spill at the edge are not handled, and each of those needs a different kind of tool.
    • No picture, file name or pixel is uploaded; the work happens in your browser.

    Last reviewed 2026-09-14. Runs locally on your device; keep backups; no financial advice applies. Read the full disclaimer.

    Where a figure on this page comes from an official agency — HUD, IRS, FICO or a state body — the site keeps a dated snapshot of the source page in its sources library, and a scheduled job re-checks that snapshot, so the number can be traced back to the document it came from.