Generate Matte for Transparent PNG
Turn the transparency of a PNG into a black-and-white matte, with optional choke and feather. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
Drop images anywhere on this page
or paste with Ctrl / ⌘ + V ·
Accepts PNG · several at once
Your PNG files never leave this tab
Generate Matte for Transparent PNG is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.
- No upload
- No file size limit
- Works offline once loaded
- Nothing stored or logged
How to use Generate Matte for Transparent PNG
- 1. Add the transparent PNG. Drop in a cutout, logo or any PNG with transparency. The tool reads only its alpha channel; the colours are ignored.
- 2. Shape the matte. Choke pulls the edge inward by a few pixels to hide colour fringes, a negative value spreads it outward, and feather softens the border. Invert swaps black and white.
- 3. Download the matte. The result is an opaque PNG: white where the picture is visible, black where it is transparent, and greys along soft edges. It refreshes on every change.
When to use Generate Matte for Transparent PNG
Generate Matte for Transparent PNG pulls the alpha channel out of a PNG and saves it as a plain black-and-white picture. Video editors, compositing apps, print workflows and older software that cannot read transparency all accept a matte like this instead.
- Track matte for video editing. A video editor needs a luma matte to cut a logo or product out over footage. Export the white-on-black matte and use it as the track matte layer.
- Masks for print and vinyl cutting. A printer or cutter wants a solid shape that marks where ink or vinyl goes. The matte gives that shape with no colours to confuse it.
- Cleaning a fringed cutout. A cutout has a faint halo of old background. Choke the matte by one or two pixels, feather it slightly, and apply it back as a mask in your editor.
Examples
Cutout to matte
Input
product.png with a transparent background
Output
White product shape on solid black
Soft matte
Input
logo.png, choke 1, feather 2
Output
A slightly smaller white logo with a soft edge
About the Generate Matte for Transparent PNG tool
Generate Matte for Transparent PNG is a free online tool that works entirely inside your web browser. Turn the transparency of a PNG into a black-and-white matte, with optional choke and feather. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 3 settings, including Choke (px, negative spreads), Feather (blur radius, px) and Invert (shape black, background white); the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. 2 worked examples further down the page show exactly what the tool produces for real inputs.
Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.
Frequently asked questions
Is Generate Matte for Transparent PNG free to use?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
Which files does Generate Matte for Transparent PNG accept?
It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.
Related tools
All PNG Tools →Extract Object Silhouettes
Turn the shape of a transparent PNG, or a dark or light subject, into a solid single-colour silhouette.
Split PNG Channels
Export standalone images mapping individual color tracks.
Feather PNG Edges
Fade a PNG's edges and cut-out outlines softly into transparency.
Remove Alpha Channel from PNG
Flatten a transparent PNG onto a solid color and drop the alpha channel.