Create Black And White Image
Convert any image to black and white with an adjustable threshold slider. Preview and download as PNG or JPG.
Drop an image and slide the threshold until the shapes snap into pure black and pure white — no grays in between. Useful for stencils, screen prints, or cleaning up scanned text so it reads as solid ink.
And everything runs in your browser. Nothing gets uploaded.
How It Works
Each pixel gets converted to a brightness value using the formula (0.299 × Red) + (0.587 × Green) + (0.114 × Blue) — the same weighting your eyes use. If that brightness hits the threshold or higher, the pixel turns white. Below? Black. Two colors, zero ambiguity.
Examples
Turning a Portrait into a Stencil
You want to cut a face stencil for spray painting a canvas.
Color portrait photo (JPG, 4032 x 3024 px)
Pure B&W at threshold 110 — strong facial outlines, no noise in skin tones
Preparing a Logo for Screen Printing
A grayscale logo needs to be true 1-bit black and white before the printer accepts it. The original has soft anti-aliased edges that read as gray pixels.
Grayscale PNG logo with anti-aliased edges (800 x 400 px)
Crisp 1-bit PNG, threshold 140 — clean edges, no gray fringing
Converting a Scan of Handwritten Notes
Scanned notebook pages often come out with a yellowish background and faint pencil marks. Cranking the threshold cleans the background to white and darkens the writing to solid black — much easier to OCR or share as a PDF afterward.
Scanned JPG of handwritten notes, yellowish paper, 2400 x 3200 px
Clean B&W at threshold 165 — white background, solid black text, ready for OCR
Who Uses This
Creating stencils and high-contrast reference images for printmaking or street art.
Converting customer files to 1-bit before running screen prints or laser engravings.
Cleaning up scanned homework and notes so they are readable and compact.
Generating binary images for QR code masks, OCR preprocessing, or sprite sheets.
Common Mistakes
A threshold above 200 turns almost everything white. If your result looks blank, drag the slider left until the shapes reappear.
JPG compression smears the sharp black-white edges and reintroduces gray pixels. For a true two-tone file, always pick PNG — the files are small anyway since there are only two colors.
This tool outputs strict black or white — no shades of gray. If you want a grayscale conversion with smooth tones, use the Grayscale Converter tool instead.
Technical Details
- Processing: 100% client-side (Canvas API)
- Browser Support: Chrome, Firefox, Safari, Edge
- Max File Size: 50 MB
- Input Formats: PNG, JPG, WebP, BMP, GIF
- Output Formats: PNG (lossless) or JPG
- Luminance Formula: BT.601 (0.299R + 0.587G + 0.114B)
Frequently Asked Questions
What's the difference between black and white and grayscale?
Grayscale keeps a full range of tones from dark to light — think of a classic silver-print photograph. Black and white (binary) snaps every pixel to one of two values: solid black or solid white. There is nothing in between. This tool does the binary kind, using a threshold you control.
How do I pick the right threshold value?
Start at 128 — that's the midpoint. If the image looks too dark (too much black), bump the slider up. Too light? Pull it down. For photos of text on paper, values around 150–180 usually give the cleanest result. Stencil art tends to look best around 100–120.
Is my image uploaded to any server?
No. The conversion happens right in your browser tab. Your file stays on your device the entire time — nothing is sent over the network. Close the tab and it's gone.
Should I save as PNG or JPG?
PNG, almost always. A binary black-and-white image compresses extremely well as PNG because there are only two colors. JPG was designed for continuous-tone photos and actually adds gray artifacts along edges — the opposite of what you want here.
Can I convert a transparent PNG to black and white?
Yes, but the transparent areas will be treated as black (since the canvas draws them with zero brightness). If you need the background to stay white, place the image on a white background first or bump the threshold down so those pixels fall on the white side.