Grayscale Converter

Turn any image into grayscale with the luminance formula, which weights green most because the eye sees brightness that way. Downloads as a lossless PNG.

Image Tools● Free No upload Instant

Loading Grayscale Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Drop in an image and it converts every pixel to gray using the standard luminance formula: 0.299 red plus 0.587 green plus 0.114 blue. Green carries the most weight because the eye is most sensitive to it, so the result looks naturally balanced rather than washed out. The picture keeps its size and downloads as a lossless PNG, all in your browser.

What the Grayscale Converter does

This converts a colour image to grayscale: shades of gray from black to white. It does not take a simple average of the red, green and blue channels; it uses the perceptual luminance formula so the grays match how bright each colour looks to a person.

The output still has 256 possible levels of gray per pixel, so detail and tonal gradation are kept. It is the right choice when you want a tasteful black-and-white-photo look rather than a harsh two-tone image.

How it works

Drop or pick an image. Your browser draws it onto a canvas at its original size.

Each pixel's red, green and blue are combined with the weights 0.299, 0.587 and 0.114 into a single gray value, which is written back to all three channels. Any transparency is left untouched.

Download saves the result as a lossless PNG. The canvas re-encode also strips EXIF and GPS metadata.

Processing pipeline

  1. Decode locally. Your browser reads the image and draws it onto a canvas without uploading it.
  2. Read the pixels. The raw red, green and blue values are pulled from the canvas.
  3. Apply the luma weights. Each pixel becomes 0.299 red plus 0.587 green plus 0.114 blue, written to all three channels.
  4. Export the PNG. The grayscale canvas is saved as a lossless PNG with your original base name.

Grayscale (Rec. 601 luma)

Gray = 0.299 × R + 0.587 × G + 0.114 × B
Worked example
A pixel R=120, G=200, B=80 becomes Gray ≈ 162 (0.299×120 + 0.587×200 + 0.114×80), set on all three channels.

Green has the largest weight (0.587) and blue the smallest (0.114) because the eye is most sensitive to green light and least to blue. A plain (R+G+B)/3 average would make greens too dark and blues too light.

Privacy

Your browser processes the image and never uploads it. No server is involved.

The canvas re-encode strips all EXIF and GPS metadata, so the grayscale PNG carries no camera, date or location tags.

No account, no stored copy; close the tab and nothing remains.

Technical details

MethodRec. 601 luma (0.299/0.587/0.114)
Output formatPNG (lossless)
Levels256 shades of gray
TransparencyPreserved (alpha untouched)
DimensionsUnchanged
MetadataEXIF/GPS stripped
Processing100% in-browser

Standards & references

  • Rec. 601 luma: The coefficients 0.299, 0.587 and 0.114 come from ITU-R BT.601 and weight the channels by the eye's sensitivity, with green highest and blue lowest.
  • Grayscale: A grayscale image holds 256 levels of gray per pixel, so tonal detail survives, which a two-value black-and-white image cannot do.

Accuracy and limits

This is true grayscale: 256 levels of gray, so gradients and detail survive. If you instead want a pure two-tone image of only black and white, use the black-and-white converter, which thresholds the picture.

The luma weights are applied to the standard gamma-encoded sRGB values, which is the common and fast approach. A strictly correct luminance would convert to linear light first; the visible difference is small and rarely matters for a grayscale look.

The output stays a three-channel PNG with equal red, green and blue, so it looks gray but is not a single-channel grayscale file. File size drops only modestly versus the colour original.

Transparency is preserved because only the colour channels are changed; the alpha channel is left alone.

Where people use it

Black-and-white photo look

Give a photo a classic monochrome treatment while keeping full tonal detail.

Neutralise colour

Remove colour so attention falls on shape, contrast and composition.

Prep for print

Preview how an image will read in a grayscale or single-ink print.

Consistent UI assets

Desaturate icons or thumbnails so they sit together visually.

When it fits, and when it doesn't

Good for

  • A monochrome photo look with full tonal range
  • Desaturating images while keeping detail
  • Previewing how a picture reads without colour

Not the best choice for

  • A pure two-colour, high-contrast result (use black and white)
  • Shrinking file size dramatically
  • Editing specific colours, since this removes all colour

For a pure two-tone image of only black and white, use the black-and-white converter; to flip colours to their opposite, use the colour inverter.

Frequently asked questions

What formula does it use for grayscale?
The Rec. 601 luma formula: Gray = 0.299 red + 0.587 green + 0.114 blue. Each pixel's three channels are combined into one gray value with those weights.
Why is green weighted more than red or blue?
Because the human eye is most sensitive to green light, around 555 nanometres, and least sensitive to blue. Weighting green highest makes the grays match perceived brightness, which a plain average cannot do.
Is this grayscale or black and white?
Grayscale: 256 shades from black through gray to white. True black and white has only two values; for that, use the black-and-white converter, which thresholds the image.
Why not average red, green and blue?
A flat (R+G+B)/3 average ignores how the eye perceives brightness, so greens come out too dark and blues too light. The weighted luma formula gives a natural-looking result.
Does it keep transparency?
Yes. Only the colour channels are converted to gray; the alpha channel is untouched, so a transparent PNG stays transparent.
What format do I get?
A PNG, saved with your original base name. PNG is lossless, so the grayscale conversion adds no compression artefacts.
Will the file be much smaller?
Only a little. The output stays a three-channel PNG with equal red, green and blue, so it is not a compact single-channel grayscale file. Run it through a compressor if size matters.
Does it resize my image?
No. The dimensions are unchanged; only the colours become gray.
Does it strip EXIF and GPS data?
Yes. The canvas re-encode removes all metadata, so the grayscale PNG has no camera or location tags.
Is my image uploaded?
No. Your browser does the conversion; no server sees the image and nothing is stored.
Can I undo the grayscale?
Not from the grayscale file. Once colour is removed it cannot be recovered. Keep your original colour image if you might need it back.
Is this the same as desaturating in a photo editor?
It is the luminance method of desaturation, which most editors offer alongside others. The result matches a standard luma-based grayscale conversion.

References

Converts each pixel to gray with the Rec. 601 luma formula (0.299 red, 0.587 green, 0.114 blue), rather than a plain average, so brightness looks right. The result is a lossless PNG made in your browser.

PopularHot

Image Compressor

Drag the quality slider and watch the JPEG size drop.

ImageOpen
PopularNo Upload

Image Resizer

Set exact pixel dimensions with the aspect ratio locked.

ImageOpen
Popular

Image Cropper

Drag a box and keep only that part of the picture.

ImageOpen
Popular

Favicon Generator

Make 16, 32 and 180 pixel favicon PNGs from one image.

ImageOpen
Popular

Image to PDF

Put JPGs or PNGs into one PDF, one image per page.

ImageOpen
Trending

PNG to WebP Converter

Shrink a PNG to WebP and keep the transparency.

ImageOpen

Back to the Grayscale Converter

Your image stays on this device. There's no account and no charge.