Image Histogram Analyzer
Plot RGB and luminance tone distributions, clipping percentages and exposure statistics — entirely in your browser.
Image & analysis options
no imageDrop in a photo; decoding and binning happen locally.
Histogram & tonal statistics
waiting for an imageLoad an image to see its tonal distribution
Examples
Blown sky
Phone photo → RGB overlay → read highlight clippingR highlight clip above 0.5%One channel clipping first is the classic sign of a warm, overexposed sky.
Teaching distributions
Synthetic gradient → Export CSV256 rows of countsCV students can plot the raw bins without instrumenting a canvas.
Transparent PNG audit
PNG with alpha → composite over whiteNo fake black clippingCompositing resolves transparent pixels before binning instead of reading their hidden RGB.
About this tool
The Image Histogram Analyzer plots 256-bin distributions for red, green, blue and Rec. 709 luminance in a single pass over the decoded pixels. It is a tone-analysis tool: clipping percentages, mean, standard deviation, median and min/max answer exposure and contrast questions that a palette extractor cannot.
Switch between an overlaid RGB view and individual channels, use a logarithmic y axis for skewed distributions, and choose BT.601 instead of Rec.709 when working with legacy video material. Transparent pixels can be composited over white or black before binning so fully transparent RGB values do not create fake black clipping.
By default the analysis uses a resampled copy no larger than 1024 px and says so; enable full-resolution mode for exact counts on images up to 30 MP. Hover the plot to inspect a bin, click the preview to sample a pixel, and export all four bin arrays as CSV. No pixels leave the browser.
What this tool does not do
- Histograms are 8-bit sRGB; 16-bit sources are downconverted by the browser.
- Full-resolution analysis is blocked above 30 MP to protect tab memory.
- Animated images contribute only their first frame.
- This tool analyzes tone only — it does not extract palettes or edit pixels.
How to use this tool
Load a photo
Pick any browser-decodable image. The preview shows the file name and whether proxy or exact analysis is active.
Choose a channel view
Luminance gives one exposure curve; RGB overlay shows channel balance; individual channels isolate a cast.
Inspect clipping
Highlight and shadow percentages near 0 or 255 warn about lost detail. Values above 0.5% are highlighted.
Read the statistics
Mean and median describe the center; standard deviation drives the advisory low/normal/high contrast band.
Export the bins
CSV export writes level, R, G, B and luma counts for all 256 levels — handy for teaching or spreadsheets.
Use cases
Exposure checks
Spot clipped highlights and crushed shadows before editing elsewhere.
Channel-balance review
See which color channel dominates a scene or a UI screenshot.
Computer-vision teaching
Show how 8-bit tone distributions and luma weights work with exact bin counts.
Plots and statistics
| Item | Definition |
|---|---|
| RGB overlay | Three additive channel curves on a shared 0–255 x axis |
| Luminance | Round(0.2126R + 0.7152G + 0.0722B); BT.601 optional |
| Clipping | Share of pixels at 0 or 255 per channel, with a 0–5 tolerance |
| Mean / stddev | Arithmetic mean and sqrt(max(0, Σx²/n − μ²)) |
| Median | First 256-bin whose cumulative count reaches half the pixels |
| Contrast band | Luma stddev <25 low, 25–60 normal, >60 high (advisory) |
Proxy mode resamples to at most 1024 px, which can smooth narrow clipped regions; use full-resolution mode when exact percentages matter.
Frequently asked questions
What do clipped highlights mean?
A channel is clipped when its pixels sit at 255 and therefore carry no detail above that level. The highlight percentage tells you how much of the frame has already lost information there. A small amount in one channel is often harmless; more than about 0.5% usually warrants a lower exposure or a softer light source.
Which luminance formula is used?
The default is Rec. 709 luma: round(0.2126R + 0.7152G + 0.0722B), the weights used by modern video and cameras. You can switch to BT.601 (0.299/0.587/0.114) for legacy television material and compare the resulting curve directly.
Why use a logarithmic y axis?
Real photos often put most pixels in a few bins, making the rest of the histogram look flat. Log scale compresses the tall peaks so small but meaningful distributions stay visible. It changes only the plot height, never the underlying counts or statistics.
Is proxy mode accurate enough for clipping checks?
Proxy mode resamples to at most 1024 px, which can average away a very thin blown highlight. The proxy label is shown in the panel header. Turn on full-resolution analysis for exact percentages on images up to 30 MP; beyond that the tool asks you to downscale first.
How are transparent pixels handled?
By default the tool composites them over white before binning, which matches how most viewers display PNGs with alpha. You can switch to black or raw RGB. Raw RGB may show false black clipping because fully transparent pixels often store zero color values.
Is my photo uploaded?
No. Decoding, binning, plotting and export all run in the browser tab. The CSV contains numbers you already saw on screen, and no pixel data is sent anywhere.
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns