Text Tools
Character Counter
Updated
Three ways to measure text length
A grapheme cluster approximates one visible character. A Unicode code point identifies an encoded character value, while a JavaScript string stores UTF-16 code units. A family emoji can therefore be one grapheme cluster, seven code points, and eleven UTF-16 code units.
These labels make the measurement explicit so you can compare the result with the policy used by a form, platform, database, or programming interface.
Whitespace and line rules
The no-whitespace metric removes Unicode White_Space characters before grapheme counting. Line counting normalizes Windows CRLF and standalone CR endings to LF; a final line separator creates a final empty line.
Compare grapheme clusters, code points, UTF-16 units, words, and lines.
Quick answers
What this calculator answers
- Characters: Counts Unicode grapheme clusters, not UTF-16 units.
- Technical units: Reports Unicode code points and UTF-16 code units separately.
- Whitespace: Excludes the complete Unicode White_Space property in the no-whitespace metric.
- Lines: Normalizes CRLF and CR while preserving a trailing empty line.
Transparency note
Accuracy and limitations
Calzivo tools are built for practical estimates, conversions, and checks. Some tools use standard formulas or simplified assumptions, and results can be affected by input accuracy, rounding, units, local rules, or changing official requirements.
Results depend on the values you enter and any simplified assumptions used by the tool. Verify important results before making decisions or submitting official information.
Reference check
Sources and references
These references provide background context for the topic. They do not replace official advice or documents for personal decisions.
- Unicode Text Segmentation (UAX #29)
Unicode Consortium
- Intl.Segmenter specification
Ecma International
- ECMAScript string and code-point processing
Ecma International
How to Use This Tool
Use these steps to enter the right inputs and interpret the result correctly.
Type or paste multiline text into the editor.
Compare visible grapheme clusters with code points and UTF-16 code units.
Review word and normalized line counts or copy the labeled metrics.
