Skip to content
Runs in browserNothing is uploaded

Remove a Solid Image Background

Make a flat, connected image background transparent without uploading the image or using a black-box subject model. This browser-local remover samples the top-left pixel, follows neighboring pixels, and clears colors within your chosen tolerance. It is a useful fit for logos, icons, screenshots, scanned signatures, and product graphics photographed against a uniform surface. It is deliberately not marketed as a person cutout tool: hair, shadows, gradients, and backgrounds that touch the subject need a different segmentation method.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free

What it does

  • Flood-fills a connected background from the top-left corner
  • Adjustable color tolerance for near-matching pixels
  • Exports a transparent PNG
  • Keeps the original dimensions and source file
  • Runs locally with no image upload

How to use Background Remover

  1. 1

    Choose the image

    Drop in a logo, icon, screenshot, or graphic whose background touches the top-left corner and is mostly one color.

  2. 2

    Set tolerance

    Start near the default and increase it when a slightly shaded background remains. Lower it when the subject edge begins to disappear.

  3. 3

    Remove the background

    The tool follows connected pixels from the corner and clears matching pixels. It does not remove isolated regions surrounded by a different color.

  4. 4

    Check the result

    Open the PNG on a contrasting background and inspect thin edges, small text, and holes before using the asset in a design.

How it works

This is a flood-fill operation rather than semantic segmentation. The first pixel in the top-left corner becomes the background sample. The algorithm visits its four connected neighbors, compares each pixel's red, green, and blue channels with the sample, and clears the alpha channel when the largest channel difference is within the selected tolerance. Matching neighbors are added to the queue, so the process spreads through one connected region and stops at a sufficiently different edge.

That boundary is valuable. If the same color appears inside a logo but is enclosed by dark pixels, it remains. A global “replace every white pixel” operation would destroy those holes and highlights. The cost is that a second disconnected background island is not removed automatically. Run the result through an editor if the image has multiple separate regions.

Choosing the right tool

Use this remover for flat graphics where predictable local processing matters more than automatic subject detection. A transparent PNG is a good output for logos and UI assets because it can retain partial edges and display over any background. PNG files can be larger than JPEG files, but JPEG cannot represent transparency.

For portraits, hair, foliage, shadows, and uneven studio backgrounds, use a segmentation tool that explains where the image is processed. For a signature or logo on paper, crop first, remove the paper background, then inspect small strokes at 100 percent. Do not treat a transparent result as proof that every private detail in the source is gone; metadata and visible content are separate concerns.

Reading the tolerance slider

Tolerance is the whole tool, and it fails in two directions that look completely different.

Too low and the background comes away in patches. What is left behind is usually a halo hugging the subject, because JPEG compression and anti-aliasing mean the pixels next to an edge are blends of subject and background rather than either one. Those in-between pixels sit outside a tight tolerance and survive as a fringe.

Too high and the fill escapes. The flood spreads through an edge it should have stopped at and starts eating the subject — typically the lightest part, so a white shirt or a pale highlight vanishes while everything else looks correct. This is the more dangerous failure, because a fringe is obvious and a missing highlight is not until the image is placed on a dark background.

Work upward rather than downward. Start low, look at where it stopped, and raise it in small steps until the background is gone but before the subject starts losing anything. If there is no setting that does both — the fringe never clears without the subject breaking — the image does not have a clean enough edge for a flood fill, and no amount of adjustment will change that.

Why a JPEG logo is the hard case

The tool works best on images that were never compressed with JPEG, and it is worth knowing why before blaming the result.

PNG stores exact pixel values. A logo saved as PNG on a white background has one white, and a tolerance of almost zero removes it perfectly. JPEG does not store pixels; it stores frequency coefficients per block, and decoding reconstructs approximations. What was a single flat white becomes thousands of near-whites, plus ringing artifacts — faint ripples radiating from every hard edge, strongest exactly where the logo meets the background.

That is why the same logo behaves differently in two formats. The PNG has one background color; the JPEG has a cloud of them arranged in eight-by-eight blocks, and the tolerance that catches the cloud is often wide enough to catch part of the subject too.

If the original is available in any lossless form, use it. If only the JPEG exists, expect to raise the tolerance further than feels comfortable and to clean the edge afterwards in an editor. And save the result as PNG — re-encoding a transparent image as JPEG discards the alpha channel entirely and fills it with black or white, which undoes the work in one step.

Examples

Black logo on white

brand-mark.png - black icon on a white 1200 x 500 canvas
brand-mark-no-background.png - transparent around the icon

A flat connected background is the ideal case. The flood fill reaches every white region connected to the top-left corner while leaving enclosed white shapes inside the mark.

Screenshot with a pale panel

screen.png - UI screenshot with a near-white canvas
screen-no-background.png - similar pale pixels cleared at tolerance 32

A moderate tolerance can remove the canvas but may also affect white text or controls that touch the outer region, so inspect the output at full size.

Frequently asked questions

Can this remove the background from a person or product photo?

Not reliably. This tool removes a connected range of similar colors from a corner; it does not understand people, hair, shadows, depth, or object boundaries. It can work for a product photographed against a truly uniform background, but an AI segmentation or manual clipping path is the honest choice for complex photos.

Why did some background remain?

The remaining area may be separated from the top-left corner, outside the tolerance range, or disconnected by the subject. Increase tolerance carefully or use an image editor to select another region. The algorithm intentionally does not clear every matching color across the image because that would erase matching pixels inside the subject too.

Why did part of my logo disappear?

The tolerance is probably too high, or the logo contains anti-aliased pixels close to the sampled background color. Lower the slider and run again. Checking the output on a strong contrasting background helps you see edge damage that is invisible against white.

Is my image uploaded?

No. The browser decodes the image, examines its pixels, changes alpha values in an in-memory canvas, and exports a PNG locally. The source is not sent to a server. The output only exists in the page until you download it or close the tab.