
Click to upload an image or drag & drop
Supports JPG, PNG, GIF, BMP, WebP
Convert any image to black & white – choose PNG, JPEG, WebP, or BMP
Click to upload an image or drag & drop
Supports JPG, PNG, GIF, BMP, WebP
The image is drawn on a canvas, and each pixel is converted to grayscale using the luminance formula: gray = 0.299·R + 0.587·G + 0.114·B. You can download the result in PNG, JPEG, WebP, or BMP format. Quality setting applies to JPEG and WebP.

Founder & CEO, Toolraxy
Faiq Ur Rahman is a web designer, digital product developer, and founder of Toolraxy, a growing platform of web-based calculators and utility tools. He specializes in building structured, user-friendly tools focused on health, finance, productivity, and everyday problem-solving.
User Ratings:
ADVERTISEMENT
The Grayscale Converter transforms any color image into black and white instantly. Whether you need monochrome images for print, design projects, or creative effect, this tool applies professional-grade grayscale conversion directly in your browser.
Designed for photographers, graphic designers, web developers, and casual users, the tool uses the standard luminance formula to preserve image detail and contrast. No software installation required – just upload, convert, and download.
All processing stays on your device. Your images never upload to any server, ensuring complete privacy.
Upload an image – Click the upload area or drag and drop any JPG, PNG, GIF, BMP, or WebP file.
View previews – Original and grayscale versions appear side by side.
Select output format – Choose PNG, JPEG, WebP, or BMP from the dropdown menu.
Adjust quality – For JPEG and WebP formats, use the slider to set compression level (higher quality = larger file size).
Refresh preview – Click “Refresh preview” if needed to regenerate the grayscale version.
Download – Click the red “Download” button to save your grayscale image.
Use sample images – Click “Load Sample” or choose from the Info & Samples panel to test the tool.
The Grayscale Converter uses client-side JavaScript to process images pixel by pixel without server uploads.
Each pixel’s color values (Red, Green, Blue) are converted to a single grayscale value using the standard ITU-R BT.601 formula:
gray = 0.299 × R + 0.587 × G + 0.114 × B
The uploaded image is drawn onto an HTML5 canvas element
The canvas context extracts pixel data using getImageData()
A loop iterates through every pixel (every 4 array positions: R, G, B, A)
For each pixel, the RGB values are replaced with the calculated gray value
The modified pixel data is written back to the canvas with putImageData()
The canvas exports in your chosen format using toBlob()
PNG: Lossless compression, no quality adjustment
JPEG/WebP: Quality slider controls compression (0–100%)
BMP: Uncompressed bitmap format
The tool never sends image data to external servers. All conversion happens in memory on your device.
Input image: A pixel with RGB values (255, 200, 150)
Step 1: Apply luminance coefficients
Red contribution: 255 × 0.299 = 76.245
Green contribution: 200 × 0.587 = 117.4
Blue contribution: 150 × 0.114 = 17.1
Step 2: Sum contributions
76.245 + 117.4 + 17.1 = 210.745
Step 3: Round to nearest integer
gray = 211
Output: The pixel becomes (211, 211, 211) – a light gray value.
This calculation repeats for every pixel in the image, preserving the original luminance and contrast relationships.
Grayscale conversion is the process of transforming a color image into shades of gray, removing all color information while preserving luminance (brightness) values. Unlike simple desaturation, which averages RGB channels, professional grayscale conversion applies weighted coefficients that match human perception of brightness.
The human eye perceives green as brightest, red as medium, and blue as darkest. The standard luminance formula (0.299R + 0.587G + 0.114B) reflects this biological reality, ensuring converted images look natural and retain proper contrast.
Print Production – Many printing processes, from newspapers to laser printers, use only black ink. Grayscale conversion ensures images print with correct tonal range.
Design Applications – Monochrome images create visual hierarchy, reduce distraction, and convey sophistication in layouts. Designers often use grayscale as a starting point before applying selective color.
Accessibility – Grayscale can improve readability for users with color vision deficiencies. Some websites offer grayscale modes as an accessibility feature.
File Size Optimization – Grayscale images can be smaller than color equivalents, especially in formats like JPEG where chroma subsampling reduces color data.
Creative Effect – Black and white photography remains a timeless artistic choice, emphasizing composition, texture, and contrast over color.
Luminance Preservation – Proper weighting ensures bright colors don’t become too dark and vice versa. The standard coefficients maintain perceived brightness relationships.
Bit Depth – 8-bit grayscale provides 256 shades, sufficient for most displays. Higher bit depths (16-bit) preserve more tonal information for editing.
Gamut Mapping – Different RGB color spaces (sRGB, Adobe RGB) convert differently. This tool uses the image’s native color space as interpreted by the browser.
Anti-Aliasing – Text and sharp edges benefit from proper grayscale handling to avoid jagged appearance.
Photography – Converting digital photos to black and white for artistic portfolios, street photography, or documentary work.
Document Scanning – Archiving documents as grayscale reduces file size while maintaining text readability.
Medical Imaging – X-rays and other medical images are inherently grayscale; conversion tools ensure proper display.
Machine Learning – Many computer vision models convert images to grayscale during preprocessing to reduce computational load.
E-ink Displays – Devices like e-readers display grayscale natively; conversion optimizes images for these screens.
Privacy – No server upload means sensitive images never leave your device. Medical, legal, or personal photos remain secure.
Speed – Local processing eliminates upload/download latency. Conversion happens in milliseconds.
No Software Required – Works on any device with a modern browser: desktop, tablet, or smartphone.
No File Size Limits – Server-based tools often restrict file sizes. Client-side processing handles images up to device memory limits.
Free and Unlimited – No usage caps, subscriptions, or watermarks.
Large Images – Extremely high-resolution images may exceed canvas size limits (typically 5,000–10,000 pixels depending on browser and device memory).
Alpha Channel – Transparency in PNG is preserved, but the tool currently doesn’t offer specialized alpha handling.
Color Profile Ignorance – The conversion operates on RGB values as displayed, without ICC profile interpretation. For color-critical work, use professional editing software.
No Batch Processing – This tool processes one image at a time. For bulk conversion, consider desktop software.
Simple Desaturation – Averaging RGB channels (R+G+B)/3 produces flat, lifeless results compared to weighted luminance.
Ignoring Output Format – JPEG grayscale still uses chroma subsampling; PNG preserves exact pixel values.
Over-compression – Aggressive JPEG quality settings introduce artifacts in smooth gradients.
Forgetting Preview – Always check converted results before download, especially with lossy formats.
Professional imaging software like Adobe Photoshop, GIMP, and Affinity Photo use the same luminance formula (or minor variations) for grayscale conversion. The coefficients originate from NTSC television standards and remain the industry baseline.
Web developers frequently implement grayscale filters via CSS (filter: grayscale(100%)), but this applies only to display, not export. The canvas-based approach in this tool produces actual grayscale image files suitable for saving and sharing.
Complete Privacy – Images process locally in your browser; no files ever upload to any server.
Multiple Output Formats – Download as PNG (lossless), JPEG (compressed), WebP (modern format), or BMP (uncompressed).
Adjustable Quality – Fine-tune compression for JPEG and WebP outputs to balance file size and image quality.
Real-Time Preview – See original and grayscale versions side by side before downloading.
Sample Images Included – Test the tool instantly with built-in sample patterns without uploading your own files.
No Registration or Watermarks – Free to use with no account creation and no added branding on downloaded images.
Mobile-Friendly Interface – Responsive design works on phones and tablets with touch-optimized controls.
Copy as Data URL – Advanced feature lets you copy the image as a base64 string for embedding directly in code.
JPG, PNG, GIF, BMP, and WebP are supported. The tool uses the browser’s built‑in image handling, so any format your browser can display will work.
No. All processing happens locally in your browser. Your images never leave your device and are permanently deleted when you close the page.
Professional grayscale uses luminance weighting (0.299R + 0.587G + 0.114B) that matches human perception. Green appears brightest, then red, then blue – this preserves natural contrast.
Yes. Transparency (alpha channel) is preserved in PNG output. The grayscale conversion applies only to RGB channels.
CSS filters only change display appearance. This tool creates actual grayscale image files you can download, share, and use in any application.
ADVERTISEMENT
No waiting, no complexity.
Your image never leaves your device.
Black-and-white images highlight shapes, textures, and contrast.
Ideal for documents, prints, and low-color environments.
The Grayscale Image Converter is an easy-to-use online tool that transforms your images into beautiful black-and-white versions with just one click. Whether you’re enhancing a photo’s mood, creating artistic visuals, or preparing images for design work, this tool provides a clean, accurate grayscale effect without losing details.
It works directly in your browser and supports popular formats like JPG, PNG, and GIF. No software installation is needed — just upload, convert, and download.
Upload your image
Click the upload area or drag & drop your file (JPG, PNG, GIF up to 5MB).
Check image details
The tool shows file name, size, and resolution.
Click “Convert to Grayscale”
The tool processes the image automatically.
Preview the result
See the black-and-white version instantly.
Download the final image
Click “Download Image” to save your new grayscale photo.
It supports JPG, PNG, WebP, and GIF formats.
No — it maintains high quality while converting to grayscale.
No. Images are processed in your browser and never uploaded to any server.
Yes, you can download it with a single click after conversion.
ADVERTISEMENT