Word Counter & Character Counter

Count letters, emoji, and bytes.

View result ↓
01  InputUpdates as you type
02  ResultOn your device
Enter a value to see the result.

On your device

How to use

Paste text to count visible characters with and without whitespace, words, and UTF-8 bytes. Empty text counts as zero.

Good to know

Characters are grapheme clusters, so joined emoji count as one. Words are separated by whitespace; a submission site may count differently.

Worked examples

Input

Hello 👋

Expected result

With spaces: 7
Without spaces: 6
Words: 2
UTF-8 bytes: 10

How characters, words, and UTF-8 bytes are counted

Character counts use grapheme clusters, which represent visible character groups rather than individual Unicode code points. A combined family emoji can contain several code points and still count as one character. The count without whitespace excludes spaces, tabs, and line breaks.

Words are counted by trimming the text and splitting it wherever whitespace occurs. This is not grammatical or dictionary segmentation: text without spaces is one token, and a standalone punctuation mark separated by spaces also counts. Empty or whitespace-only text has zero words.

UTF-8 bytes measure the encoded text, not the number of visible characters. “A” uses 1 byte, “가” uses 3 bytes, and “😀” uses 4 bytes. A form using a different encoding or its own counting rules may show a different total; check the destination form’s requirements.