Skip to content
simstat.com Statistics by simulation

Word frequency counter

Paste any text to count how often each word and each two- or three-word phrase appears. The text stays in your browser and is never uploaded.

Paste up to a few hundred thousand words. Counting updates as you type.

Count

Results

Paste some text above to see counts.

Most frequent terms
RankTerm WordsCount % of words

What this tool does

The counter lower-cases your text and splits it into words: runs of letters or digits, keeping internal apostrophes and hyphens, so don't and well-being count as one word each. It then counts every single word and every sequence of two and three adjacent words, known as n-grams. Phrases never run across sentence punctuation, commas or line breaks, so the end of one sentence and the start of the next are not counted as a phrase.

The formula

Each term's share of the text is its count relative to the total number of words, N:

% of words=100×ftN

where ft is the number of times term t occurs. N is always the total number of words in the text, so percentages for phrases are comparable with percentages for single words.

How to read the result

Stop words such as the, of and and dominate any raw count. With the filter on, single stop words are removed, and phrases that start or end with one are dropped, but stop words inside a phrase are kept, so return on investment survives. Turn the filter off when function words matter, for example in authorship or style analysis.

Frequency shows what a text talks about, not what it says about it: not satisfied and satisfied both add to the count for satisfied. Read high-frequency terms in context before drawing conclusions, and compare texts using percentages rather than raw counts when their lengths differ.