Skip to content
MyToolkit.pro

Text analysis

Word Frequency Counter

Paste any text to see how many times each word appears. Sort by frequency or alphabetically, ignore case and strip surrounding punctuation. Your text stays in this browser.

Private by design: no text is uploaded or stored.

Private by design: no text is uploaded or stored.

Result — options

Try an example

Result

Updates when you count or change an option.

Unique words
0
Total words
0

Most frequent words

Full breakdown

How does the word count work?

The text is split on whitespace into tokens. With Ignore punctuation on, leading and trailing punctuation is stripped from each token, so "hi," and "hi" count as the same word. With Ignore case on, "Cat" and "cat" are merged. Sort by frequency lists the most common words first (ties broken alphabetically), while Alphabetical orders every word from A to Z. Total words counts every counted token; unique words counts the distinct entries.

How to count word occurrences in a text

  1. 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.
  2. 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.
  3. 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.
  4. 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.

Frequently asked questions

How do I count how many times a specific word appears in a text?

Paste the text and look up the word in the list. The Count column shows how many times it appears. In a long text, switch Sort to Alphabetical to find the word quickly, or press Ctrl+F in the Word counts box.

Why does the same word appear twice in the list?

The two entries differ in some character. Common causes are a straight and a curly apostrophe ("don't" and "don’t"), an accented and a plain letter ("café" and "cafe"), or Ignore case or Ignore punctuation being turned off. The tool compares words exactly and does not normalise these variants.

Why is my total different from Word's word count?

With Ignore punctuation on, tokens made only of punctuation, such as a lone dash or an ellipsis, are dropped and not added to Total words. Other counters may include them or split words differently. [Why text counters disagree](/en/articles/why-text-counters-disagree-characters-bytes-words-lines) compares the rules.

Is my text sent to a server when I export the results?

No. The chart, the table and the CSV file are built in your browser, and the download is created locally from the table data. Files you load are read in the browser too.

Can I export the word frequency list to Excel?

Yes. "Download the table as CSV" includes every word with its rank, count and share, not just the 20 rows in the table preview. Share is written as text such as 25.0%, which Excel and Google Sheets normally read as a percentage.

All in Text & Lists

Lines, words & characters counter

Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.

Text & Lists In your browser

Keyword density checker

Count keyword frequency and density locally with configurable stop words.

Text & Lists In your browser

Case converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — all nine at once, each with its own copy button. Works entirely in your browser.

Text & Lists In your browser

Find and Replace

Find and replace text with options for case sensitivity, whole words and regular expressions. Works entirely in your browser.

Text & Lists In your browser

Text Diff / Compare

Compare two blocks of text line by line and see exactly what was added, removed or left unchanged. Works entirely in your browser.

Text & Lists In your browser

Whitespace Normalizer

Collapse repeated spaces and tabs, trim lines, remove blank lines and tidy the whole document. Works entirely in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one