Grayscale Image Converter - Convert Photos to Black & White Online
Convert any image to grayscale online. 7 conversion methods including Luminosity (BT.709), Average, Desaturation. Adjust intensity, preview & download free.
Drop image here or click to upload
PNG, JPG, BMP, WebP, GIF โข Max 50 MB
About
Converting a color image to grayscale is not a trivial operation. A naive approach - averaging the red, green, and blue channels - produces perceptually inaccurate results because the human eye does not weight all wavelengths equally. The cone cells in the retina are most sensitive to green light (peaking near 555 nm), moderately sensitive to red, and least sensitive to blue. The ITU-R BT.709 standard encodes this biological asymmetry with precise coefficients: R ร 0.2126, G ร 0.7152, B ร 0.0722. Ignoring these weights produces flat, washed-out conversions where a bright red and a bright green become indistinguishable - a critical failure in medical imaging, print prepress, and forensic photography. This tool implements seven distinct grayscale algorithms so you can match the method to the domain. The intensity slider lets you blend between the original color and the computed gray, useful for partial desaturation effects in editorial photography. All processing runs in your browser via a Web Worker; no image data leaves your machine. Limitation: output quality is bounded by the source image resolution and bit depth. JPEG artifacts in the source will persist in the output.
Formulas
The primary conversion uses the ITU-R BT.709 luminosity model:
Y = 0.2126 โ R + 0.7152 โ G + 0.0722 โ B
where Y = output luminance value (0 - 255), R = red channel intensity, G = green channel intensity, B = blue channel intensity.
The intensity blending function linearly interpolates between the original color and the grayscale value:
Cout = Corig โ (1 โ t) + Y โ t
where t โ [0, 1] is the intensity parameter. At t = 1 the output is fully grayscale. At t = 0 the original image is preserved.
For the desaturation method, the HSL lightness channel is computed:
L = max(R, G, B) + min(R, G, B)2
For custom weights, the user supplies wr, wg, wb which are normalized: wi โ wiwr + wg + wb to ensure the output stays within the 0 - 255 range.
Reference Data
| Method | Formula | Perceptual Accuracy | Speed | Best Use Case |
|---|---|---|---|---|
| Luminosity (BT.709) | 0.2126R + 0.7152G + 0.0722B | Excellent | Fast | Photography, Print, General Use |
| Luminosity (BT.601) | 0.299R + 0.587G + 0.114B | Very Good | Fast | Legacy Video, NTSC Systems |
| Average | (R + G + B) รท 3 | Low | Fastest | Quick Preview, Non-critical |
| Desaturation (HSL) | (max(R,G,B) + min(R,G,B)) รท 2 | Moderate | Fast | Artistic Effects, Soft Look |
| Max Decomposition | max(R, G, B) | Low | Fastest | Lighter Output, Highlight Recovery |
| Min Decomposition | min(R, G, B) | Low | Fastest | Darker Output, Shadow Emphasis |
| Red Channel | R | Low | Fastest | Skin Tone Enhancement |
| Green Channel | G | Good | Fastest | Landscape, Foliage Detail |
| Blue Channel | B | Low | Fastest | Sky/Water Contrast, Dramatic Effect |
| Custom Weights | wrR + wgG + wbB | User-defined | Fast | Scientific, Calibrated Systems |
| Additional Reference: Color Space Constants | ||||
| sRGB Gamma | ฮณ ≈ 2.2 | - | - | Display-referred images |
| Linear Light Threshold | C โค 0.04045 | - | - | sRGB linearization cutoff |
| Human Peak Sensitivity | 555 nm (green) | - | - | Photopic vision reference |
| 8-bit Dynamic Range | 0 - 255 per channel | - | - | Standard web images (JPEG/PNG) |
| Print LPI (Fine Art) | 150 - 300 lpi | - | - | Halftone screen ruling |