Convert image to grayscale

Drop a photo and it turns grayscale instantly. Add contrast for a punchier black-and-white look, then download.

Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.

Grayscale vs black and white

Grayscale keeps all 256 shades between black and white. “Black and white” in photography usually means grayscale with stronger contrast. A pure 1-bit black/white image (only two colors) is mainly used for line art and scanning.

How the adjustments are calculated

Each pixel’s red, green and blue values (0–255) are changed by simple formulas. Luminance uses the standard weights:

gray = 0.299·R + 0.587·G + 0.114·B

Sepia applies the common matrix R′ = 0.393R + 0.769G + 0.189B, G′ = 0.349R + 0.686G + 0.168B, B′ = 0.272R + 0.534G + 0.131B. Contrast uses factor = 259(c + 255) ÷ (255(259 − c)). The preview is reduced for speed; the download is processed at full size.

Frequently asked questions

Why not just average R, G and B?
Our eyes are most sensitive to green and least to blue, so weighted luminance (0.299, 0.587, 0.114) looks more natural than a plain average.
Does grayscale make the file smaller?
A little for JPG, since color channels compress to almost nothing, but the pixel count is the same.