Character Counter
Count Unicode code points, UTF-16 code units and UTF-8 bytes.
Your workspace
Processed in your browserThis tool provides a detailed breakdown of your text's length, calculating Unicode code points, UTF-16 code units, and total UTF-8 bytes to help you meet specific character limits.
Using the character counter
- Paste your text into the input area. The tool processes the content immediately.
- Review the results to see the count of code points, UTF-16 units, and UTF-8 bytes, which helps determine if your text fits specific storage or platform requirements.
Understanding different length metrics
Different systems count length differently. Unicode code points represent individual characters, while UTF-16 code units are how many environments (like JavaScript) measure string length. UTF-8 bytes are critical for database storage limits, as some characters consume more than one byte.
Check length of complex text
Café ☕
Unicode code points: 6, UTF-16 code units: 6, UTF-8 bytes: 8
Questions about character counting
Why do emoji count as more than one character?
Many emoji are composed of multiple code points or sequences. The tool counts the actual number of Unicode code points present in the string.
Which count should I use for database limits?
Use the UTF-8 bytes count if your database column has a strict byte limit, as this reflects the actual storage size required for the text.
Continue your workflow
Explore more tools in this category for your next step.
Confusable Character Inspector
Report Unicode names, scripts inferred from character names and invisible format characters; no claim of exhaustive spoof detection is made.
Line Counter
Count total lines, nonempty lines and empty lines.
Paragraph Counter
Count nonempty paragraphs separated by blank lines, along with their word counts.
AI Text Detector
Scan English text with a local AI classifier, highlighted passages and readable writing analytics.