Type or paste text to update the counts. The input has no fixed maximum length set by the page.
Total Characters counts UTF-16 code units, the units JavaScript uses for strings. One visible symbol can occupy more than one unit.
Without Spaces removes whitespace, including tabs and line breaks. Word Count counts nonempty chunks separated by whitespace.
Bytes measures the text encoded as UTF-8. It is a size measurement, not another character count.
Reading the result
Line Count counts sections separated by a newline. Empty input is one line, and a final newline adds an empty line.
English counts only A to Z and a to z; Numbers counts 0 to 9. Korean counts the specified Hangul ranges. Remaining code units go into Special Characters.
Emoji and combining marks can make the total differ from what you see. A destination app may enforce a different counting rule.
Examples
Letters, a newline, and an emoji
Input
Hi 7
🙂
Result
Total Characters 7; Without Spaces 5; Word Count 3; Line Count 2; UTF-8 Bytes 9
How to check it
H, i, the space, 7, and the newline use five code units and five bytes. 🙂 adds two code units and four bytes.
Frequently asked questions
Why does one emoji count as two characters?
An emoji such as 🙂 uses two UTF-16 code units. This counter adds two to Total Characters and Special Characters rather than counting it as one visible symbol.
Does Spaces include line breaks?
Yes. Spaces includes whitespace such as spaces, tabs, and line breaks. Without Spaces excludes those characters.
How are words counted without spaces?
A continuous chunk with no whitespace counts as one word. The tool does not use a language-specific word-segmentation system.