ThumbCraftedTry Free Editor
Free · On your device · Two values, nothing in between

Turn an image into a stencil

A pure black and white threshold with a live histogram, an automatic split point, smoothing and a transparent background option.

Made for spray-paint and airbrush stencils, laser engraving, cutting machines and tracing a design onto wood, fabric or skin. Every pixel comes out black or white (or black on clear), and the page counts the floating pieces a cut stencil would lose. It runs on your device; nothing is uploaded.

Drop or click to upload

Drag & drop or paste from clipboard

JPG, PNG, WebP, up to 25 MB

Nothing uploaded Transparent PNG No watermark
Original Stencil

Brightness histogram

Pixels at or below this brightness turn black.

Blurs the brightness before the threshold, so speckle and ragged edges merge into cleaner shapes.

Background

1

Drop an image

Choose, drag, drop or paste a JPG, PNG or WebP up to 25 MB. The page picks a starting threshold with Otsu's method and shows the split on the histogram.

2

Move the threshold until the shapes read

Drag the line on the histogram or the slider. Add smoothing to clean up speckle, invert if you want the light parts cut, and tick Mark islands to see what would fall out of a cut stencil.

3

Download, or trace it for cutting

Save a black and white PNG, or black on transparent, at full size. For a laser cutter or vinyl cutter that needs paths, send it to the vectorizer and download an SVG.

How a threshold turns a photo into a stencil

A stencil can only have two states: material or hole, ink or no ink. A threshold is the simplest honest way to get there. Each pixel's brightness is measured, compared with one number, and the pixel becomes black if it is at or below that number and white if it is above it. There is no grey, no dot pattern and no in-between pixels on the edges, so what you see is exactly what a cutter, an engraver or a craft knife will follow.

Brightness here is luminance with the Rec. 709 weights (21.26% red, 71.52% green, 7.22% blue), the same measure your eye uses, so a bright yellow counts as light and a saturated blue counts as dark. Transparent parts of a PNG are treated as white before measuring.

Reading the histogram

The chart above the slider shows how many pixels sit at each brightness from 0 on the left to 255 on the right; bar height is the square root of the count, so small peaks stay visible. A photo of a subject against a plain background usually shows two humps, one for the subject and one for the background. The best split is in the valley between them. The shaded side of the line is the side that turns black.

Auto (Otsu) finds that valley for you. Otsu's method tries every possible threshold and picks the one where the two groups of pixels are each as uniform as possible, which is the same as pushing their average brightnesses as far apart as possible, weighted by how many pixels each group holds. It is the standard starting point in image processing and it works well on any image with two clear groups. On a photo without them, such as an evenly lit landscape, no threshold is obviously right, and you are choosing which details to keep.

Islands, and why stencils need bridges

Cut out the black parts of a letter O and the white middle falls out, because nothing holds it to the rest of the sheet. Stencil makers call those pieces islands and join them back with thin strips called bridges. After each change the page counts the white areas that are completely surrounded by black, ignoring specks too small to matter, and tells you how many there are. Tick Mark islands in red to see where they are. To reduce them, raise smoothing, move the threshold, or add bridges by drawing thin white lines across them in the editor. If you are cutting the white parts instead, tick Invert and the same count applies.

What each use needs

UseWhat to downloadTips
Spray paint or airbrush stencilBlack on white PNG, printed and cut by handSmoothing of 2 to 4 px gives shapes a knife can follow. Check the island count before you cut.
Laser engravingBlack on white PNG at full sizeEngraving software reads a one-bit raster directly: black is burned, white is skipped. Some machines expect the reverse, which is what Invert is for.
Laser, vinyl or craft cuttingSVG from the vectorizerCutters follow paths, not pixels. Use Trace it to SVG, then load the SVG in your cutter's software.
Tracing and transferBlack on transparent PNGLay it over a photo or a template in any app to trace by hand, or print it for carbon transfer onto wood, lino or fabric.

Threshold, dither or greyscale?

A threshold keeps solid shapes, which is what cutting and stencilling need. A dither also uses only two colours but fakes grey with patterns of dots; it looks good printed and is the wrong choice for a stencil, because every dot is a separate hole. The image effects page has two dithers if that is the look you want. If you want more than two tones, the posterize tool gives 3 to 16 flat tones in greyscale mode, and the black and white converter makes a full greyscale photo.

Stencil Questions

Is my image uploaded?
No. The image is decoded into a canvas in your browser, the histogram, threshold and island count are worked out there, and the PNG is built there. The line under the upload box counts request bytes that leave the page while you work, and you can check the same thing in your browser's network panel.
What threshold should I use?
Start with the one the page picks, which is Otsu's method: the split that makes the dark group and the light group each as uniform as possible. Then move it while watching the part that matters. Lower keeps only the darkest areas black and loses shadow detail; higher turns more of the picture black and fills in faces and textures.
Is the result really only black and white?
Yes. Every pixel is either black (0, 0, 0) or white (255, 255, 255). In transparent mode every pixel is either solid black or fully clear, with no partly transparent edge pixels. That is deliberate: a soft edge is a grey a cutter cannot follow.
What does the island count mean?
It is the number of white areas completely enclosed by black, the pieces that would drop out if you cut the black away, like the middle of an O. Specks smaller than the size shown in the readout are not counted. Join islands to the rest of the stencil with thin bridges, or raise smoothing until small ones disappear.
Can I use it for a laser cutter or a vinyl cutter?
For engraving, download the PNG: engraving software reads black and white rasters directly. For cutting, the machine needs paths, so press Trace it to SVG, which sends the stencil to the vectorizer on this site without re-uploading, and download the SVG there.
What does smoothing do?
It blurs the brightness before the threshold is applied, by the number of pixels shown, measured on the full-size image. Fine texture such as skin pores, grass or JPG noise then averages out instead of turning into black speckle, and edges come out smoother. Too much smoothing rounds off corners and thin lines.
What are the limits?
25 MB per file, in any image your browser can open. The threshold runs from 0 to 255 and smoothing from 0 to 12 px. The preview, histogram and island count use a copy of up to 1,200 pixels on the long side, with smoothing scaled to match. The download is a PNG at full size, up to 16.7 million pixels (4096 × 4096); a larger image is scaled down to that and the page says so. There is no daily limit.
Is there a watermark?
No. Nothing is drawn on your image. The only mark is the file name, which starts with ThumbCrafted- and can be renamed.

Continue crafting

Keep going: the stencil carries over to the next tool with no re-upload.

  1. 1VectorizeTrace it into a crisp, scalable SVG
  2. 2EditAdd text, effects, or a fresh background