TechCompare LogoTechCompare

Understand emoji character counts and Unicode

Visible characters, code points, code units, and bytes measure different things. Choose the count your destination actually uses.

One visible character can be represented by several pieces of Unicode text. An emoji with a skin tone and a joined symbol can look like one item while containing multiple code points. An accented letter can also use a base letter plus a combining mark. The Character Counter lets you compare visible characters with code points, and the breakdown adds UTF-16 code units and UTF-8 bytes.

By TechCompare ยท Updated

Example characters
4
Visible characters, including whitespace
Example words
2
Counting topic
Emoji and Unicode counts

Calculator

Character Counter

Example text

A๐Ÿ‘ฉ๐Ÿฝโ€๐Ÿ’ปeฬ๐Ÿ‡ณ๐Ÿ‡ฑ

Characters
4
Words
2
Sentences
1
Paragraphs
1
Lines
1
No whitespace
4

How this is calculated

In visible character mode, supported browsers segment text into grapheme clusters. These keep the example's combined emoji and accented letter together. Code point mode counts the underlying Unicode values instead. UTF-16 code units describe another representation of the string, where some code points occupy two units. UTF-8 bytes describe the length of the encoded text in bytes. None of those totals is a universal replacement for the others. The breakdown is useful when you're debugging a form, comparing a string length with its display, or checking an encoding. Older browsers without text segmentation fall back to code point counting, so the visible character mode may behave differently there.

Verdict

For everyday writing, visible characters are often the easiest total to understand. For a field that explicitly limits code points or code units, use that measurement instead. Don't infer a platform's rule from how an emoji looks. Paste the final draft into its actual field and check its own counter. This tool normalizes line endings for analysis, so byte and code unit totals describe the normalized text rather than an original file on disk. Copying counts won't include the draft itself. Keep that distinction in mind when using the report to explain an encoding or validation issue.

More Counting scenarios

Frequently asked questions

Why can one emoji count more than once?
A displayed emoji can be a grapheme cluster made from several code points. Visible character mode groups it together when segmentation is supported. Other systems may count its components. See Unicode text segmentation for the boundary rules.
Does this measure an original text file's size?
No. UTF-8 bytes describe the text after its line endings are normalized for analysis. File headers, byte order marks, other encodings, and the original newline format can change a file's size.