Text utility
Character Counter
Count visible characters, Unicode code points, and UTF-16 units.
● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…
How to use Character Counter
- Paste or type text into the input.
- Select Count to compare grapheme, code point, and UTF-16 counts.
- Use the whitespace-excluded count when needed.
Example
Input:
Hi 👋!
Output:
Grapheme clusters: 5 Unicode code points: 5 UTF-16 code units: 6 Characters excluding whitespace: 4
Use cases
- Check input length limits.
- Understand emoji and Unicode lengths.
- Compare JavaScript string length with visible characters.
About this tool
Count visible characters, Unicode code points, and UTF-16 units. Processing happens locally in your browser, so your input is not sent to a server or included in analytics.
Frequently asked questions
Why can these counts differ?
Some visible characters, such as emoji with skin tones or combined accents, contain multiple Unicode code points or UTF-16 units.
What is a grapheme cluster?
It is a user-perceived character, which may combine several underlying code points.
Is the text sent anywhere?
No. All counting happens in your browser.