Replace Alpha Channel in PNG
Replace every pixel's alpha value with a solid opacity or a gradient.
Drop an image here
PNG, JPG, WebP, GIF or BMP. You can also paste an image.
No result yet
Options
How to use
- 1
Upload a PNG by clicking the upload area, dragging a file in, or pasting from your clipboard.
- 2
Choose Solid to set a uniform opacity or Gradient to fade from one alpha value to another.
- 3
Configure the opacity or gradient colors and direction.
- 4
Click Download to save the result.
Example
Before640 × 640

After640 × 640

Frequently asked questions
How does the gradient alpha work?
In gradient mode, the red channel of each gradient color determines the alpha value at that position. Black (#000000) maps to 0 (transparent) and white (#ffffff) maps to 255 (opaque).
Does this affect the RGB colors?
No. Only the alpha channel is replaced. The original pixel colors stay unchanged.
About this tool
Replace Alpha Channel in PNG overwrites the existing alpha channel with either a flat opacity value or a linear/radial gradient. Use it to apply a custom transparency pattern to any PNG. All processing runs locally in your browser. Nothing is uploaded to any server.