Text Tools
Count Occurrences
Count how many times a word, phrase, or pattern appears in your text. Check several terms at once with case, whole-word, and regex options and highlighting.
Add up to 40 terms. Each is counted separately.
Total matches
0
Across every term
Terms counted
0
Words or phrases
Results
Enter at least one word, phrase, or pattern on the right to count how many times it appears in your text.
Counting runs entirely in your browser using the JavaScript engine. The text you search is never uploaded.
How to use
- Paste or type the text you want to search into the main box, or load the sample.
- Enter each word, phrase, or pattern you want to count on its own line.
- Toggle case sensitivity, whole words only, or regex mode to fit your text.
- Read the per-term count and density in the results table and the total matches.
- Use the highlighted preview to see every match, then copy the results.
About this tool
Count Occurrences tells you exactly how many times a specific word, phrase, or pattern appears inside a block of text. Unlike a word frequency table that lists every word at once, this tool focuses on the terms you actually care about: type one term per line and each is counted on its own, so you can compare several words or phrases side by side. Matching is flexible enough for real documents. Turn case sensitivity on to treat Dog and dog as different, switch on whole-word matching so cat does not match inside category, or enable regex mode to read each line as a regular expression for patterns like colou?r or a four-digit year. A density column shows each term's count as a percentage of the total word count, which is useful for editors and writers checking for repetition or for a quick keyword check. A highlighted preview marks every match in place so you can see where the matches fall, not just how many there are. Invalid regular expressions are reported on their own row without breaking the rest of the counts, and very large pastes are handled without freezing the page. Everything runs in your browser, so the text you search is never uploaded to a server.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Word Frequency Counter
Per-word frequency table with sort, search, stopwords, and CSV export.
Open tool
TextFind and Replace
Find and replace text in plain or regex mode with live match highlighting.
Open tool
TextWord Counter
Live word, character, sentence, paragraph, and reading time stats.
Open tool
SEOKeyword Density Checker
Top keywords, bigrams, and trigrams with counts and density percentages.
Open tool