Count Specific Character
Count the exact number of times any character, word, or substring appears in your text — with total count and percentage breakdown.
What Does This Tool Do?
Sometimes you need to know exactly how many times a specific character or string appears in your text. This tool finds every occurrence and gives you the count, the percentage of total characters it represents, and lets you toggle case sensitivity. Works on single characters, words, or any substring.
Key Features
How to Use This Tool
- Paste your text into the input area.
- Enter the character or string you want to count.
- Toggle Case Insensitive if needed.
- Click Count to see the results.
How It Works
The tool slides through the text position by position, looking for the target string at each position. Every time it finds a match, the counter increments and the search continues from after the match. The percentage is calculated as (match count × match length / total characters) × 100.
Common Use Cases
Frequently Asked Questions
Does it count overlapping matches?
No — after finding a match, the search continues from after the end of that match. "aaa" has 2 non-overlapping occurrences of "aa" (positions 0-1 and 2-3 if it were 4 chars, but here position 0 and then the search starts at 2 giving 1).
Is it case-sensitive by default?
Case-insensitive is enabled by default. Toggle it off for exact case-sensitive matching.
Related Tools
Link to This Tool
Copy and paste the code below to link to this tool from your website: