Count uppercase, lowercase, title case, digits, and special characters in your text instantly.
0Uppercase (A-Z)
0Lowercase (a-z)
0Digits (0-9)
0Spaces
0Special Chars
0Total Chars
How to Use
Paste or type your text into the text area above.
Click Count to see a detailed breakdown of uppercase letters, lowercase letters, digits, spaces, special characters, and total character count.
Each category displays both the count and percentage relative to the total, helping you understand text composition at a glance.
Use Clear to reset everything, or Copy to copy your input text to the clipboard.
What Is a Text Case Counter?
A text case counter is a specialized text analysis utility that breaks down any piece of text into its constituent character categories. Unlike a basic character counter that gives you a single total, this tool separates and counts uppercase letters (A–Z), lowercase letters (a–z), numeric digits (0–9), whitespace characters, and special characters.
Writers use it to verify text composition meets specific guidelines. Developers rely on it for input validation and debugging string parsing. SEO professionals use it to check meta descriptions and title tags for optimal character mix.
How It Works
The Text Case Counter uses regular expression pattern matching to scan every character in your input text. Each character is classified into one of six categories based on its Unicode value:
Uppercase (A–Z): Characters between Unicode code points 65 and 90.
Lowercase (a–z): Characters between code points 97 and 122.
Digits (0–9): Numeric characters from code points 48 to 57.
Spaces: Any whitespace character including tabs and newlines.
Special characters: Everything else — punctuation, symbols, brackets, and non-alphanumeric characters.
Total characters: The sum of all characters in your text.
All processing happens entirely in your browser — your text is never sent to any server.
Tips
Password Analysis: Use this tool to check password composition — a strong password should contain a mix of uppercase, lowercase, digits, and special characters.
Writing Style Check: If your text has too many uppercase characters, it may come across as shouting. The percentage breakdown helps you spot this.
SEO Meta Tags: Meta descriptions and title tags should have a natural character mix. This tool can verify your tags don't have unexpected character distributions.
Frequently Asked Questions
What's the difference between case counting and character counting?
Case counting specifically categorizes letters by their case (uppercase vs. lowercase), while character counting includes every character in the text regardless of type — letters, numbers, punctuation, spaces, and symbols. This tool does both.
Does the tool count spaces and line breaks?
Yes. Spaces are counted as a separate category, and line breaks are included in the total character count. Tabs and other whitespace characters are also counted under the spaces category.
Can I see percentage breakdown?
Yes, each character category displays both the absolute count and its percentage relative to the total character count.
Is my text sent to a server?
No. All analysis happens entirely in your browser using JavaScript. Your text never leaves your device.