Histogram

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.

Back

1. Image

PNG · JPG · WebP

Drop an image here

or click to browse

PNG · JPG · WebP · up to 40 MB

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.

A preview of your image appears here.

2. Histogram

—
Open an image to build its histograms.

This is a pixel-value histogram of the browser-decoded image. It is not a forensic, edit-detection or colour-managed analysis.

About this tool

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.

How to use

Step by step

  1. Open a PNG, JPG or WebP image.
  2. Choose whether fully transparent pixels should be counted (they are ignored by default).
  3. Switch the chart between combined RGB, a single channel or luminance.
  4. Hover, tap or use the arrow keys on the chart to read the count for a level.
  5. Download the 256-bin CSV or the chart as a PNG, or copy the summary.
Key features

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
Best practices

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.
Benefits

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.

FAQ

Common questions

A count of how many pixels have each value from 0 to 255. Peaks on the left mean many dark pixels, peaks on the right mean many bright pixels, and a channel squeezed to one side often points to a colour cast.
With the Rec. 709 weights: Y = 0.2126 × R + 0.7152 × G + 0.0722 × B, applied to the 0–255 values stored in the image and rounded to the nearest whole level. This is luma on encoded values, not linear light.
Fully transparent pixels (alpha 0) are left out by default because their colour is not visible. Tick “Include fully transparent pixels” to count them. Partly transparent pixels are always counted using their own RGB values, as if they were opaque — they are not blended with a background.
Yes. Every included pixel adds exactly one count to one bin of each channel, so each of the four histograms sums to the “Pixels included” figure.
One header row and 256 rows, one per level from 0 to 255, with the pixel count for red, green, blue and luminance at that level.
No. It reads the pixel values decoded by your browser without applying colour profiles. It does not detect edits or manipulation and is not a colour-managed measurement.
No. The image is decoded and analysed entirely in your browser.
Private by design

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.

Install Toolisco Add it to your device for offline, one-tap access.