Black and white conversion with luminance, average or channel methods
Black and White Threshold
Turn a photo, scan or signature into crisp two tone art with a cutoff you control.
Loading tool…
How to use black and white threshold
Drop a photo, scan or drawing.
Move the cutoff, or switch on automatic to let Otsu's method choose it.
Choose hard cutoff for clean line art, error diffusion for photo detail, or ordered dots for a retro look.
Optionally swap black and white for any two colours, then export.
What this tool does
- Manual cutoff from 1 to 254 or automatic cutoff by Otsu's method
- Floyd Steinberg error diffusion and ordered Bayer dithering
- Custom dark and light colours
- Good for cleaning up scanned signatures and line art
How the result is verified
Outputs are decoded again and checked for size. With default colours every pixel is exactly black or white, which a histogram or colour picker will confirm.
Frequently asked questions
What does automatic cutoff do?
It looks at the image's brightness histogram and picks the level that best separates it into two groups (Otsu's method). It works well for scans with a clear background.
How do I get a transparent background for a signature?
Threshold it here first for clean edges, then use Remove Background or an editor to drop the white. This tool keeps whatever transparency the source already had.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Flat colour bands, 2 to 16 levels, with optional dithering
Sobel outlines with smoothing, cutoff and three styles
A small neural network downloads once and cuts out backgrounds locally, with restore and erase brushes for touch-ups.
Dots, squares or lines in one ink, CMYK or colour