pngtoolskit.org
PNG and image utilities, in the browser
Say hi →

Extract a PNG's Alpha Channel

transparency as a grayscale mask · white = opaque, black = transparent · batch

Pull the transparency out of a PNG as a standalone grayscale image — white where the image is fully opaque, black where it's fully transparent, gray for everything in between. It's the mask designers and compositors work with. Runs in your browser; nothing uploads.

Drop PNG files here

Multiple files allowed

    no files
    Ready.

    What the mask shows

    Each pixel's alpha value becomes a shade of gray: 255 (fully opaque) is white, 0 (fully transparent) is black, and partial transparency lands in between. Drop a logo with a soft shadow and you'll see the shadow render as gray — exactly how much light it lets through.

    What it's for

    FAQ

    How do I get the transparency of a PNG as a separate image?

    Drop the PNG above and click Extract — the alpha channel is rendered as a grayscale PNG you can download. It runs in your browser.

    My image has no transparency — what do I get?

    A solid white image, because every pixel is fully opaque (alpha 255). That itself confirms the file has no transparency.

    How do I put the alpha back on later?

    Recombining a mask with colour needs a compositing step in an editor; this tool extracts, it doesn't re-merge. To simply flatten transparency instead, see Remove alpha channel.