Image Compressor
Drag the quality slider and watch the JPEG size drop.
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.
Your browser is preparing the tool. It runs 100% locally.
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.
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.
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.
Gray = 0.299 × R + 0.587 × G + 0.114 × BA 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.
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.
| Method | Rec. 601 luma (0.299/0.587/0.114) |
|---|---|
| Output format | PNG (lossless) |
| Levels | 256 shades of gray |
| Transparency | Preserved (alpha untouched) |
| Dimensions | Unchanged |
| Metadata | EXIF/GPS stripped |
| Processing | 100% in-browser |
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.
Give a photo a classic monochrome treatment while keeping full tonal detail.
Remove colour so attention falls on shape, contrast and composition.
Preview how an image will read in a grayscale or single-ink print.
Desaturate icons or thumbnails so they sit together visually.
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.
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.
Drag the quality slider and watch the JPEG size drop.
Set exact pixel dimensions with the aspect ratio locked.
Drag a box and keep only that part of the picture.
Make 16, 32 and 180 pixel favicon PNGs from one image.
Put JPGs or PNGs into one PDF, one image per page.
Shrink a PNG to WebP and keep the transparency.
Your image stays on this device. There's no account and no charge.