Image to Grayscale

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 Quality
90%

What is Image Grayscale (Black & White Processing)?

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.

Why convert images to Black and White / Grayscale?

  • Printing: Many office printers are monochrome. Converting scanned documents or photos to grayscale beforehand lets you preview the print result and often enhances contrast, making text clearer.
  • Artistic Effect: In photography and web design, black and white images eliminate color distractions, directing the viewer's focus to the composition, lighting, and texture, creating a classic, vintage, or premium artistic vibe.
  • Reducing File Size: In certain format processing, removing color channel data can effectively reduce the image file size.

How does the grayscale filter work in the browser?

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.