Black and White Image (Threshold)
Turn a photo, scan or signature into pure black and white with no greys, choosing the cut-off between dark and light.
Lower quality gives a smaller file.
Pixels darker than this turn black, lighter ones white. Raise it to keep faint lines.
Your file is ready
Was this tool helpful?
Thanks for the feedback!
This tool turns any image into pure black and white, with no grey at all. It is meant for signatures, handwritten notes, stamps, line drawings and document scans, where you want crisp ink on clean white paper. It works in your browser and the file is never uploaded.
How it decides black or white
For every pixel the tool works out a brightness value from 0 to 255 using the Rec. 709 weights, the standard ones for screen colour:
brightness = 0.2126 × red + 0.7152 × green + 0.0722 × blue
If that number is equal to or above the Threshold you set, the pixel becomes white (255, 255, 255). If it is below, the pixel becomes black (0, 0, 0). Green counts most and blue least, roughly matching how bright the eye sees each colour. That is why blue ink almost always turns black and slightly yellow paper usually turns white.
The slider runs from 1 to 254 and starts at 128, the middle of the range. Transparency in a PNG is left as it was. Press Process image after each change to see the Original and Result side by side, then Download result.
Worked example: a signature on cream paper
Say you photographed a signature in blue ballpoint on cream paper. There is a soft shadow from your hand at one edge and a faint pencil guideline you drew first.
| Part of the photo | Colour (R, G, B) | Brightness | At 128 | At 180 |
|---|---|---|---|---|
| Blue ink | 30, 60, 160 | 60.84 | Black | Black |
| Cream paper | 240, 230, 200 | 229.96 | White | White |
| Grey shadow | 150, 150, 150 | 150 | White | Black |
| Faint pencil line | 170, 170, 170 | 170 | White | Black |
At the default 128 you get clean ink strokes on white, and both the shadow and the pencil line disappear. At 180 the pencil line survives, but so does the shadow, as a black smudge. For this signature 128 is the better choice. For a faint pencil sketch you would raise the threshold and take the photo in even light, so there is no shadow to pick up.
Choosing the threshold
- If strokes look broken or too thin, raise the threshold so more of the lighter ink counts as black.
- If the background shows black speckles, or grey patches have turned black, lower it.
- Uneven lighting is the usual problem. One cut-off is applied to the whole image, so a photo that is bright on one side and shadowed on the other may never look clean everywhere. Retake it near a window with no shadow, or remove the dark corner first with the Image Cropper.
- Red counts as dark in this formula. Pure red scores 54.21, so red stamps and red pen turn black unless the threshold is set below that.
- Pure green scores 182.38, so green ink or highlighter turns white at the default setting.
File format and a note on JPG
The result keeps the original pixel size. If you started from a JPEG, the download is a JPG saved at 92% quality. JPG compression adds faint grey pixels along the edges of black strokes, so the file is no longer strictly two colours. If you need truly pure black and white, for example for a rubber stamp design or a cutting machine, start from a PNG so the download is a PNG too. Converting your photo first with the JPG to PNG Converter does that.
Good uses
The most common job is cleaning up a signature photo before attaching it to an online application or a scanned form. Other good uses are handwritten notes you want to share as a clear, readable page, a rubber stamp or logo you want to redraw, and line drawings for colouring sheets or stencils. The tool does not crop, straighten or resize, so do those steps separately if a form asks for a particular size. If you would rather draw a fresh signature than clean up a photo of one, the Signature Maker lets you draw it directly.
Frequently asked questions
How do I make a signature image pure black and white?
What is the difference between black and white and grayscale?
Why did my red stamp turn black?
What threshold should I use for a scanned document?
Why does my result still have some grey pixels?
Is my document uploaded anywhere?
Related guides
- JPG vs PNG vs WebP: Which Image Format Should You Use? JPG for photos and forms, PNG for screenshots and logos, WebP for websites. Real size tests, transparency, browser support in 2026, plus HEIC and AVIF...
- How to Compress an Image to 20 KB, 50 KB or 100 KB Get a photo under 20 KB, 50 KB or 100 KB for forms, email or a website: pixel sizes that fit, the quality to use and which free tool to pick.
- Resize Photo and Signature in KB for SSC, IBPS and UPSC Forms Resize an exam photo to 20–50 KB and a signature to 10–20 KB in your browser: exact steps, 2026 SSC, IBPS and UPSC sizes, pixels vs KB, and fixes for...