Count Word Frequency
Count how often each word appears.
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
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?
Is it case sensitive?
How many words are shown?
Is my text uploaded?
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 YouTubeHTML in 100 Seconds
Fireship
Quick HTML mental model next to text transform tools.
Watch on YouTube
- Regular expressions
MDN
Pattern matching used in advanced text cleaners.
- Accessibility
MDN
Readable text and case choices matter for inclusive copy.