---
title: "Convert Image to Grayscale & Black and White | CompressFly"
description: "Convert images to grayscale or black and white locally. Set intensity, contrast, and threshold or invert tones. Save PNG, JPG, or WebP. Free, no uploads."
canonical_url: "https://compressfly.com/edit-image/grayscale-image"
meta:
  "og:description": "Convert images to grayscale or black and white locally. Set intensity, contrast, and threshold or invert tones. Save PNG, JPG, or WebP. Free, no uploads."
  "og:image": "https://compressfly.com/img/en/social/edit-image/grayscale-image.png"
  "og:image:alt": "Convert Image to Grayscale & Black and White | CompressFly"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Convert Image to Grayscale & Black and White | CompressFly"
  "twitter:description": "Convert images to grayscale or black and white locally. Set intensity, contrast, and threshold or invert tones. Save PNG, JPG, or WebP. Free, no uploads."
  "twitter:image": "https://compressfly.com/img/en/social/edit-image/grayscale-image.png"
  "twitter:image:alt": "Convert Image to Grayscale & Black and White | CompressFly"
  "twitter:title": "Convert Image to Grayscale & Black and White | CompressFly"
---

> Index of every page on this site: [llms.txt](https://compressfly.com/llms.txt)

# Grayscale Image Converter

Convert **JPG/JPEG, PNG, WebP, AVIF, and BMP** images to **grayscale** or **threshold-based black and white** directly in your browser. Fine-tune **Intensity (0–100%)** in Grayscale mode, or **Threshold and Invert** in Black & White mode, with **Contrast available in both**. Preview and export a static **PNG, JPG, or WebP** at your original pixel dimensions for free.

## How to Convert an Image to Grayscale in 3 Easy Steps

Create grayscale photos or threshold-based black-and-white graphics directly in your browser:

1. **Select Your Image** — Choose a .jpg, .jpeg, .png, .webp, .avif, or .bmp image from your device, or drag and drop it directly into the browser workspace.
2. **Choose Grayscale or Black & White Controls** — Choose Grayscale for Intensity (0%–100%), or Black & White for Threshold (0–255) and Invert. Contrast (−100 to +100) is available in both modes.
3. **Preview Tones and Download** — Preview the result, choose PNG, JPG, or WebP, and click “Download Image.”

## How Does the Grayscale Image Converter Work?

In **Grayscale mode**, the converter combines each pixel's red, green, and blue channels using brightness weights. **Intensity** blends the original color with gray, from `0%` to `100%`. At full intensity, the result can contain up to 256 shades of gray. **Contrast** is available in both modes.

In **Black & White mode**, Contrast adjusts brightness before **Threshold** sets each processed pixel's RGB to black or white. **Invert** swaps those values. PNG preserves the processed tones through lossless encoding. JPG and WebP may introduce intermediate tones. Semi-transparent areas can appear gray against a background. Processing and export run **locally in your browser** at the loaded image's pixel width and height.

### What "in your browser" means

- No image file is uploaded to an external server
- Tone processing and file encoding run on your device
- Results download directly from your browser

## Precision Tonal Controls in the Monochrome Workspace

### Grayscale Intensity Slider (0% – 100%)

Lower Intensity to mute the colors in a photo, or set it to 100% for full grayscale.

### Shared Contrast Adjustment

Raise Contrast to give highlights and shadows more definition, or lower it for softer midtones.

### Binary Threshold & Invert Toggle

Use Threshold to isolate ink or line art, then turn on Invert if you want a light-on-dark version.

### Original Dimensions & PNG / JPG / WebP Export

Export at the original pixel dimensions so the edited image still fits your layout.

## Grayscale vs. Black and White: Which Mode Should You Use?

Although people often use "grayscale" and "black and white" interchangeably, they produce very different pixel results in digital image editing:

| Mode / Setting | Active Controls | Tonal Output | Transparency (PNG / WebP) | Best Use Cases |
| --- | --- | --- | --- | --- |
| **Full Grayscale (`100%` Intensity)** | **Intensity** (`100%`) + **Contrast** | Up to 256 shades from black through gray to white. | **Preserved** (white fill in JPG) | Black-and-white portrait photography, street shots, vintage prints, and grayscale UI partner logos. |
| **Partial Desaturation (`1%–99%` Intensity)** | **Intensity** (`1%–99%`) + **Contrast** | Muted, low-saturation color blend between original RGB and gray. | **Preserved** | Cinematic muted backgrounds, subtle watermark overlays, and faded editorial visuals. |
| **Black & White (Threshold)** | **Contrast** + **Threshold** (`Invert` off) | Processed RGB uses black (`#000000`) or white (`#FFFFFF`) before export encoding. | **Preserved** | Signatures, scans, stamps, line art, and workflows that call for two-tone engraving or stencil artwork. |
| **Inverted Black & White (`Invert` On)** | **Contrast** + **Threshold** + **Invert** | Swaps the processed black and white RGB values. | **Preserved** | Negative film effects, woodblock/linocut printmaking templates, and high-contrast dark-mode graphics. |

PNG preserves the processed RGB values through lossless encoding. JPG and WebP are lossy and may introduce intermediate tones. Semi-transparent areas can appear gray against a background.

## Popular Uses for Grayscale & Threshold Black-and-White

Explore settings for photos, phone scans, icons, and two-tone artwork:

### Clean Up Signatures & Stamps for Portals

Use Black & White with Threshold and Contrast to separate dark ink from lighter paper. Review thin strokes before exporting as PNG. If an upload needs a smaller file, set a 20 KB target in Resize Image to 20 KB and check the final size.

### Fine-Art Monochrome Portraits & Street Photos

Keep Grayscale mode at 100% Intensity and raise Contrast slightly to deepen shadows and make highlights pop. Add a classic white gallery mat afterward using our Add Border to Image tool.

### Laser Engraving, Stencils & Printmaking

Use Black & White when your stencil, engraving, or print workflow calls for two-tone artwork. Set Contrast, Threshold, and Invert, then export as PNG. Check the image requirements of your machine, material, and software.

### Grayscale UI Icons & Print Figures (300/600 DPI)

Convert colored brand logos or app icons into transparent grayscale PNG/WebP assets for "disabled" UI states, or convert academic charts to grayscale and set 300/600 DPI in Change Image DPI.

## Related Monochrome, Framing, Print & Compression Tools

- [Add Border to Image (White & Black Photo Frames)](https://compressfly.com/edit-image/add-border-to-image)
- [Crop Image (Trim Signature & Photo Margins)](https://compressfly.com/edit-image/crop-image)
- [Resize Image (By Exact Pixels or Percentage)](https://compressfly.com/edit-image/resize-image)
- [Change Image DPI (300 / 600 DPI for Print)](https://compressfly.com/edit-image/change-image-dpi)
- [Remove Image Background (Transparent Cutouts)](https://compressfly.com/edit-image/remove-background)
- [Rotate Image (−180° to 180°)](https://compressfly.com/edit-image/rotate-image)
- [Flip & Mirror Image (Horizontal & Vertical)](https://compressfly.com/edit-image/flip-image)
- [Resize Image to 20 KB (Signature Size Target)](https://compressfly.com/compress-image/resize-image-to-20kb)
- [Resize Image to 50 KB (ID & Exam Forms)](https://compressfly.com/compress-image/resize-image-to-50kb)
- [Compress BMP (8-Bit RLE Indexed Palette)](https://compressfly.com/compress-image/compress-bmp)
- [Compress TIFF (Lossless LZW & ZIP/Deflate)](https://compressfly.com/compress-image/compress-tiff)
- [Social Media Image Resizer](https://compressfly.com/edit-image/social-media-image-resizer)

## Grayscale Image Converter FAQ

### How do I convert an image to grayscale or black and white online?

Select or drop your image. Choose "Grayscale" to adjust Intensity, or "Black & White" to set Threshold and Invert. Preview the result, select PNG, JPG, or WebP, and click "Download Image."

### What is the difference between Grayscale mode and Black & White mode?

Grayscale produces continuous gray tones at 100% Intensity. Lower values retain some color. Black & White sets processed RGB values to black or white using Contrast, Threshold, and Invert. PNG uses lossless encoding for these values. JPG and WebP may introduce intermediate tones, and semi-transparent areas can look gray against a background.

### What do the Black & White Threshold and Invert controls do?

Contrast adjusts brightness before Threshold is applied. With Invert off, raising Threshold turns more pixels black, while lowering it turns more pixels white. Invert swaps the processed black and white RGB values.

### What does the Grayscale Intensity slider control?

Grayscale Intensity controls how much color saturation is removed from your image. At 100%, the image is completely converted to monochrome grayscale; at 0%, all original colors remain; and intermediate values (such as 50% or 75%) create a muted, partially desaturated color effect.

### Does converting an image to grayscale preserve transparent backgrounds?

Yes. PNG and WebP can retain existing transparency. Semi-transparent black or white pixels can appear gray when placed over a background. JPG fills transparency with white, so semi-transparent black areas can become gray in the exported image.

### Does this tool change the pixel dimensions of my image?

No. Both Grayscale and Black & White modes keep your source image's exact pixel width and height (Width × Height) unchanged. If you also need to change pixel dimensions or set 300 DPI for printing, use our [Resize Image](https://compressfly.com/edit-image/resize-image) or [Change Image DPI](https://compressfly.com/edit-image/change-image-dpi) tools.

### Which input and output image formats are supported?

Input formats are JPG/JPEG, PNG, WebP, AVIF, and BMP, subject to your browser's support. Results are static PNG, JPG, or WebP images; animation is not preserved.

### Are my images uploaded to a server, and is this grayscale converter free?

No files are ever uploaded—all luminance conversion, threshold binarization, and format encoding happen 100% locally inside your web browser on your own computer or phone. The tool is completely free with no watermarks, no daily limits, and no account registration required.

## Sitemap

See the full [sitemap](https://compressfly.com/sitemap.md) for all pages.
