How to Use the Unique Character Counter
Paste or type your text into the text box above. The tool will instantly calculate your unique characters and total characters as you type.
The text box can be resized vertically, so you can make it taller for long text or shorter for quick checks. The minimum height keeps the box usable even when you shrink it.
Use the "Case sensitive" checkbox to decide whether uppercase and lowercase letters should be counted separately. When case sensitivity is turned on, "A" and "a" are counted as two different unique characters. When it is turned off, they are treated as the same character.
Use the "Count whitespace" checkbox to decide whether spaces, tabs, and line breaks should be included in the unique character count, table, and CSV download. When it is turned off, whitespace characters are ignored for the unique character results.
You can also copy the text in the text box using the green "Copy Text" button. If you want a broader count of all characters in your text, you can also use our character counter.
What Is a Unique Character?
A unique character is any distinct character that appears in your text. Characters can include letters, numbers, punctuation marks, spaces, line breaks, symbols, emojis, accented letters, and other special characters.
For example, in the text Hello!, the unique characters are H, e, l, o, and !. Even though the letter l appears twice, it only counts once as a unique character.
This is different from a total character count. A total character count measures every character typed, including repeated characters. A unique character count measures how many different characters appear at least once.
Case Sensitive vs Case Insensitive Counting
Case sensitivity changes how uppercase and lowercase letters are counted. With case sensitivity turned on, uppercase and lowercase versions of the same letter are treated as different characters.
For example, the text Aa has two unique characters when case sensitivity is on: A and a. If case sensitivity is turned off, the same text has one unique character because both letters are treated as the same character.
Case-sensitive counting is useful when you are analyzing passwords, code, product IDs, database values, usernames, or any text where capitalization changes the meaning. Case-insensitive counting is useful when you only care about the basic letters being used.
Counting Whitespace Characters
Whitespace characters include regular spaces, tabs, and line breaks. These characters can affect a unique character count because they are still characters, even if some of them are hard to see.
For example, the phrase cat dog includes a space between the two words. If "Count whitespace" is turned on, that space can be included as a unique character. If it is turned off, the space is ignored in the unique character count, table, and CSV download.
This setting is helpful because different users need different results. Writers may want spaces included because they are part of the text. Developers or data-cleanup users may want whitespace excluded so they can focus on visible letters, numbers, punctuation, and symbols. If line breaks are important for your text, our line counter can help count each line separately.
Understanding the Unique Character Table
The table displays up to the first 100 unique characters found in your text based on your current settings. For each character, the table shows the character itself, how many times it appears, its Unicode value, and a short description.
Some characters are hard to see in a table, so the tool labels them clearly. For example, a regular space is shown as [space], a tab is shown as [tab], and a line break is shown as [new line].
If your text contains more than 100 unique characters, the table will show a message below it. You can download the CSV file to see the full list.
Why Download the CSV File?
The CSV download is useful when you want to save, sort, filter, or analyze the full list of unique characters outside the webpage. You can open the CSV file in spreadsheet programs like Excel or import it into other tools.
The file includes each unique character, a display-friendly version of the character, the count, the Unicode value, and a description. This makes it easier to inspect unusual symbols, hidden spacing, or characters that may not display clearly on the page.
If you plan to review character data in a spreadsheet, you may also find our guides on character count in Microsoft Excel and character count in Google Sheets helpful.
Common Reasons to Count Unique Characters
Text cleanup: If copied text contains strange symbols, extra spaces, tabs, or unexpected characters, a unique character counter can help you spot them quickly.
Programming and debugging: Developers may need to inspect strings, input fields, encoded text, copied data, or generated output to see exactly which characters are present.
Password and username review: Unique character variety can help you understand how many different characters are being used in a password, username, token, or identifier.
Data entry and spreadsheets: When cleaning imported data, unique character counts can help identify unexpected symbols, invisible whitespace, or inconsistent capitalization.
Language and writing analysis: Writers, editors, teachers, and students can use the tool to review character variety, symbol usage, and formatting patterns. If you want to focus specifically on how often letters appear, use our letter frequency counter. For word-level analysis instead, try our word frequency counter or unique word counter.
Unique Characters, Unicode, and Special Symbols
Modern text can contain much more than the basic English alphabet. It may include accented characters, currency symbols, mathematical symbols, emojis, smart quotes, dashes, non-English letters, and other Unicode characters.
That is why the table includes a Unicode value. Unicode helps identify characters precisely, especially when two characters look similar but are technically different. For example, a regular hyphen, an en dash, and an em dash may look related, but they are separate characters.
This can be important when working with code, databases, URLs, search systems, or any situation where the exact character matters. If you specifically want to analyze symbols, punctuation marks, or special characters, try our symbol counter. For emoji-heavy text, you can also use our emoji counter.
For emoji-heavy text or combined Unicode characters, our grapheme counter may be useful because it focuses on user-perceived characters.
Examples of Unique Character Counts
Here are a few simple examples to show how unique character counting works:
Example 1: The text aaa has 3 total characters but only 1 unique character because the same character is repeated.
Example 2: The text abc has 3 total characters and 3 unique characters because each character is different.
Example 3: The text Hello has 5 total characters and 4 unique characters because the letter l appears twice.
Example 4: The text Aa has 2 unique characters when case sensitivity is turned on, but only 1 unique character when case sensitivity is turned off.
Example 5: The text a b has 3 unique characters when whitespace is counted: a, [space], and b. If whitespace is not counted, it has 2 unique characters: a and b.
Tips for Accurate Character Counting
Remember that characters are not limited to letters. Spaces, punctuation marks, line breaks, numbers, emojis, and special symbols can all affect character counts.
If you are checking text for a platform with a strict character limit, look at the total character count. If you are analyzing variety or repeated characters, look at the unique character count. If you want to estimate words from a character count, try our characters to words converter.
If your text came from a PDF, spreadsheet, word processor, website, or messaging app, check the unique character table for unexpected characters. Copied text can sometimes include hidden whitespace, curly quotes, special dashes, or other characters that are easy to miss.
Thanks for Using Our Unique Character Counter
We hope you enjoy using this unique character calculator. If you have questions or comments, please let us know. For more text metrics, you can also use the main character counter on our home page.