Skip to main content

Make an image background transparent

Remove a white or plain background from a logo, a product photo or a scanned signature, fine-tune tolerance and edges, then download a transparent PNG.

  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Image
No image loaded

Drop an image here

Add a PNG, JPEG, or WebP image. The file stays on your device and all edits run locally in your browser.

Need more editing options?

Use multiple editing tools in one workspace, with your open file and its current edits.

Open the full editor

Was this tool useful?

How does this tool work?

A logo sitting on a white square, a signature scanned on paper, an object shot against a plain backdrop: in each case the background color is known and can be erased pixel by pixel. This tool turns it transparent right in your browser, with a tolerance setting to absorb slight shade variations and edge softening for clean outlines, then saves the result as a PNG.

Every pixel is compared with the chosen background color. The difference is measured in red-green-blue space: the smaller it is, the more the pixel looks like the background. Below the tolerance threshold, the pixel becomes fully transparent; just above it, in the softening band, it becomes partly transparent, which prevents white fringes and jagged, stair-step edges around the subject.

By default, only the part of the background connected to the image edges is erased. The tool starts from all four sides and spreads as long as the color stays close to the background: a white logo on a white background therefore keeps its inner white areas, such as the middle of a letter "o". Turn this option off to also remove enclosed areas, for example the inside of a handle or a ring.

The background color is detected automatically from the border of the image, where the backdrop almost always lies. You can also pick it with a click on the image, or enter it in the color picker.

The result is saved as PNG, the lossless format that keeps a transparency (alpha) channel. If the original image is a JPEG, the export switches to PNG automatically: JPEG cannot store transparency and would replace the erased background with white. WebP, which also supports transparency, remains available when exporting.

This method, called color keying, works for solid or nearly solid backgrounds. For a person in front of scenery, a cloudy sky or a gradient backdrop, you need AI segmentation, which this tool does not do: the background can no longer be reduced to a single color.

How to use this tool

  1. Upload the image

    PNG, JPEG or WebP up to 25 MB; the file stays on your device.

  2. Check the background color

    It is detected along the edges; pick it from the image if the result is off.

  3. Adjust tolerance and edges

    Raise the tolerance if traces of background remain, lower it if the subject starts to fade away.

  4. Apply, then export

    Check the result with the before/after view, then download the transparent PNG.

How the tool decides a pixel belongs to the background

For a pixel with color (R, G, B) and a background color (R₀, G₀, B₀):

Color difference

d = √((R − R₀)² + (G − G₀)² + (B − B₀)²)

The difference ranges from 0 (identical color) to about 441 (black to white).

Tolerance threshold

s = tolerance × 441

Any pixel whose difference is below s becomes transparent.

Opacity kept in the softening band

α = α₀ × (d − s) ÷ (a × 441), for s < d < s + a × 441

a is the softening: opacity rises gradually back to its original value.

d
colour distance between the pixel and the background
t, a
tolerance and softness, as a fraction (20% = 0.2)
s
threshold below which the pixel becomes transparent
R, G, B
red, green and blue components of the pixel, from 0 to 255
α₀, α
original opacity and opacity after processing

Use cases

Logos and brand identity

Place a logo on any website, slide or document color without a white box around it.

Online stores

Show consistent product photos on your catalog or marketplace background.

Signatures and stamps

Insert a handwritten signature or a company stamp into a PDF or contract, without the paper behind it.

Stickers, icons and collages

Prepare elements to layer in a collage, a thumbnail or a presentation.

Examples

Company logo on a white background

The white square disappears and the logo can be placed on a dark website or a colored business card.

Input

logo.jpg, background #FFFFFF, tolerance 12%

Result

Transparent logo.png

Scanned signature

The slightly gray paper is absorbed by a higher tolerance; softening keeps a natural stroke for inserting into a document.

Input

Light gray scan, tolerance 25%, softening 15%

Result

Ink-only signature

Product photo on a studio backdrop

The background is removed without touching the bright highlights on the product, which are not connected to the image edge.

Input

Shoe on a plain gray background, edge-connected background on

Result

Cut-out product

Icon with a hole in the middle

The white enclosed in the center of the ring is made transparent as well.

Input

Black ring on white, "Only the background connected to the image edges" off

Result

Fully hollow ring

Tips and best practices

  • Start with a low tolerance and raise it in small steps: too high a tolerance eats into subject colors that resemble the background.
  • On a JPEG, compression leaves slightly tinted pixels around the outlines: 10 to 20% softening makes them vanish cleanly.
  • Crop the image tightly around the subject first: the less background remains, the more reliable automatic detection becomes.
  • Inspect the result against a dark background in the before/after view: a light fringe is far easier to spot than in light mode.
  • Keep the original file: transparency is applied to a copy that you download.

Sources and references

Frequently asked questions

How do I make the background of an image transparent?

Upload the image, let the tool detect the background color or pick it with a click, adjust the tolerance, apply, then download the result as a PNG. Everything happens in the browser, without uploading the file.

Why is my image saved as PNG?

Only some formats can store transparency. PNG keeps it losslessly; JPEG does not support it and would fill transparent areas with white. If your original is a JPEG, the tool therefore exports to PNG, or to WebP if you choose it.

Can the tool cut out a person in a photo?

Only if they stand in front of a plain background, such as a white wall or a studio backdrop. Against varied scenery, the background is not a single color: that calls for AI background removal, which this tool does not offer.

What does the tolerance control?

It sets how far a pixel may differ from the background color and still be erased. A low tolerance removes only the exact background; a higher one absorbs faint shadows, paper grain and compression artifacts.

What is edge softening for?

It creates a gradual transition between the subject and the transparency: pixels close to the background become semi-transparent instead of switching off all at once. Outlines stay smooth, with no white halo or jagged edges.

Why did the white parts of my logo disappear?

The "Only the background connected to the image edges" option is probably turned off, or those white areas touch the image border. Turn the option back on: the fill will start from the edges and stop at the outline of the logo.

Is my image uploaded to a server?

No. The processing runs in your browser, on your device. The image is neither sent nor stored online, which also suits confidential material such as a signature.

Can I undo if I do not like the result?

Yes. Undo with the dedicated button or Ctrl+Z, then apply again with a different tolerance or background color. The preview updates before each application.

Related tools

Tools similar or complementary to this one.

Similar tools

Crop a photo into a circle, round its corners and add a border, with a transparent background.

Images & graphicsNewUse this tool

Draw a frame on the image, lock a ratio (1:1, 4:5, 16:9…) and download the cropped part.

Images & graphicsFeaturedUse this tool

Convert an image to PNG, JPEG, or WebP and adjust output quality before download.

Images & graphicsFeaturedUse this tool
GuideBest practicesBeginner

Image Metadata: Read It, Keep It, or Remove It?

Understand EXIF, GPS, XMP, IPTC, ICC profiles, rights information, and how to manage image metadata for privacy, publishing, and Web performance.

31 August 202613 min
TutorialBest practicesBeginner

Optimize images for the Web without losing quality

Resize, compress and choose between WebP, AVIF and other formats with a practical workflow that reduces file size without unnecessary visual loss.

30 August 20264 min