Characters and bytes
A letter like é counts as one character but uses two UTF-8 bytes. Most emojis count as one character and use four bytes.
Count characters, words and lines, and see the exact size of your text in UTF-8 bytes and UTF-16 code units.
Counts update as you type.
Type or paste the text you want to measure, up to 200,000 characters.
Characters, words, lines, UTF-8 bytes and UTF-16 code units update as you type.
Check the figure that matches your platform, such as characters for a social post or bytes for a database field.
A letter like é counts as one character but uses two UTF-8 bytes. Most emojis count as one character and use four bytes.
JavaScript and many older systems count UTF-16 code units, where most emojis count as two.
The counts are calculated in your browser, so drafts and confidential text are never uploaded.
Paste your text and read the UTF-8 bytes result. A plain ASCII character uses one byte, while accented letters and emoji can use more. Use the byte count, rather than the character count, when a system specifies a byte limit.
In UTF-8, English letters and digits use 1 byte, most accented letters 2 bytes, many Asian characters 3 bytes and most emojis 4 bytes.
Tools count differently: some count UTF-16 code units, where an emoji counts as two, and some count a combined emoji as a single character.
Words are groups of characters separated by spaces or line breaks, so a hyphenated word counts as one.