Kharabeesh
On-device ع

Grayscale & Black-and-White

Turn an image grayscale or pure black and white (handy for photographed notes and pages), adjust brightness and contrast, or invert the colours. Live preview, full-resolution export, all on your device.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose an image (JPG, PNG or WebP).
  2. Pick a mode: grayscale, black and white, or colour with brightness and contrast only.
  3. Move the sliders until the preview looks right, then press “Download image”.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

Is my image uploaded anywhere?

No. Every pixel is computed inside your browser and the result downloads straight to your device.

What is the difference between grayscale and black and white?

Grayscale keeps the lightness levels (256 shades). Black and white makes every pixel either black or white around a threshold you choose, which cleans the background of photographed pages and makes writing stand out.

What does the “Auto” button do?

It computes the black-and-white threshold from the image’s lightness distribution using Otsu’s well-known statistical method. It is not AI, and you can still adjust the threshold by hand.

Why does my page photo have black patches?

One threshold is used for the whole image, so uneven lighting (a shadow on one side) turns part of the page black. Try raising brightness or lowering the threshold, or photograph the page in even light.

How is gray computed, and which format should I save?

With the standard luma formula: 0.299 red + 0.587 green + 0.114 blue. For black and white choose PNG (crisp edges, small file); for grayscale photos JPG is smaller. EXIF data is dropped from the output.

Formulas & sources

Related tools