EIT easy-image-tools / Check if a PNG is grayscale

Check if a PNG is grayscale

Reports whether the image consists only of shades of gray.

01

Check if a PNG is grayscale

Nothing found — try another word.

This tool has no parameters — the result is ready as is.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Check if a PNG is grayscale tests whether the red, green and blue values of every pixel are identical — the condition for an image that can be displayed as pure shades of gray — and answers with a plain yes or no. The check runs on the decoded pixels in your browser, so the file is decoded on your own device and is never uploaded. Upload accepts PNG, JPG, WebP and BMP, so the same check works for any of them; the page keeps the png name only because that is how people search for this test.

  • Runs entirely in your browser: no upload, no server, no signup.
  • No settings: the verdict appears as soon as the image loads.
  • A no means at least one pixel carries color — often only compression noise.
  • The show color pixels mask displays exactly where the color sits.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. The verdict appears immediately; there are no settings to change.
  3. A yes means every pixel has equal red, green and blue values.
  4. A no means at least one pixel carries color - use the show color pixels mask to see exactly where.

Questions

What counts as a grayscale image?

An image where the red, green and blue values of every pixel are the same number. Such a picture holds no hue information, so converting it to a gray mode cannot lose anything that is not already there.

Can a color image still look black and white?

Yes. A photo of a black and white subject stored in color will report no, because the channels are not exactly equal - compression and lighting leave small differences. Visually it is gray, technically it carries color.

Does the file get uploaded?

No. Decoding and the check both happen in your browser tab. Nothing is sent anywhere and nothing is stored.

How do I find the colored pixels in a gray-looking image?

Use the show color pixels tool from this site: it renders every pixel whose channels differ as a mask, so you can see where the leftover color sits before you convert the picture to grayscale.

Related tools