ThumbGlance

Remove White Background from an Image

Choose a JPG or PNG with a white or near-white background. Preview the transparent result and save a PNG at the same pixel dimensions.

Original
Teal camera with a white lens, a pale backdrop and a gray shadow
Transparent preview
Teal camera on a checkerboard; the white lens and gray shadow remain

Sample image · 640 × 400 px

Higher values remove more near-white pixels connected to an edge.

JPG or PNG · 20 MiB · 4,096 px per side · 12 million pixels.

Your image stays in your browser. No account, watermark or per-use limit.

What stayed in the exported PNG?

We opened four original test images in the tool, saved the PNGs, and read the output files back. Each export kept the input width and height. Alpha 0 means fully transparent; 255 means fully opaque.

Source and export pixels at tolerance 16. Coordinates are (x, y) from the top left, starting at 0.
SampleInput and outputBackground alphaWhat stayed or was lost
Camera640 × 400 px(8, 8): 255 → 0White lens center (320, 185): 255 → 255. Gray shadow (320, 322): 255 → 255.
Portrait bottle360 × 520 px(0, 0): 255 → 0White label (180, 290): 255 → 255.
PNG with existing alpha320 × 240 px(319, 0): 255 → 0Transparent point (0, 0): 0 → 0. Translucent swatch (145, 146): 128 → 128.
White subject touching the edge480 × 320 px(0, 0): 255 → 0White handle at the border (400, 154): 255 → 0. This is a failed cutout.
Small camera on a dark green background with a visible gray shadow
180 px preview on dark green. The white lens still reads at thumbnail size, but the gray shadow stands out. Check the cutout against the color you will use before putting it in a thumbnail.

Placing the camera on another background is useful when you need room for a title. If an edge or shadow still distracts at thumbnail size, keep the original photo or use a tool with a hand-edited mask. Preview the finished thumbnail in a small card.

Set the tolerance without losing the subject

  1. Choose your image or select Try sample. Start at tolerance 16.
  2. If a pale background remains, raise the tolerance one step at a time. Lower it if a white part of the subject disappears. Use the arrow keys when the slider has focus.
  3. Select Save PNG. The checkerboard shows transparency in the preview only; it is not saved in the PNG.

At tolerance 16, a pixel qualifies when all three color channels are at least 239 out of 255 and the pixel is fully opaque. The tool starts at the four image edges and clears matching neighbors that share a side. It leaves enclosed white areas and existing transparency alone. At tolerance 0, only pure white qualifies.

When white removal is not enough

This works best for logos and objects on an even background. A white part that reaches the edge can disappear, even at tolerance 0. Dark shadows and parts of a textured background can remain. Use a different image or a mask you can edit if lowering the tolerance does not help.

The tool uses the image dimensions as decoded by your browser, including photo orientation. It exports one still PNG. The browser can round color values in translucent pixels during decoding or export. Only the preview is scaled; the tool does not shrink the saved image to fit a device limit. If your browser cannot process or save a large file, try a smaller image.

W3C PNG: alpha representation explains transparency. WHATWG Canvas: bitmap export defines browser PNG export. The table above records this tool's own output.