EIT easy-image-tools / Invert the alpha channel of an image

Invert the alpha channel of an image

Opaque areas become transparent and vice versa.

Nothing found — try another word.

01

Invert the alpha channel of an image

Nothing found — try another word.

This tool has no parameters — the result is ready as is.

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Invert the alpha channel swaps what is see-through and what is solid: a fully opaque pixel becomes fully transparent, a transparent one becomes opaque, and a half-transparent pixel becomes the other half. Colors are never changed, only the fourth channel. The catch is that transparent pixels keep whatever color the file happened to store for them, which in most images is black, so the result usually reads as a dark shape on a dark background. There are no settings to tune, and the result is written in your browser.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Only opacity flips — for a photographic negative use the invert colors tool.
  • The old background usually appears black: that is the color stored under it.
  • Running it twice returns the original, pixel for pixel.
  • Save as PNG or WebP to keep the new alpha channel.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. The result appears at once: the object turns see-through, the background turns solid.
  3. Download it, choosing PNG or WebP if you want the new alpha channel kept.

Questions

Does it also invert the colors?

No, only opacity is flipped. If you meant a photographic negative where red becomes cyan, use the invert colors tool on this site instead.

Why is the background black?

Because a transparent pixel still stores three color values, and in most files they are zero. Inverting makes those pixels visible, so the old background appears in its stored color, usually black.

Is this a way to remove the background?

No, it hides the object instead of the background. To delete a solid backdrop and keep the subject, use the remove background tool with the outer only option.

Can I undo it?

Yes, exactly. Running the tool again on its own result maps every alpha value back to the original one, pixel for pixel.

Related tools