Advertisement
API Key & Token Entropy Analyzer
Compute Shannon entropy, min-entropy, character distribution, and predictability metrics in your browser.
Shannon Entropy
4.82
Bits per character (Max 6.0 for Base64)
Total Pool Entropy
241.0
Total Information Bits
Randomness Quality
EXCELLENT
Character Set Breakdown
Lowercase (a-z)
0
Uppercase (A-Z)
0
Numbers (0-9)
0
Symbols / Punct
0
Mathematical Formulation of Shannon Entropy
Shannon entropy $H(X)$ is computed via the formula:
$$H(X) = - \sum_{i=1}^n P(x_i) \log_2 P(x_i)$$
Where $P(x_i)$ is the probability (frequency) of character $x_i$ occurring in the string. For an API token composed of alphanumeric characters (62 possibilities), maximum theoretical entropy is $\log_2(62) \approx 5.954$ bits/char.