Black and White Converter

Convert an image to true black and white — only two colours, no gray — with an adjustable threshold. Downloads as a lossless PNG.

Image Tools Free No upload Instant

Loading Black and White Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Drop in an image and every pixel is forced to pure black or pure white — only two values, no shades of gray. The tool measures each pixel's brightness and compares it to a threshold (default 128 of 255): brighter becomes white, darker becomes black. Slide the threshold to control how much turns black. The result is a lossless PNG, made entirely in your browser.

What the Black and White Converter Does

This makes a true black-and-white image — a process called thresholding or binarisation. Unlike grayscale, which keeps 256 shades, this keeps exactly two: black and white. The effect is high-contrast and graphic.

A threshold slider decides the cut-off. Each pixel's brightness is measured, and anything at or above the threshold turns white while anything below turns black. Lower the threshold to keep more white; raise it to push more to black.

How It Works

Drop or pick an image. It is drawn onto a canvas in your browser.

Each pixel's brightness is computed with the luma formula (0.299 red, 0.587 green, 0.114 blue), then compared to the threshold. At or above, the pixel becomes white; below, it becomes black.

Drag the threshold slider to taste, then download. The output is a lossless PNG, and the canvas re-encode strips EXIF and GPS metadata.

Processing pipeline

  1. Decode locally. Your image is drawn onto a canvas in the browser — never uploaded.
  2. Measure brightness. Each pixel's luma is computed as 0.299 red plus 0.587 green plus 0.114 blue.
  3. Threshold to two values. Luma at or above the threshold becomes white (255); below becomes black (0).
  4. Export the PNG. The two-colour canvas is saved as a lossless PNG with your original base name.

Threshold to black or white

Luma = 0.299 × R + 0.587 × G + 0.114 × B Pixel = white if Luma ≥ threshold, else black
Worked example
At the default threshold of 128: a pixel with luma 162 is at or above 128, so it turns white; a pixel with luma 90 turns black.

Every pixel ends as pure black or pure white — only two values. That is what makes this true black and white rather than grayscale, which keeps 256 shades.

Privacy

Your image is processed entirely in your browser and never uploaded — there is no server.

The canvas re-encode strips all EXIF and GPS metadata, so the black-and-white PNG carries no camera or location tags.

No account, no stored copy; everything is gone when you close the tab.

Technical Details

MethodLuma threshold (binarisation)
ThresholdAdjustable, default 128 of 255
Output formatPNG (lossless)
ValuesTwo only — black and white
DimensionsUnchanged
MetadataEXIF/GPS stripped
Processing100% in-browser

Standards & references

  • Thresholding / binarisation — The standard way to turn a grayscale image into two values: pixels below the threshold become black, those at or above become white.
  • Two-value (1-bit) image — A true black-and-white image holds only two possible pixel values, unlike grayscale's 256 levels.

Accuracy & Limitations

This is real black and white — exactly two values — not grayscale. If you want shades of gray with detail preserved, use the grayscale converter instead.

The result depends heavily on the threshold. A single fixed cut-off suits high-contrast art and clean scans, but a photo with uneven lighting may lose detail in shadows or highlights; adjust the slider to balance it.

The threshold is global — the same value is applied across the whole image. It does not adapt region by region, so very uneven lighting can give patchy results.

The output is a lossless PNG at the original dimensions. Because there are only two colours, this kind of image compresses extremely well.

Real-World Use Cases

Clean up a scan

Turn a scanned document or sketch into crisp black ink on white paper.

Line art and stencils

Reduce an image to a bold two-tone graphic for stencils, logos or cutting machines.

High-contrast effect

Create a striking, posterised black-and-white look for design work.

Prep for one-colour print

Preview how artwork will reproduce as pure black on white.

When to use it — and when not to

Good for

  • True two-colour, high-contrast images
  • Cleaning up scanned documents and line art
  • Stencils, logos and one-colour artwork

Not the best choice for

  • Photos that need tonal detail and shades
  • Even, gradual shading — that needs grayscale
  • Uneven lighting, where a single threshold struggles

For shades of gray with detail, use the grayscale converter; to flip colours to their opposite rather than threshold them, use the colour inverter.

Frequently Asked Questions

How is this different from grayscale?
Grayscale keeps 256 shades of gray; this keeps only two values — pure black and pure white. This tool thresholds the image, so there are no grays at all, just a high-contrast two-tone result.
What does the threshold do?
It sets the brightness cut-off. Each pixel's luma is compared to the threshold: at or above it the pixel turns white, below it the pixel turns black. The default is 128, the middle of the 0 to 255 range.
Should I raise or lower the threshold?
Lower it to keep more of the image white and push only the darkest parts to black; raise it to turn more of the image black. Adjust until the detail you care about is clear.
How is brightness measured?
With the luma formula, 0.299 red plus 0.587 green plus 0.114 blue, the same perceptual weighting used for grayscale. That single brightness value is what gets compared to the threshold.
Why does my photo lose detail?
A single threshold works best on high-contrast images. Photographs with smooth shading or uneven lighting can lose detail in the shadows or highlights, because every pixel must become fully black or fully white.
What format do I get?
A PNG, saved with your original base name. With only two colours, the PNG compresses very efficiently and stays small.
Does it resize my image?
No. The dimensions are unchanged; only the colours are reduced to black and white.
Is the threshold applied to the whole image?
Yes. It is a single global value used everywhere. It does not adapt to different regions, so strongly uneven lighting can give patchy results.
Does it strip EXIF and GPS data?
Yes. The canvas re-encode removes all metadata, so the output has no camera or location tags.
Is my image uploaded?
No. Everything runs in your browser, with no server and nothing stored.
Can I get gray as well as black and white?
Not from this tool — it is two-value by design. For shades of gray, use the grayscale converter.
Why does it look posterised or harsh?
That is expected. Forcing every pixel to pure black or white removes all the in-between tones, which gives the bold, graphic look this tool is for.

References

This is real black and white, not grayscale: each pixel's luminance is compared against a threshold (default 128) and forced to pure black or pure white. The threshold is adjustable, the output is a lossless PNG, and it all runs in your browser.

PopularHot

Image Compressor

Image Compressor online, free and private. Process images instantly on your device.

ImageOpen Tool
PopularNo Upload

Image Resizer

Edit and convert Image Resizer right in your browser — no upload, no quality loss.

ImageOpen Tool
Popular

Image Cropper

Edit and convert Image Cropper right in your browser — no upload, no quality loss.

ImageOpen Tool
Popular

Favicon Generator

Favicon Generator online, free and private. Process images instantly on your device.

ImageOpen Tool
Popular

Image to PDF

Use Image to PDF to transform images locally — fast, secure and watermark-free.

ImageOpen Tool
Trending

PNG to WebP Converter

Edit and convert PNG to WebP Converter right in your browser — no upload, no quality loss.

ImageOpen Tool

Ready to try the Black and White Converter?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.