Count only specific characters in your text
By TechCompare · Updated · How we check
Type characters together, such as ae!?. Each distinct target gets its own count. A typed space is a target too.
Calculator
Character Counter
Example text
A little editing adds clarity! A little care helps.
- Characters
- 51
- Words
- 9
- Sentences
- 2
- Paragraphs
- 1
- Lines
- 1
- No whitespace
- 43
Sometimes the total character count isn't the number you need. You might want to know how many times a letter appears, how often a punctuation mark is used, or whether a copied passage contains extra spaces. The Count only panel answers those questions while leaving your draft intact. Enter the characters together, then read each target's total and the combined matching character count.
How this is calculated
In Characters mode, the target field is a set of characters to look for, not a word or phrase. Entering cat counts c, a, and t separately. Duplicate targets are removed so entering the same letter twice doesn't double the result. Matching ignores case by default, which combines lowercase and uppercase forms. Turn on Match case to separate them.
Visible character mode can treat a combined emoji as one target in supported browsers. Code point mode instead searches its components. The same mode controls the main character total. Spaces are displayed with a readable label in the results so you don't have to interpret an invisible target.
Verdict
Use character targets when each individual symbol matters. To count a whole word or phrase, switch to Words & phrases so the characters stay together. You can select a passage in the editor and choose Selected text to focus the search.
The main totals remain document counts for that scope, while the custom panel reports only the requested matches. Check the per-target rows when case or punctuation matters. A combined total can hide which character appears most often, and it doesn't describe the order of the matching characters or their surrounding text.
More Counting scenarios
Frequently asked questions
Does the character count include spaces?
Can I count only certain characters or words?
What's the difference between a line and a paragraph?
How are emoji, words, and sentences counted?
Is my text uploaded or saved?
Can I count just part of my text?
Related tools
LLM Token Counter
Count tokens in any prompt for GPT, Claude, Gemini, and Llama with exact OpenAI tokenization.
Use toolText Diff Checker
Compare two texts or files line by line and word by word, ignore case or whitespace, and copy the changes as a unified diff.
Use toolText Encoding Converter
Convert text to Base64, binary, hex, URL encoding and HTML entities, and back again.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool