EIT easy-image-tools / Set alpha channel of PNG

Set alpha channel of PNG

Assigns the same opacity to all pixels; colors stay unchanged.

Nothing found — try another word.

01

Set alpha channel of PNG

Nothing found — try another word.

Percent

Nothing found — try another word.

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

Set alpha channel of PNG writes one and the same opacity into every pixel, while the colors stay untouched. That is different from scaling the existing transparency: a logo already half transparent at the edges becomes uniformly 50 percent everywhere after this operation, and a picture flattened to a single low opacity can be brought back to solid. It is the fastest way to make a whole PNG translucent or to repair an image whose alpha was overwritten. The file is processed in your browser and never uploaded.

  • Runs entirely in your browser, works offline once the page is loaded.
  • Overwrites alpha uniformly — existing differences in transparency are not preserved.
  • Colors are copied byte for byte: only the alpha value changes.
  • Save as PNG or WebP to keep the alpha channel.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Set the percentage: 100 makes every pixel fully opaque, 50 makes them all half transparent.
  3. Check the preview - the checkerboard shows how much transparency is left.
  4. Save the result as PNG or WebP from the Download button to keep the alpha channel.

Questions

How is this different from changing image opacity?

Changing opacity multiplies the existing alpha, so the differences between more and less transparent pixels are preserved. Setting the alpha channel overwrites it: every pixel ends up with exactly the same value. Use multiply when you want to keep the picture's own transparency, and overwrite when you need it uniform.

Can this restore a faded PNG?

Yes, if the image still has an alpha channel and only the values are low: set 100 percent and every pixel becomes fully opaque again. If transparency was already flattened into a solid background color, no alpha channel is left to restore - the pixels are just background-colored.

Will the colors change?

No. Only the alpha value is written; the red, green and blue channels are copied byte for byte.

Does it work offline?

Yes. Once the page is loaded the processing is entirely local, so the tool works without a connection and your file is never uploaded anywhere.

Related tools