Loading…

How to use Count Occurrences

Paste your text and enter the word, character, or phrase to search for, and the tool counts how many times it appears, with case-sensitive and overlapping-match options.

Frequently asked questions

Does it count overlapping matches?

Optionally — enable overlapping mode to count 'ana' twice in 'banana', or leave it off to count non-overlapping matches once.

Is the search case-sensitive?

You choose. Toggle case sensitivity to treat 'The' and 'the' as the same or different.

Can I count a single character?

Yes — search for any string, including a single character, space, or punctuation mark.

More Text Tools

Duplicate Word Finder
Find words that repeat, ranked by how often they occur
Text Reverser
Reverse characters or words in any text
Line Sorter
Sort lines alphabetically, reverse, or randomly
Remove Duplicate Lines
Remove all duplicate lines from text instantly
Remove Empty Lines
Strip all blank and empty lines from text
Remove Extra Spaces
Trim and normalize whitespace in your text
Trim Lines
Remove leading and trailing spaces from each line
Text Repeater
Repeat text N times with custom separator
Find & Replace
Find and replace text with regex or plain match
ROT13 Encoder
Encode or decode text using ROT13 cipher
Pig Latin Converter
Convert English text to Pig Latin and back
Text Randomizer
Shuffle words, sentences or lines randomly

← View all Text ToolsBrowse all 1,100+ tools →