Convert PNG to Stencil

Invert a PNG so transparent areas become solid and visible areas become cut-outs.

Drop an image here

PNG, JPG, WebP, GIF or BMP. You can also paste an image.

No result yet

Options

How to use

  1. 1

    Upload a PNG by clicking the upload area, dragging a file in, or pasting from your clipboard.

  2. 2

    Choose the stencil color. This fills the areas that were transparent in the original.

  3. 3

    Choose the background color. This fills the areas that were visible in the original.

  4. 4

    Click Download to save the stencil PNG.

Example

Before640 × 640

The example input

After640 × 640

The example result
Convert PNG to Stencil on a transparent logo, with the default settings.

Frequently asked questions

What is a stencil image used for?

A stencil is an inverted mask. The cut-out areas are where paint or ink passes through. Use this tool to prepare artwork for screen printing, spray painting, or laser cutting.

Why does the output have no transparency?

A physical stencil has no transparent areas. Every pixel must be either solid material or a cut-out hole. This tool outputs a fully opaque image to match that.

Can I create a stencil with a colored background?

Yes. Set the background color to any color you want. The stencil color is the material that surrounds the cut-out shape.

About this tool

Convert PNG to Stencil inverts the transparency of your PNG. Transparent areas receive the stencil color and become fully opaque. Non-transparent areas receive the background color. The result is ready for physical printing or use as a stencil overlay. All processing runs locally in your browser. No data is uploaded to any server.