Image

Image Histogram Viewer

Visualize the RGB and luminance histogram of any image with mean, median, and clipping stats.

Loading interactive tool…

Embed this tool on your site

About this tool

The Image Histogram Viewer plots the brightness distribution of any image across red, green, blue, and luminance channels. A histogram is the single fastest way to understand exposure, contrast, and color balance — peaks on the left mean shadows; peaks on the right mean highlights; pile-ups at 0 or 255 mean clipping (lost detail). Toggle between viewing all three RGB channels overlaid, individual channels, or pure luminance. Stats include mean brightness, median brightness, and exact pixel counts at black and white. Everything is computed in your browser; the image never leaves your device. The histogram itself is rendered onto a canvas you can download as PNG for use in photography reviews or technical documentation.

Why use it

  • Instant overview of exposure, contrast, and color balance via canonical histogram view.

  • Five view modes — RGB overlay, individual R/G/B channels, and luminance.

  • Stats include mean, median, and clipping counts so you can quantify exposure issues.

  • Histogram chart can be downloaded as PNG for photography reviews or technical docs.

  • 100% browser-based — sensitive images stay on your device.

  • No software install required — works in any modern browser, mobile or desktop.

How to use

  1. Upload your image with the file picker or drag-and-drop.
  2. View the RGB histogram by default — red, green, and blue channels overlaid in their colors.
  3. Click Red, Green, Blue, or Luminance to view individual channels.
  4. Read the stats bar for mean, median, and pixel counts at pure black and pure white.
  5. Click Download Histogram PNG to save the histogram chart for documentation.
  6. Refresh and re-upload to analyze a different image.

When it helps

  • When checking whether a photo is correctly exposed before editing.
  • When diagnosing color casts in a photo (e.g. blue-channel skewed left = too cool).
  • When verifying that a JPEG hasn't clipped highlights or crushed shadows.
  • When teaching photography or image-processing fundamentals.
  • When comparing the histograms of two edits to quantify the difference.
  • When pre-screening images for ML training to catch outliers in exposure or contrast.

Examples

Underexposed photo

Input

A 1920x1080 indoor photo with most pixels in shadow

Expected result

Histogram piled up on the left side, mean ~60, large pixel count at brightness 0 (clipped shadows)

Well-balanced landscape

Input

A 1920x1080 outdoor landscape

Expected result

Histogram spread evenly across full range, mean ~130, no clipping at either end

Blue-cast photo

Input

A 1080x1080 photo with a cool color tint

Expected result

Blue channel histogram shifted right, red and green shifted left, indicating a blue cast

Tips

  • A well-exposed photo typically has a histogram spread across the full range without piling up at 0 or 255.
  • Heavy stack at 0 means crushed shadows; heavy stack at 255 means blown highlights.
  • If one channel histogram is shifted relative to the others, the image has a color cast in that direction.
  • Use Luminance view for true exposure analysis — RGB view shows color balance instead.
  • Mean below 80 indicates a dark image; above 180 indicates a bright image; 100-150 is typical.

Frequently Asked Questions

What does the histogram tell me?
It shows the distribution of pixel brightness across all your image's pixels. Peaks on the left are shadows, peaks on the right are highlights, and clipping at the edges means lost detail.
Why are red, green, and blue overlaid in different colors?
Each channel has its own histogram, and seeing them together helps spot color casts (one channel shifted relative to the others).
What's the difference between mean and median?
Mean is the average; median is the middle value when sorted. Median is more robust to outliers — for instance, a few very bright clipped pixels barely affect median but heavily affect mean.
Does the tool upload my image?
No. The histogram is computed locally in your browser using Canvas pixel data.
Can I save the histogram image?
Yes. Click Download Histogram PNG to save the chart as a PNG suitable for photography reviews or documentation.
How is luminance calculated?
Using the standard ITU-R BT.601 formula: 0.299R + 0.587G + 0.114B, which approximates human-perceived brightness.
What does clipping at 0 or 255 mean?
Clipping at 0 means pixels are pure black with no detail (crushed shadows). Clipping at 255 means pixels are pure white with no detail (blown highlights). Both indicate exposure issues.
Can the histogram detect noise?
Indirectly. A noisy image typically has a smoother, broader histogram than a clean one. For precise noise analysis, you'd need a dedicated tool that computes per-pixel variance.

Explore the category

Glossary

Histogram
A bar chart showing how many pixels fall into each brightness bucket from 0 (black) to 255 (white).
Luminance
Perceived brightness of a pixel, computed as 0.299R + 0.587G + 0.114B — a weighted average that matches human vision.
Clipping
Pixels stuck at 0 (shadow clipping) or 255 (highlight clipping), where detail has been lost — visible as a tall spike at the histogram edge.
Mean
The average brightness across all pixels — a simple measure of how bright the image is overall.
Median
The middle brightness when all pixels are sorted — less sensitive to extremes than mean, often more representative of perceived brightness.
Color cast
An overall tint from one channel being shifted relative to the others — visible in the histogram as one color's curve being offset left or right.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities