Shannon diversity index

Client

Ecology-style diversity on word tokens—higher = richer vocabulary.

About Shannon diversity index

Shannon–Wiener index on word types in pasted text. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.

How to use this page

Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.

Shannon H' = 1.040 (natural log)

Nearby workflows on Toolcore

  • Word frequency listList word counts sorted by frequency—paste text for a local corpus snapshot. for the next text or markup step in your edit loop.
  • Unique word counterCount distinct alphabetic words—case-insensitive vocabulary size. for the next text or markup step in your edit loop.
  • Text entropy (bits)Shannon entropy of byte values in UTF-8 text. for the next text or markup step in your edit loop.
  • Character frequencyCount how often each character appears—sorted table with Unicode code points; local only. for the next text or markup step in your edit loop.

Common use cases

  • Shannon diversity index for quick local checks without uploading data.
  • Copy results into tickets, docs, or classroom notes.

Common mistakes to avoid

  • Unexpected input shape

    See the intro and how-to notes for accepted formats.

FAQ

Is processing local?

Yes—this runs entirely in your browser.

Agent prefill?

Use q or qb for the main text field when supported.

Related utilities you can open in another tab—mostly client-side.