Skip to content
Tejo Tools
Search
Menu
Processed on your device

Black and white image

Take the colour out of a picture, or turn it into pure black and white, right in your browser.

Style

Location and camera data are always removed.

Your files will appear here.

Last updated

What it does

This tool makes a new copy of your picture without colour. Choose a style:

How to use it

  1. Drop your images on the box, paste them, or select Choose files. Select “Try a sample” to see an example picture without its colour.
  2. Choose a Style. For Black and white, set the Threshold from 1 to 254 if the default of 128 makes the picture too dark or too light. Every image is changed at once, and again when you change a choice.
  3. Select Download on a card to save one image, or Download all to save them together in a ZIP file.
  4. Press Ctrl+Enter (⌘+Enter on a Mac) to run every image again, or Esc to stop the ones still working.

How the grey is worked out

The grey level Y of a pixel is 0.2126 × R + 0.7152 × G + 0.0722 × B, rounded to the nearest whole number, using the stored red, green and blue values from 0 to 255. Grayscale gives the pixel R = G = B = Y. Black and white gives 255 where Y is at least the threshold and 0 where it is lower. The transparency of a pixel is not changed. For example, a pixel of red 200, green 100 and blue 50 has Y = 42.52 + 71.52 + 3.61 = 117.65, which rounds to 118. At the default threshold of 128 it is black in Black and white.

Good to know

Privacy

Your images are processed on your device: the tool runs in your browser and doesn’t upload them. The new image is made from the pixels alone, so camera details and location data from the original are always removed.

Advertisements

Frequently asked questions

What is the difference between Grayscale and Black and white?

Grayscale keeps every shade of grey between black and white, so a photo still looks like a photo, only without colour. Black and white has just two tones, pure black and pure white, so the picture turns into a stark drawing. Use Grayscale for photos and Black and white for scans of text, stamps or line art, or to get a high-contrast look.

How is the grey level worked out?

Each pixel's red, green and blue values (0 to 255) are combined into one grey level: 0.2126 × red + 0.7152 × green + 0.0722 × blue, rounded to a whole number. Green counts most because the eye is most sensitive to it, so a bright green looks lighter than an equally strong blue. The same grey is then used for red, green and blue. The weights are the standard ones for sRGB images, and they are applied to the stored values as they are.

What does the threshold do?

In Black and white, a pixel whose grey level is at or above the threshold becomes white, and every other pixel becomes black. The default is 128, the middle of the scale. A higher threshold turns more of the picture black, and a lower one turns more of it white. It can be any whole number from 1 to 254, and it is not shown for Grayscale.

What happens to transparent areas?

In PNG and WebP, transparent areas stay as transparent as they were, and only their colour changes. JPG has no transparency, so transparent areas are filled with white before the colour is removed, and they come out white.

Are my images uploaded?

No. Your images are changed by your browser, on your device, and they aren't sent anywhere. A new image is saved only when you select Download.

Advertisements