Convert colored images to black-and-white grayscale locally with one click. Quick downloads supported.
上传图片,选择目标格式,一键转换并下载。全程在浏览器本地处理,不上传服务器。
Click to select or drag and drop here
Supports PNG / JPG / WEBP / GIF / AVIF / HEIC / HEIF (Max 10MB)
Image grayscaling is the process of converting a color image into an image that consists only of black, white, and various shades of gray in between. In digital image processing, every color pixel is made up of Red (R), Green (G), and Blue (B) channels. In a grayscale image, the R, G, and B values are equal, representing a single luminance value. It removes color information, retaining only the brightness (light and shadow) details.
Our online tool utilizes the modern browser's CanvasRenderingContext2D API. After you upload an image, JavaScript scans every pixel row by row. For each pixel, we extract the original R, G, B values and calculate the luminance using a human visual perception weighted formula (typically 0.299*R + 0.587*G + 0.114*B). This value is then reassigned to the RGB channels. This entire massive computation is completed instantly and entirely offline.