How to count word occurrences in a text
- Paste your text into "Text to analyse", or use the Load from file button to read a plain-text file (.txt, .csv, .md, .json, .log and similar) up to 2 MB. You can also drag a file onto the text box.
- Choose how words are matched. Ignore case and "Ignore punctuation" are both on by default. Untick them if "Apple" and "apple", or "end." and "end", should be counted as separate words. The counts update as you type and whenever you change an option.
- Pick a Sort order. "By frequency" puts the most common words first. "Alphabetical" gives a sorted word list. With "Ignore case" off, capitalised words are listed before lowercase ones.
- Use the Show top selector to show 10, 20 or 50 words in the bar chart. Then use "Copy result" for the plain list, "Download result" to save it as a .txt file, or "Download the table as CSV" for a spreadsheet.
The result panel shows the same counts in three ways. The bar chart sizes each bar against the most frequent word, not against the total, so the top word's bar is always full length. The table has Rank, Word, Count and Share columns. Share is the word's count divided by Total words, to one decimal place. The "Word counts" output has one word: count line per word, ready to paste into a message or your notes.
Examples with real output
The built-in sentence example, with default settings:
Input: the quick brown fox jumps over the lazy dog the fox runs
the: 3
fox: 2
brown: 1
dog: 1
jumps: 1
lazy: 1
over: 1
quick: 1
runs: 1
That's 12 total words and 9 unique words. "the" has a share of 25.0%. The seven words that appear once follow in alphabetical order, from brown to runs.
Here is how the two options change the result for Hi, hi. Hi! Bye; bye?:
| Settings | Result | Unique / total |
|---|---|---|
| Both options on (default) | hi: 3, bye: 2 |
2 / 5 |
| Ignore case off | Hi: 2, Bye: 1, bye: 1, hi: 1 |
4 / 5 |
| Ignore punctuation off | bye;, bye?, hi!, hi,, hi. — 1 each |
5 / 5 |
In Don't stop — it's a well-known e.g. fact (2026). the apostrophes, hyphens and dots inside words stay, so don't, it's, well-known and e.g each count as one word. Only the final dot of "e.g." and the brackets around 2026 are removed. The lone dash is dropped and is not included in the total of 8.
What people use a word frequency count for
- Spotting repeated words in a draft: paste a chapter or a cover letter and look at the top of the list for words you overuse, like "really", "just" or a favourite adjective.
- Checking terminology consistency: "login", "log-in" and "sign-in" stay separate rows (Ignore case only merges "Login" with "login"), so you can see which spelling a document actually uses.
- Survey and feedback answers: paste a column of free-text responses and sort by frequency to see which terms come up most before reading them one by one.
- Language practice and vocabulary lists: switch to Alphabetical to get a deduplicated word list of a text, with the count next to each word. Rank still shows how frequent each word is, even in alphabetical order.
- Further analysis: open the CSV in a spreadsheet to filter, pivot or chart the counts.
Limits and edge cases worth knowing
- Words are split on whitespace only. Languages written without spaces, such as Chinese or Japanese, end up counted as long phrases rather than individual words.
- There is no stop-word filter. Common words like "the", "and" and "of" usually top the list in any English text. To hide words like these and see each remaining word's share of the text, use the Keyword density checker. It takes your own stop-word list and a minimum word length.
- There is no stemming. "run", "runs" and "running" are three different words.
- The table preview shows the first 20 rows. The full list is in the Word counts output.
- Pasting or typing is limited to 1,000,000 characters.
- For a quick word, line and character total without the per-word breakdown, use the Lines, words & characters counter.