Image Histogram Analyzer
Open an image to see how its pixels are spread across the 256 levels of each colour channel and of luminance. Switch between combined RGB, single channels and luminance, then export the bins as CSV or the chart as a PNG. Everything stays on your device.
1. Image
PNG · JPG · WebPDrop an image here
or click to browse
Partly transparent pixels are always counted with their own RGB values, as if opaque. Luminance uses Rec. 709: Y = 0.2126 R + 0.7152 G + 0.0722 B on the stored 0–255 values, rounded to the nearest level.
2. Histogram
—Horizontal axis: level 0 (dark) to 255 (bright). Vertical axis: pixel count, scaled to the tallest bin shown. Hover, tap or use the arrow keys on the chart to read a bin.
This is a pixel-value histogram of the browser-decoded image. It is not a forensic, edit-detection or colour-managed analysis.
About Image Histogram Analyzer
Image Histogram Analyzer counts how many pixels of a PNG, JPG or WebP image fall on each of the 256 levels of the red, green and blue channels, and of luminance calculated with the Rec. 709 formula. It draws the histograms as a chart and reports the image size, pixel counts, mean channel values and the darkest and brightest luminance levels.
A histogram shows at a glance whether an image is under- or over-exposed, has clipped highlights or shadows, or carries a colour cast. Having the exact bin counts as CSV also lets you compare images or check processing results in a spreadsheet.
Step by step
- Open a PNG, JPG or WebP image.
- Choose whether fully transparent pixels should be counted (they are ignored by default).
- Switch the chart between combined RGB, a single channel or luminance.
- Hover, tap or use the arrow keys on the chart to read the count for a level.
- Download the 256-bin CSV or the chart as a PNG, or copy the summary.
What it offers
- Exact 256-bin histograms for red, green, blue and Rec. 709 luminance
- Combined RGB, single-channel and luminance chart views
- Dimensions, total and included pixels, mean R, G, B and mean luminance
- Darkest and brightest luminance levels
- Fully transparent pixels ignored by default, with an option to include them
- CSV export with all 256 bins and a clean chart PNG without controls or labels from the page
Tips for best results
- Look for tall spikes at level 0 or 255 — they usually mean clipped shadows or highlights.
- Compare the three channels: if one sits far to the side of the others, the image may have a colour cast.
- Ignore fully transparent pixels when analysing cut-out graphics, so empty areas do not distort the result.
- Use the CSV when you need to compare two images precisely.
Why people use it
Exact counts
Every included pixel is counted once in each histogram.
Clear method
Luminance formula and transparency handling are stated, not hidden.
Exportable
CSV bins and a clean PNG chart for reports.
Private
Analysis runs on your device without uploading the image.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.