What this file is actually made of ENTROPY
The rule is that entropy above 7.0 means packed. A ZIP, a PNG and a packed executable are the same statistical object, so no threshold can separate them.
The file
Any file at all, of any type. It is read by this page on this device and no part of it is sent anywhere, which is what makes this usable on something you are not permitted to upload, which is most of what anybody wants to measure.
What it measures
Across the file
Start of the file on the left, end on the right, eight bits at the top. The dashed line is 7.0; it is drawn so it can be seen not to mean much, rather than left out of the argument. A packed executable is usually a plain stub then a dense blob, with the join visible. An archive is dense from end to end. A document with one encrypted attachment is ordinary with a dense patch in it. All three can report the same average.
What that is consistent with
Consistent with, not equal to. Several quite different things produce the same figures, and the page lists them rather than choosing between them, because choosing would mean claiming to know something the measurement does not contain.
The working
How it works
ENTROPY measures how random each part of a file is and shows the profile across the file. High entropy means compressed or encrypted data, but a ZIP, a PNG and a packed program look the same by that measure, so it shows you the evidence instead of claiming to know which one you have. A chi-square test adds a second view, and the opening bytes are read to identify the file type. The file never leaves your browser.
The guide: Is there a message hidden in this image?
Questions people ask about ENTROPY
Why will it not tell me whether the file is packed?
Because the measurement does not contain that. Packing compresses; so does a ZIP, a PNG, a JPEG, an MP4 and every installer ever built. Statistically they are the same object, and no threshold separates two things that are the same thing. The 7.0 line everybody quotes rests on researchers’ experience with corpora of obviously-packed samples rather than on any measured separation, and on a real file system it produces false alarms constantly. The page gives you the numbers and the shape and leaves the judgement where it belongs.
What does the chi-square add that entropy does not?
Whether the byte values are used evenly, which is not the same question as how much information they carry. A linear congruential generator (a weak, thoroughly predictable source) produces bytes measuring 7.98 bits, which any threshold calls compressed, while its chi-square is in the thousands against an expectation of about 255. Genuine compression and genuine encryption both leave an even spread. Something high on entropy but far from even is obfuscated rather than compressed, and entropy alone cannot see the difference.
Does high entropy mean encrypted?
No, and the counter-example is exact rather than approximate. Take any file and XOR every byte with a single constant: the result is unreadable, and its entropy is identical to the original. Not close, identical, because relabelling values cannot change how evenly they are used. That is not encryption in any useful sense, and a tool that reads a number off it and says “encrypted” has claimed something it cannot know.
Why does the profile matter so much?
Because one number for a whole file throws away where the bytes are, and that is the part that actually distinguishes things. A packed executable is a small plain stub followed by a dense blob and the join is visible. An archive is dense from end to end. A document with one encrypted attachment is mostly ordinary with a dense patch in it. All three can average the same figure, and the average describes none of them.
How big a file can it take?
As large as your browser will hold in memory, which on a desktop is comfortably hundreds of megabytes. The whole file is read at once because the profile needs every byte; nothing is streamed to anywhere and nothing is written to storage, so closing the tab is the end of it.
What does it do with the first bytes?
Reads them against a list of format signatures, because once a file is known to be a PNG its entropy of 7.99 stops being a question. Most entropy false alarms ought to die there and in practice do not, which is why it is the first thing on the page rather than a footnote.
Doing this often? The Sovereign Console loads whole sets of files as evidence, fingerprints and analyses each, and opens every one in the tool made for it. On its own, US$2 a month; with everything else, US$5 a month or US$48 a year.