Menu

Word Frequency Counter

Paste your text to get every word ranked by how often it appears, with its count and share of all words. Switch to two- or three-word phrases and copy the list straight into a spreadsheet.

0 words 0 characters 0 lines

Continue with this text: Keyword densityWord counterRemove duplicate words

Your text stays in your browser: nothing is uploaded or stored on a server.

How to use the word frequency counter

  1. Paste or type your text into the box, or press Open file to load a plain-text file. Example fills in a short sample.
  2. Choose what to Count: Single words, Two-word phrases or Three-word phrases.
  3. Tick Skip common words (the, and, of…) if you only want content words, and raise Minimum count to hide words that appear only once or twice.
  4. Read the ranked table: rank, word or phrase, count and share of words. The line under the editor gives the totals, for example “29 words, 13 different words listed”.
  5. Pick a Text result format and press Copy or Download .txt to take the full list into a spreadsheet or another program.

The table shows the top 100 rows; the text result under it always holds the complete list. Rows are sorted by count, highest first, and rows with the same count are sorted alphabetically.

The options

Option What it changes
Count Single words lists each word. Two-word phrases and Three-word phrases list every run of 2 or 3 consecutive words (n-grams).
Skip common words Single words: drops words on the common-word list. Phrases: drops any phrase that starts or ends with a common word, so price of gold stays but of the price goes.
Minimum count Hides rows with a lower count. 2 shows only repeated words. The share of words is still calculated from the whole text.
Text result format Tab-separated (word⇥count), CSV (with a word,count or phrase,count header; terms containing a comma or quote are put in quotes) or word: count.

The common-word list has 184 English function words: articles (a, an, the), pronouns (I, you, it, us), prepositions (of, in, under), conjunctions, forms of be, have and do, their contractions (don’t, it’s) and a few others such as also, may, just and very. Nouns, verbs such as said, and numbers are never skipped.

How words are matched

The tool splits the text at spaces, tabs and line breaks, keeps the pieces that contain a letter or digit (the same rule as the word counter), then lowercases each word and trims punctuation from its start and end. Punctuation inside a word stays. These results come from the tool itself:

Text Counted as Why
“Hello,” hello... 'hello' hello!! hello ×4 Quotes, commas and end punctuation are trimmed.
Don't and Don’t don’t ×2 Curly apostrophes become straight ones.
well-known and (well-known) well-known ×2 A hyphenated word is one word.
e-mail and email 2 separate rows Spelling variants are not merged.
$20 and 20 20 ×2 The leading $ is trimmed.
3.5 and 3,5 2 separate rows Inner periods and commas stay.
U.S. u.s Only the final period is trimmed.
Café and cafe 2 separate rows Accents are kept; use remove accents first to merge them. A café typed with a separate combining accent still matches café.
👍 great 👍great great ×2 Emoji are not words.
東京に行く 5 rows, one per character Chinese, Japanese and Thai characters count one each.

Email addresses and links stay whole, so [email protected] is one row. If you want e-mail and email counted together, standardize the spelling with find and replace before you paste.

Worked example: the sample text

The Example button loads this text of 29 words:

The cat sat on the mat. The cat saw a dog. The dog saw the cat, and the cat ran up the tree; the dog sat under the tree.
Word All words Skip common words
the 9 (31.03%) hidden
cat 4 (13.79%) 4 (13.79%)
dog 3 (10.34%) 3 (10.34%)
sat 2 (6.9%) 2 (6.9%)
saw 2 (6.9%) 2 (6.9%)
tree 2 (6.9%) 2 (6.9%)

With Two-word phrases the top rows are the cat (4), the dog (2) and the tree (2). With Skip common words ticked as well, only five phrases remain, each found once: cat ran, cat sat, cat saw, dog sat and dog saw. The text result for single words with Minimum count 3 in word: count format is:

the: 9
cat: 4
dog: 3

Phrases and the share of words

For phrases, the share is the number of words the phrase covers: count × phrase length ÷ total words. The cat appears 4 times in 29 words, so it takes up 8 words, or 27.59%. This is the usual way keyword density is calculated for phrases; the keyword density guide explains what the figure does and does not tell you about SEO.

Phrases are built from runs of consecutive words that do not cross punctuation: a phrase never runs past a word ending in . ! ? … ; : or a comma (or the Chinese and Japanese 。!?、), even when a closing quote or bracket follows. In the sample, mat the and dog the are therefore not listed, and Our new app is free. Try our new app today! gives new app and our new twice each but no free try. Line breaks on their own do not end a phrase, so line one and line two on separate lines also produce one line. The period after an abbreviation does not end a phrase: words with an inner period (U.S., e.g.) and short forms such as Mr., Mrs., Dr., Prof., St., vs., Inc. and Ltd. run on, so the U.S. market and the U.S. market lists u.s market twice and Mr. Smith gives mr smith. etc. runs on only when the next word starts with a lowercase letter (etc. and). Because overlapping phrases share words, the shares in a phrase list can add up to more than 100%, and a Minimum count of 2 leaves only the phrases you actually repeat.

When a word frequency list helps

  • Editing. Spot words you lean on: really, just or a pet adjective that shows up 15 times in a 2,000-word draft. Tick Skip common words so they are not buried under the and and.
  • SEO and content briefs. Check which terms and two- or three-word phrases a page actually repeats, and compare your page with a competitor’s text pasted in a second run.
  • Survey and review answers. Paste open-ended responses exported from a form or CRM to see which words customers use most, then export the list as CSV for a chart.
  • Language learning and vocabulary lists. Rank the words of a chapter or transcript to find the ones worth learning first.
  • Coding and data work. Get a quick baseline before writing your own script. In Python, Counter(re.findall(r'\w+', text.lower())).most_common(10) gives a similar list, but \w+ splits don’t into don and t and well-known into two words, and most_common orders ties by first appearance rather than alphabetically.

To study individual characters instead of words, use the letter frequency counter. For an overview of the other counting tools, see the text analysis guide.

Questions

Is the word frequency counter free, and is my text uploaded?

It is free and has no sign-up. The counting runs in your browser, so the text is not sent to a server. It is kept only in this browser tab so it is still there if you open another tool.

Are "The" and "the" counted as the same word?

Yes. Every word is lowercased before counting, so The, the and THE share one row, shown in lowercase. The same applies to US and us, which cannot be told apart.

How do I find the most common words without "the", "and" and "of"?

Tick Skip common words (the, and, of…). It hides 184 English function words such as articles, pronouns, prepositions and forms of be and have, so the words that carry meaning rise to the top.

Can I get the word frequency of a PDF or Word document?

Copy the text out of the PDF or document and paste it here. The Open file button reads plain-text files such as .txt, .csv and .md, not .pdf or .docx. If the pasted PDF text has broken lines, that does not change the counts, because line breaks are treated as spaces.

What is the difference between word frequency and word density?

Frequency is how many times a word appears; density is that count as a share of all words. This tool shows both. The keyword density checker adds a check for one target keyword.

How do I open the list in Excel or Google Sheets?

Keep the format on Tab-separated (spreadsheet), press Copy and paste into cell A1: words land in column A and counts in column B. Or choose CSV, press Download .txt and import the file as comma-separated.

Do two- and three-word phrases run across sentences?

No. A phrase stops at a word that ends with a period, !, ?, …, semicolon, colon or comma, so "the mat. The cat" never gives mat the. Line breaks alone do not end a phrase, and the period of an abbreviation such as U.S. or Mr. does not end one either.