See the brightness and colour spread of any picture: shadows, midtones and highlights, clipped blacks and whites, and exact statistics, with CSV and PNG export.
Initializing in your browser…
Turn an image into Base64 text or a data URL to embed in HTML, CSS or Markdown, checked to decode back to your exact file. Optional resizing first.
Compare two versions of an image and see what changed: each changed area outlined and shown close up, with slider, fade and side-by-side views and a similarity score.
Crop a photo by dragging a box or typing exact pixels, with aspect ratio presets, quarter turns, mirrors and shape cut-outs. PNG output keeps every pixel exactly.
The sample photo, a sunset over hills and a lake at 1600 by 1067 pixels, measured on brightness.
Picture
sample-sunset.jpg, 1,707,200 pixels Channel: Brightness (Rec. 709, 0 to 255)
Result
Verdict: Mostly dark (mean 76.13 of 255) Shadows 65.82%, midtones 31.39%, highlights 2.79% Median 72, most common level 68, spread 43.40 Black or nearly (levels 0 to 4): 3.459% White or nearly (levels 251 to 255): 0.190%
Two thirds of the pixels sit in the darkest third of the scale: the hills, trees and lake are deep purple and navy, and only the sun, its reflection and the glow near the horizon are bright. A dusk photo is meant to look like that, so "mostly dark" describes the picture rather than a mistake. About 3.5% of pixels are black or nearly, in the deepest shadows, and only 0.19% are white or nearly, so very little of the picture is clipped to white.
A histogram shows how many pixels in a picture sit at each level of brightness, from black on the left to white on the right. Use it to check whether a photo is too dark or too bright, whether shadows or highlights have lost detail, and how the red, green and blue channels compare.
Check exposure and clipping before and after editing.
Make sure shadows are not crushed to solid black before sending a file to print.
Count how an adjustment moved the shadows, midtones and highlights.
Export exact counts to a spreadsheet for analysis.
The sample sunset reads as mostly dark, with 65.82% of pixels in the shadows and only 0.19% near pure white, so very little is clipped.
Switch to RGB: if the blue channel sits well to the right of red and green, the picture leans blue and needs warming.
A tall spike at level 255 in Brightness or in one channel means pixels clipped to pure white or pure colour, where detail is gone.
The chart. Every pixel in the picture is counted, not a sample, and each channel has 256 levels, 0 for none and 255 for full. A tall area on the left means many dark pixels; a tall area on the right means many bright ones. Choose Brightness, the three colour channels together (where they overlap the colours mix), or red, green or blue on its own. Point at the chart, or touch and drag across it on a phone, to read the exact number of pixels at any level.
Verdict and tones. Under the chart, a one-line verdict says whether the picture is mostly dark, balanced or mostly bright, based on its average brightness. A night shot or a snow scene is meant to lean one way, so the verdict describes the picture rather than judging it. Tones splits the pixels into shadows, midtones and highlights, the three equal thirds of the scale, and shows how many are black or nearly black and white or nearly white. Large numbers at either end often mean clipping: detail lost to pure black or pure white.
Statistics. For the channel on show you get the mean, the median, the most common level, the spread (standard deviation), the 1st and 99th percentiles, the lowest and highest levels used, and the number of pixels counted.
Display and measurement. Switch the scale to logarithmic to see small counts beside a tall peak, cumulative to see how much of the picture is at or below each level, or percent. Pick a filled, line, bars or smooth chart, and shade the darkest and brightest 2% of levels. Brightness can be measured three ways: Rec. 709, the standard for screens and the web; Rec. 601, the older television weighting some photo editors use; or L*, lightness as the eye sees it on a 0 to 100 scale. Fully transparent pixels are left out by default, or can be counted as black.
Export. Download every level of every channel as a CSV file for a spreadsheet, save the chart as a PNG, or copy the statistics as text. The picture is read in your browser and never uploaded.
How many pixels sit at each brightness level, from black on the left to white on the right. The height at each level is the number of pixels there.
There is no single right shape. A balanced daylight photo usually spreads across most of the scale without tall spikes at the very ends. A night scene leans left and a snow scene leans right, and both can be exactly right.
Pixels pushed to pure black (level 0) or pure white (255) have lost the detail they had. A lot of pixels at either end, shown under Tones, often means clipping, though real black or white areas count too.
They weigh red, green and blue differently when working out brightness. Pure red, for example, is level 54 under Rec. 709 and 76 under Rec. 601. Rec. 709 is the standard for screens and the web; L* follows how light the eye finds each colour.
By default, fully transparent pixels are left out of every count, because a browser returns them as black. You can choose to count them as black instead, which adds a spike at level 0.
Yes. Download CSV saves 256 rows, one per level, with the count for red, green, blue, transparency and brightness.
No. Every pixel is counted in your browser and the picture never leaves your device.
Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.