Skip to content
DoItJag

Black and White Image Converter

Convert colour images to greyscale, or to pure black and white with a threshold you control. Works on several images at once.

or drop files here · JPG, PNG, WebP · up to 50 MB · max 20 files

Processed on your device. Your files are not uploaded.

About the Black and White Image Converter

This tool removes colour from photos and graphics. It offers two styles. Greyscale keeps every shade from black to white, which is what most people mean by a black and white photo. Pure black and white leaves only two values, black and white, which suits line drawings, signatures, stamps and documents.

How the grey level is calculated

Simply averaging red, green and blue makes greens look too dark and blues too light, because our eyes are far more sensitive to green. The converter therefore uses the Rec. 709 luma weights from the HDTV standard: grey = 0.2126 × red + 0.7152 × green + 0.0722 × blue. The weights are applied to the stored pixel values and the result is rounded to a whole number from 0 to 255. Pure red becomes 54, pure green 182 and pure blue 18, while white stays 255 and black stays 0.

In pure black and white mode the same grey level is compared with the threshold. Pixels at or above it turn white; darker pixels turn black. The default of 128 sits in the middle. Raise it to darken faint lines; lower it to clear a grey background.

Worked example

You photographed a handwritten signature on off-white paper. Choose the image and select Pure black and white. With the threshold at 128 the paper turns white, but the thinnest strokes break up. Move the slider to 160 and watch the preview: the strokes become solid. Select Convert images and download signature-bw.png.

Good to know

  • Transparent areas of PNG and WebP images stay transparent; only the colours change.
  • Several images can be converted together and downloaded as one ZIP, using the same settings for all of them.
  • The output keeps the original format. JPG and WebP are compressed again at the quality you choose; PNG is lossless.
  • New files do not contain the original EXIF metadata such as the camera, date or GPS location.
  • To mirror an image instead, use Flip Image.

How to use Black and White Image Converter

  1. Choose one or more JPG, PNG or WebP images.
  2. Pick Greyscale or Pure black and white, and adjust the threshold if needed.
  3. Select Convert images, then download each file or a ZIP of all of them.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server.

Frequently asked questions

How is the grey level calculated?

Each pixel becomes 0.2126 × red + 0.7152 × green + 0.0722 × blue, the Rec. 709 luma weights. Green counts most because our eyes are most sensitive to it.

What does the threshold do?

In pure black and white mode every pixel whose grey level is at or above the threshold (0 to 255) turns white and every darker pixel turns black. 128 is the midpoint.

Is transparency kept?

Yes. PNG and WebP transparency is left as it was; only the colours change.