Grayscale Image Converter

Drop images, choose a grayscale method or a black-and-white threshold, and download the converted copies — processed on your device, never uploaded.

  • Free
  • No account
  • Runs in your browser
  • Nothing uploaded
Grayscale Image ConverterNothing uploaded

Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy

What is Grayscale Image Converter?

This converter turns a colour image into shades of grey — or into pure black and white — directly in your browser. It is for making a photo black and white, turning a scan or a line drawing into crisp 1-bit black and white for printing, greying out a picture for a document or a mock-up, or prepping an image where only brightness matters. The file is never uploaded to a server.

You choose how the three colour channels collapse into one grey value. Perceptual (recommended) weights green most and blue least, which is how the eye judges brightness — a red and a green of the same "brightness" do not look equally bright, and this matches the familiar black-and-white photo look. Average adds red, green and blue and divides by three: simple and neutral, and it treats every colour the same. Lightness takes halfway between the brightest and darkest channel; it keeps strongly coloured areas from going muddy, which suits logos and flat graphics.

For pure black and white, tick the threshold and set the cut (1–254). Every pixel at or above the cut becomes white and every pixel below it becomes black, so the result is a strict two-colour, 1-bit image. That is the right mode for scanned text, signatures, stamps and line art, where grey shading is unwanted; it is the wrong mode for photographs, where it discards most of the detail and leaves heavy blotches. The threshold slid from one end to the other is the only control: raise it to keep more dark areas, lower it to keep more light ones.

Transparency is preserved. A PNG with a transparent background stays transparent no matter which mode you pick — only the visible colour is greyed. Nothing else about the picture changes: the pixel dimensions are untouched, and the output is saved in the same format where the browser can (PNG, JPG, WebP). GIF, BMP and AVIF cannot be re-encoded by a browser canvas, so those are saved as PNG, which is lossless; an animated file keeps only its first frame.

How it works: your browser decodes the image (a phone photo is turned upright using its EXIF orientation), draws it onto a canvas at full size, and this tool rewrites the red, green and blue values of every pixel in JavaScript on the raw pixel data. The canvas is then re-encoded and offered as a download. Because the picture is redrawn on a canvas, EXIF metadata — camera, date and GPS location — is not copied into the result, which is a privacy gain in itself.

Limits: up to 50 images at a time, 50 MB each, and about 100 megapixels (16,384 px per side). iPhones and iPads allow a canvas of only about 16.7 megapixels, so a very large photo may fail there with a message saying so. Your images stay on your device: the Network tab in your browser's developer tools shows no request carrying them.

1. The file's size is checked (50 MB) before it is read, and its first bytes confirm it is PNG, JPG, WebP, GIF, BMP or AVIF; the browser decodes it upright. 2. The image is drawn onto a canvas at full size and its RGBA pixels are read. 3. Each pixel's grey value is computed from its red, green and blue channels: • Perceptual: 0.2126 R + 0.7152 G + 0.0722 B (Rec. 709 luma coefficients), rounded. • Average: (R + G + B) ÷ 3, rounded. • Lightness: (max(R, G, B) + min(R, G, B)) ÷ 2, rounded. 4. If a threshold is set, the grey value becomes 255 when it is at or above the cut and 0 when it is below it. 5. Red, green and blue are all set to that value; the alpha channel is left exactly as it was. 6. The pixels are written back, the canvas is encoded, and the file is named like photo-grayscale.jpg or scan-black-and-white.png.

The three grayscale methods compared
 FormulaLooks likeBest for
Perceptual0.2126 R + 0.7152 G + 0.0722 BThe familiar black-and-white photo lookPhotographs, portraits, landscapes
Average(R + G + B) ÷ 3Neutral — every colour counts equallyNeutral results, a starting point
Lightness(max + min) ÷ 2Brightest and darkest channels onlyLogos, flat graphics, saturated colours

Worked examples

  • Pure red (255, 0, 0): perceptual → 54, average → 85, lightness → 128.
  • A red JPG with perceptual grayscale → photo-grayscale.jpg, "Grayscale (perceptual luminance)".
  • A scan with average and threshold 150 → scan-black-and-white.png, every pixel pure black or pure white.
  • A transparent PNG stays transparent: a pixel (0, 0, 255, 40) becomes (18, 18, 18, 40) — grey, still 40/255 opaque.

How to use Grayscale Image Converter

  1. Click "Choose images", drop files on the box, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
  2. Choose the grayscale method: Perceptual, Average or Lightness.
  3. For pure black and white, tick "Pure black and white" and set the threshold; otherwise leave it off to keep the grey shades.
  4. Click "Convert to grayscale", then download each image or all of them as a ZIP.

Common errors

  • "Threshold must be a whole number from 1 to 254." — type a whole number in range, or turn the black-and-white option off to keep grey shades.
  • "… is actually a HEIC file, not PNG, JPG, WebP, GIF, BMP or AVIF." — convert HEIC photos to JPG first.
  • "… is 62.40 MB, over the 50.00 MB limit for this tool…" — resize or compress the file first.
  • "The output would be 20000 × 12000 pixels — more than a browser can safely draw…" — resize the image smaller first.
  • "Your browser could not encode an image this large…" — the image is larger than this device allows (about 16.7 megapixels on iPhone and iPad). Use a desktop browser or resize it first.

FAQ

How do I make an image black and white?

Drop the image in and click "Convert to grayscale" for grey shades, or tick "Pure black and white" and set a threshold for strict black or white. The file is converted in your browser and never uploaded.

What is the difference between grayscale and black and white?

Grayscale keeps many shades of grey — one brightness value per pixel. True black and white has only two values, black and white, decided by a threshold. A photograph usually looks best in grayscale; scanned text, signatures and line art usually look best in black and white.

Which grayscale method should I use?

Perceptual for photographs — it matches how the eye sees brightness. Lightness for logos and flat graphics with strong colours, so they do not go muddy. Average when you want a neutral, mechanical result.

Does converting to grayscale keep transparency?

Yes. Only the red, green and blue values change; the alpha channel is untouched, so a transparent PNG background stays transparent.

Does it remove metadata like GPS location?

Yes. The image is redrawn on a canvas and re-encoded, so EXIF metadata — including any GPS location and the camera model — is not carried into the saved file.

Can I convert several images at once?

Yes, up to 50 in one go. Add them all, set the options, and download each result or everything together as a ZIP.

Can I undo a black-and-white conversion?

No. Greyscale and thresholding throw the colour away permanently, and the saved file cannot be turned back into the original colours. Keep your colour original if you might need it again.

G

Prefer AllUtil on Google

One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.

2× more likely to clickWorks in AI Overviews

Reviewed by unreviewed

Written by Hamza AK. We research, build and test every tool before it is published.

Editorial policy

Last updated

Rechecked against the sources on this date, not stamped.

Methodology

Greyscale is computed in JavaScript on the raw pixels, so the same file and settings give the same result in every browser. Perceptual mode uses the Rec. 709 luma coefficients on the sRGB channel values — the standard approximation for 8-bit images, not the linear-light definition. Thresholding is not reversible and is meant for line art and scans, not photographs. JPG and WebP output is lossy and re-compressed at the quality you choose (92 by default); EXIF metadata and colour profiles are not copied, and an animated GIF or WebP keeps only its first frame. GIF, BMP and AVIF are saved as PNG, because browsers cannot reliably encode those formats from a canvas.