Grayscale Effect

Grayscale Amount
100% (mix original ↔ grayscale)
Auto-contrast Clip
1% per side
Tip: For most photos, “linear luma” ON gives the nicest grayscale gradients.

Turn any image into grayscale

This tool converts one photo at a time to grayscale (black-and-white) with fast, high-quality controls:

  • Grayscale Amount: blend original ↔ grayscale (0–100%)
  • Better gradients (linear luma): smoother tones, less banding
  • Auto-contrast + clip: punchier black-and-white with controlled highlights/shadows
  • Invert: flip black↔white for negatives, masks, and creative effects

All processing happens locally in your browser—no uploads, no accounts, no tracking pixels inside your images.


What is grayscale?

Grayscale means an image where every pixel has equal red, green, and blue values (R = G = B), producing shades from black to white.

Grayscale vs “desaturate” vs true black-and-white

  • Desaturation removes color (reduces saturation) but doesn’t always match how humans perceive brightness.
  • Grayscale (what this tool does) uses luminance—a weighted brightness calculation that reflects human vision (we’re most sensitive to green, then red, then blue).
  • Black-and-white photography often goes further: it may involve tonal curves, local contrast, and channel mixing to emphasize skies/skin/foliage.

This tool focuses on a clean, reliable grayscale foundation, with optional contrast normalization.


Workflow & Usage

  1. Add an image Drag & drop, click to select, or paste from clipboard (Ctrl/⌘ + V). The preview respects EXIF orientation.

  2. Set the grayscale look

    • Start with Grayscale Amount (usually 100% for classic B&W).
    • Keep Better gradients (linear luma) on for most photos.
  3. Optionally enhance contrast

    • Toggle Auto-contrast if your grayscale looks flat.
    • Adjust Clip (0–5%) to avoid blown highlights or crushed shadows.
  4. Optional: invert Use Invert for negative-style looks or for turning photos into high-contrast masks.

  5. Download Export a full-resolution file in the same format as your input.


Where grayscale is used

Photography & creative work

  • Mood and storytelling: remove color distractions and highlight light/shadow.
  • Composition checks: evaluate contrast, leading lines, and subject separation.
  • Film-like looks: pair grayscale with grain, bloom, or vignette.

Design, UI, and product work

  • Disabled states: create muted versions of UI assets.
  • Background textures: subtle grayscale for hero sections.
  • Brand consistency: build consistent monochrome thumbnails or visuals.

Technical & practical uses

  • Document cleanup: convert scans/photos to grayscale before OCR or compression.
  • Print preparation: quickly preview how an image will look in grayscale printing.
  • Masks & mattes: generate luminance-based masks; invert when needed.

Controls explained

Grayscale Amount (mix)

  • 100% → classic grayscale
  • 70–95% → “mostly B&W” while keeping a subtle color hint
  • 0–30% → gentle desaturation / muted style

Tip: If you want a strict black-and-white look, keep this at 100%, then use Auto-contrast if needed.

Better gradients (linear luma)

This option computes brightness in linear light (after removing sRGB gamma), then converts back for display/export.

  • Helps reduce banding in skies, fog, soft studio backgrounds
  • Often makes shadows/highlights feel more natural

Recommended: ON for photos. OFF only if you need maximum compatibility or want a more “simple” luma look.

Auto-contrast

Auto-contrast stretches the grayscale tones to use more of the available range. If your grayscale looks dull, this often fixes it.

Auto-contrast clip (0–5%)

Clip discards extreme values before stretching.

  • 0%: strongest stretch (can blow highlights / crush shadows)
  • 1–2%: great default for photos
  • 3–5%: stronger “punch” while protecting from outliers (specular highlights, tiny deep shadows)

Invert

Inverts grayscale after conversion.

Common uses:

  • photo negatives
  • stylized poster looks
  • quick mask creation (invert to switch what’s “selected”)

Tips for best results

  • Start with Amount = 100% + Linear luma ON. This gives the cleanest baseline grayscale.

  • Use Auto-contrast when the image feels flat. Try Clip = 1% first.

  • Avoid extreme clip values for portraits. Portrait highlights (forehead/cheeks) can clip quickly; keep clip around 0–2%.

  • For logos or flat graphics, you may not need linear luma. Simple assets often look identical either way.

  • If you’re exporting for the web, compress afterwards. Grayscale can reduce complexity, and compression can shrink file size further.


How it works

This tool performs a luminance-based grayscale conversion:

  1. Decode locally using browser image decoders.
  2. Compute luminance (grayscale) using Rec.709 coefficients (perceptual weights):
    • Y ≈ 0.2126·R + 0.7152·G + 0.0722·B
  3. Optional linear-light mode (“Better gradients”):
    • Convert sRGB → linear
    • Compute luminance in linear space
    • Convert back to sRGB for export
  4. Optional auto-contrast:
    • Build a histogram from grayscale values
    • Clip extremes by a small percentage
    • Stretch remaining values to fill the range
  5. Optional invert
  6. Export at full resolution in the original MIME type.

Troubleshooting

  • My grayscale looks too dark / too bright Try Auto-contrast OFF first. If using Auto-contrast, reduce Clip to 0–1%.

  • I see banding in gradients Turn Better gradients (linear luma) ON (recommended) and avoid aggressive Auto-contrast.

  • The preview looks different after download Some apps apply additional color management on import. The exported file is a standard image in the original format.

  • My image is rotated wrong Re-export your original with correct orientation metadata, or try re-uploading. (Most camera/phone EXIF orientations are handled automatically.)

Frequently Asked Questions

JPEG, PNG, and WebP. Your download keeps the same format (JPEG stays JPEG, PNG stays PNG, WebP stays WebP).

No. Everything runs locally in your browser using Canvas. Nothing is sent to a server.

It’s a mix slider: 0% keeps the original colors, 100% outputs full grayscale, and values in-between keep a controlled hint of color.

It computes luminance in linear light (instead of gamma-encoded sRGB), which reduces banding and usually looks smoother—especially in skies, shadows, and soft gradients.

Auto-contrast expands the grayscale tones to use more of the available range. Clip discards a tiny % of the darkest and brightest pixels so highlights/shadows don’t dominate the stretch.

Yes. Invert flips black↔white after conversion (useful for negatives, masks, and stylized looks).

Yes. PNG/WebP alpha is preserved. Fully transparent pixels stay transparent.

Yes—after the page loads once (or if installed as a PWA), it can work offline because processing is fully client-side.

Explore Our Tools

Read More From Our Blog