Remove the White Background from an Image
White behind a logo is not the same thing as transparency, even though the two look identical on a white page. This tool removes the background with a segmentation model that runs in the browser and returns a PNG with an alpha channel. It is a model, not a magic wand: there is no tolerance slider, no colour picker and no eraser, so the result depends on what the model sees in the file you give it. Knowing where that line sits saves a lot of retrying.
Try the free tool now
100% in your browser — no upload, no account, no watermark.
Open Remove White Background from ImageWhite pixels versus an alpha channel
A JPEG logo on a white square has no transparency at all: the corners are white pixels, and they will stay white on a coloured page, a dark header or a video overlay. A PNG with alpha stores two values per pixel, a colour and an opacity. Removing the white background means writing opacity zero where the white was, which is what the model produces.
Three checks tell you which file you have. Open it on a dark page: a white box means no alpha. Zoom to the edge of the logo and look for a hard grey fringe, which means the white was baked in with anti-aliasing. Open the file properties and look for a colour type that mentions alpha - PNG colour type 6, or RGBA.
What the tool does, and what it deliberately does not
The component has three controls: choose a file, press Remove Background, press Download (RemoveBackgroundTool.tsx, lines 99-193). There is no threshold, no colour selection, no brush, no feather radius and no output format choice. The background decision belongs entirely to the model, which is why the tool is fast on ordinary subjects and stubborn on unusual ones.
For a logo that is black on white, that is fine. For a logo where white is part of the design - white lettering inside a coloured roundel, a white outline, a white gap that must stay - the model has to decide whether each white region is background or subject, and it cannot be told. If white details disappear, the tool cannot be corrected in place: restore them in an editor, or start from a version of the artwork where the white parts sit on a contrasting background.
The input format sets the edge quality
Accepted inputs are .jpg, .jpeg, .png and .webp, up to 20 MB (lines 105-106). Format matters more than size here:
- PNG from a design tool: sharpest edges, because there is no compression noise around the boundary.
- JPEG: the block artefacts around a black-on-white edge are real pixels, slightly grey, and a soft mask can keep some of them as a faint halo.
- WebP: usually clean, but lossy WebP behaves like JPEG at the boundary.
- GIF, SVG, BMP and HEIC are outside the tool's list: the picker offers JPG, PNG and WebP, and anything else may fail when the model decodes it.
The 20 MB cap also rules out very large scans. If a 600 DPI scan is rejected, downsample it to the size you actually need before removing the background - the mask is not made better by pixels the final image will not use.
Scans and signatures deserve their own note. Black ink on paper produces a grey, textured background rather than pure white, so the model separates ink from paper rather than white from white. That usually works well, but a faint pencil signature can be classified as background along with the paper: raise the contrast of the scan before uploading if the stroke is light.
What is left in the file after removal
The download is always a PNG named with a -nobg.png suffix (line 93). No format menu exists, which is the right call for a cutout: JPEG cannot store the alpha channel the whole operation is about.
Two things stay in that file that people do not expect. The canvas keeps the dimensions of the source, so any margin you left around the logo is still there, now fully transparent - there is no auto-crop. And the matte is soft at the rim: the model writes partial opacity on anti-aliased edges instead of a hard cut, which keeps curves smooth but also means a faint light rim can remain where the subject met a white background.
If you need a lighter file for the web, convert the PNG to WebP afterwards: WebP carries alpha and is normally much smaller than PNG for the same pixels. Keep the PNG as the master and treat the WebP as an export.
When it will not work, and what to do instead
Three failures are predictable from the method rather than from a bug. A white subject on a white background gives the model no boundary to find. A photo of a printed page has shadows and paper texture, so the background is not uniformly white. A screenshot of white text on a coloured button inverts the problem: the white is the subject.
The alternatives, in order of reliability: re-export the artwork from its source file with a transparent background, which is exact and instant; place the logo on a mid-grey or coloured background before exporting or shooting, so the model has separation to work with; or redraw a simple mark as SVG, where transparency is part of the format. Re-running the same file with the same model produces the same result, so a retry is only worth it after the input changes.
About this guide
- Written by
- The ImageTools Pro team
- Last reviewed
- October 2026
- How we test
- Steps run in a real browser on real PNG, JPEG and WebP files
We revise this page whenever browser APIs, format support or recommended settings change. Corrections are welcome — tell us from the contact page.
Tools we recommend
Frequently Asked Questions
Will it keep white areas inside the logo?
Only if the model classifies them as subject. There is no way to protect a region: the tool has no brush, mask editor or threshold. White lettering enclosed by a coloured shape usually survives; a white outline on a white page usually does not.
Why is the download always a PNG?
Because the operation exists to produce an alpha channel, and JPEG has none. PNG is the only output format in the component, and the filename ends in -nobg.png.
Can I remove a grey or coloured background?
The model separates a subject from whatever is behind it, so a grey studio sweep or a coloured wall is handled the same way as white. Uniformity of the background matters more than its colour.
Does the tool work without an internet connection?
Not for the first run. The segmentation model and its runtime are fetched from a CDN the first time and cached by the browser, so the first cutout needs a connection and later ones are much faster. Your image itself is never uploaded.
Is there a file size limit?
20 MB per image, and one image per run. Accepted formats are JPG, PNG and WebP.