Tools

Home
GrayscaleThresholdBrightness/ContrastPhoto FiltersImage CompressorInvert Colors

Create Black And White Image

Convert any image to black and white with an adjustable threshold slider. Preview and download as PNG or JPG.

Your files never leave your browser
Drop an image here or click to upload
PNG, JPG, WEBP, BMP, GIF -- Max 50MB -- 100% Private
Settings
Threshold128
------

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

Upload Image
➔
Set Threshold
➔
Download B&W

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.

INPUT
Color portrait photo (JPG, 4032 x 3024 px)
OUTPUT
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.

INPUT
Grayscale PNG logo with anti-aliased edges (800 x 400 px)
OUTPUT
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.

INPUT
Scanned JPG of handwritten notes, yellowish paper, 2400 x 3200 px
OUTPUT
Clean B&W at threshold 165 — white background, solid black text, ready for OCR

Who Uses This

🎨 Artists

Creating stencils and high-contrast reference images for printmaking or street art.

🖨 Print Shops

Converting customer files to 1-bit before running screen prints or laser engravings.

📚 Students

Cleaning up scanned homework and notes so they are readable and compact.

💻 Developers

Generating binary images for QR code masks, OCR preprocessing, or sprite sheets.

Common Mistakes

Setting the threshold too high and losing all detail

A threshold above 200 turns almost everything white. If your result looks blank, drag the slider left until the shapes reappear.

Downloading as JPG instead of PNG

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.

Expecting grayscale instead of binary

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

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.

Share: