Grayscale Image Converter

Remove the color from a photo with an intensity slider: 100% gives full grayscale, and lower values keep part of the original color. Save the result as PNG or JPG.

Drop your image here or click to select

Supports PNG, JPG, and WebP - up to 50 MB

Runs in your browser: your files and text are not uploaded. Free, no account needed.

Last updated: · Reviewed by the QuickTooly Team

How the conversion works

How the Gray Values Are Calculated

The tool applies the canvas grayscale() filter from the CSS Filter Effects specification. At 100% each pixel becomes 0.2126 × R + 0.7152 × G + 0.0722 × B, the Rec. 709 luminance weights. Green counts most because the eye is most sensitive to it. Browsers without canvas filter support, such as older Safari, get the same formula applied pixel by pixel.

Example: pure red (255, 0, 0) becomes 0.2126 × 255 ≈ 54, a dark gray. Pure green becomes about 182 and pure blue about 18. Colors that look equally strong can end up as very different grays.

  • Intensity: values below 100% blend between the original and the gray version, so 50% is a half-desaturated look.
  • Not two-tone: the result has up to 256 shades of gray, not only black and white pixels.
  • File size: the PNG is still saved with three equal color channels, so it is not much smaller than a color PNG. JPG (default quality 92%) is smaller and fills transparent areas with white.

Grayscale Questions

Can I convert to pure black and white with only two tones?

No. The tool produces grayscale with up to 256 shades. Two-tone output needs a threshold step, which this tool does not have.

Why do two different colors look the same in gray?

Colors with similar luminance map to similar grays even when their hues differ. Raise the contrast between them in an image editor before converting if you need them to stay apart.

Related Image Tools