Letter Counter
Break text into letter classes with exact counts for linguistics, puzzles, and validation.
Count vowels, consonants, digits and punctuation instantly. Free letter frequency breakdown with totals and ratios.
Calculator Inputs
About Letter Stats
Break text into letter classes with exact counts for linguistics, puzzles, and validation.
Every character lands in exactly one bucket: vowels (a, e, i, o, u, either case), consonants, digits, whitespace (spaces, tabs, newlines), or punctuation and symbols. Totals always reconcile with length.
Accented letters (é, ü) count as consonants or vowels by base letter class — only plain ASCII vowels match the vowel bucket. Everything runs in your browser.
Where it is used
Checking password composition, analyzing writing patterns, building word games, and verifying input mix rules.
How to use the Letter Stats
- Text — enter the value (e.g. Hello World 123!).
- Calculate — press the Calculate button to see the result instantly above.
Formula
Single pass classifying every character into vowel/consonant/digit/space/other.
Examples
Example
Frequently Asked Questions
- Why are accented letters not vowels?
- The classifier is ASCII-based for speed and predictability. Strip diacritics first if you need é counted with e.
- Do newlines count as spaces?
- They count under Whitespace alongside spaces and tabs — all non-visible separators in one bucket.
- How is this different from a character counter?
- Character counters total everything; this splits the total by class so you can verify composition rules like "at least 2 digits".