Toolvito

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

Shannon entropy, min-entropy and the SP 800-90B MCV estimate.

Your values

A password, a key, a sentence or any text.

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.

Measure large files

Measure large files

Choose up to 20 files of up to 1 GB each. Each is measured with the same formulas as above, and you get a summary, the count of every byte value and the entropy of each block as CSV files.

Or drop files here. Any type of file, up to 20 files, 1 GB each at most.

    Texts and files above are measured in your browser. When you use this box, the files you choose are sent to the Toolvito server. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to use it

    1. Choose The entropy of a text, paste it, and choose whether to count characters or UTF-8 bytes.
    2. Or choose The entropy of a file, open it and choose a block size.
    3. 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.

    Related tools