Character Counter
Tool guideCharacter frequency analysis and Unicode breakdown
Input: This tool processes input in your browser. Check in Network (opens in a new tab)
Sort:
Letters: 0
Digits: 0
Spaces: 0
Punct: 0
CJK: 0
Emoji: 0
Other: 0
Total: 0
UTF-8: 0 B
UTF-16: 0 B
Unique: 0
Tool guide
Back to workspaceBreak down text by character type (letters, digits, spaces, punctuation, CJK, emoji). View UTF-8 and UTF-16 byte sizes, and sort character frequency tables. 100% client-side — no backend.
How to use it
- Paste the first label by itself, without a trailing newline, and read Total and UTF-8. It fits a five-byte label budget.
- Replace the entire input with the second label. It looks the same in many fonts, but UTF-8 rises to six bytes.
- Look for U+0301 in the Unicode column on the second run: the accent is a separate code point instead of part of U+00E9.
Worked example
- First label (precomposed)
Café- Second label (decomposed)
Café- Example output
First: Total 4; UTF-8 5 B; UTF-16 8 B Second: Total 5; UTF-8 6 B; UTF-16 10 B
Total counts code points, not visible characters. UTF-16 reports bytes for the JavaScript code units; neither Total nor UTF-16 is the byte budget of a UTF-8 destination.
What to watch for
Copying through another app can normalize the accent, and a trailing newline changes the count. Check the Unicode column to verify what actually reached the editor.
Frequently asked question
- Can I normalize the second label to fit five bytes?
- NFC normalization composes this specific e plus accent to é. Use it only if your destination accepts normalized text, and measure the exact string you will send; the counter does not normalize the input for you.