Text frequency analyzer
The text frequency analyzer counts how often each word or character appears in any text and ranks them from most to least common, with counts and percentages. It is useful for checking keyword density, spotting repeated filler words, studying a transcript, or doing simple frequency analysis for a cipher.
How it works
In word mode the text is broken into tokens — runs of Unicode letters, digits and apostrophes — so punctuation and spaces act as separators. In character mode each character is counted individually, with an option to ignore whitespace. With the default case-insensitive setting, tokens are lower-cased before counting. The tool tallies every unique token, then ranks them by count (ties broken alphabetically) and computes each item’s share:
percentage = count ÷ total tokens × 100
The total is the number of words (word mode) or characters (character mode).
Example
For the sentence “the cat sat on the mat” in word mode, the totals are:
| Word | Count | Percentage |
|---|---|---|
| the | 2 | 33.3% |
| cat | 1 | 16.7% |
| sat | 1 | 16.7% |
| on | 1 | 16.7% |
| mat | 1 | 16.7% |
Six words total, so the at 2 occurrences is 2 ÷ 6 = 33.3%. Click Copy to export the table as TSV. Everything runs in your browser — nothing is uploaded.