Count Word Frequency

Count how often each word appears.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste text and get a ranked table of every word with how many times it appears and what share of the text it makes up. Total and unique word counts are shown above the table.

How to use

1
Step 1
Paste or type your text into the box.
2
Step 2
Watch the table fill in as you type.
3
Step 3
Use the counts to see which words dominate the text.

How it works

Text is lowercased and split into words made of letters, digits and apostrophes. Each word is tallied and the table is sorted by count, then alphabetically. The share is count divided by total words. The table shows up to 50 words.

Worked example

A short sentence

Input
the cat and the hat and the bat
Output
the: 3 (37.50%) and: 2 (25.00%) bat: 1 (12.50%) cat: 1 (12.50%) hat: 1 (12.50%)
Walkthrough
Ties are listed alphabetically: bat, cat, hat.

Limitations

  • Stop words such as the and and are counted.
  • The table is capped at the 50 most frequent words.
  • Word forms are not merged.

Questions

Are stop words counted?
Yes, every word is counted.
Is it case sensitive?
No, words are lowercased first.
How many words are shown?
The top 50, with the total and unique counts above.
Is my text uploaded?
No. Words are counted in your browser and your text never leaves your device.

Features

  • Ranked table
  • Counts and percentages
  • Total and unique words
  • Live results

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Learn Regular Expressions - Crash Course

    freeCodeCamp.org

    Regex powers many find/replace and clean-text workflows.

    Watch on YouTube
  • HTML in 100 Seconds

    Fireship

    Quick HTML mental model next to text transform tools.

    Watch on YouTube