Calculates on this device. File exports run online.
Entropy Analyzer
Paste a text or open a file and see how much information it holds: the Shannon entropy in bits per symbol, the min-entropy that matters for keys and random numbers, and the Most Common Value estimate of NIST SP 800-90B. For a file, the entropy of each block across it is drawn as a chart, which shows where the file holds compressed or encrypted data.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Choose The entropy of a text, paste it, and choose whether to count characters or UTF-8 bytes.
- Or choose The entropy of a file, open it and choose a block size.
- Read the entropy in bits per symbol (at most 8 bits per byte) and, for a file, the chart across it.
The measures
- Shannon entropy H = −Σ p log2 p: the average information of one symbol if symbols were drawn independently with the shares seen.
- Min-entropy −log2 p_max: the information of the most likely symbol, the measure used for keys and random numbers.
- The MCV estimate of NIST SP 800-90B (section 6.3.1) raises the share of the most common value to the top of a 99% confidence interval first. It is one of the estimators of SP 800-90B; a full assessment runs all of them and the IID tests on a million samples or more.
- High entropy does not prove randomness: compressed files come near 8 bits per byte too.