About counting words and characters
What a word counter is for
Word and character limits are everywhere: essay and assignment lengths, job application answers, meta descriptions for search results, app store listings, SMS messages, and database columns with a fixed size. A counter tells you how far over or under you are before you submit. Reading and speaking time help you plan a blog post or a talk.
How words are counted
In English, a word is usually counted as a run of characters between spaces, tabs or line breaks. This tool does exactly that, the same way most editors show it in their status bar. That means well-known is one word and so is a delimited value like Alice,42.
Chinese and Japanese are written without spaces, so a space-based count sees a whole sentence as a single word. Many editors, including Microsoft Word, count each Chinese or Japanese character as a word instead. For those languages use the CJK characters count, which counts Han characters, Japanese kana and Korean Hangul. Korean does use spaces between words, so the normal word count works for it too.
Why there are four kinds of character count
“How many characters?” has more than one honest answer once you leave plain English. Characters counts UTF-16 code units, which is what an HTML maxlength attribute and JavaScript's .length measure, so it matches most form limits. Most emoji count as two there. Code points counts each Unicode character once. Graphemes counts what a reader sees as one character, so a flag or a family emoji built from several code points counts once.
Bytes (UTF-8) is the storage size. English letters take 1 byte, accented Latin letters 2, Chinese characters 3 and emoji 4. Use it when a limit is in bytes, such as some database columns or HTTP header sizes.
What this tool does
Every count updates as you type. Select part of the text and you get a separate word, character and line count for just that passage, which helps when trimming one paragraph to a limit. A trailing newline does not start a new line, so the line count matches an editor rather than wc -l. Sentences end at . ! ? … and the full-width 。!?, so abbreviations like Dr. are counted as sentence breaks. Paragraphs are blocks separated by a blank line. Reading time assumes 200 words per minute and speaking time 130.
The most-used-words list ignores case and treats each CJK character as its own word. Your text stays in this browser's local storage so it survives a reload, and it is never uploaded.
Frequently asked questions
- Do spaces count as characters?
- In the main Characters count, yes: spaces, tabs and line breaks are all included. The No spaces count removes every kind of whitespace, which is what some essay and form limits ask for.
- Why does an emoji count as two characters?
- Most emoji sit outside Unicode's Basic Multilingual Plane, so JavaScript and HTML store them as two UTF-16 code units. A limit enforced by a web form usually counts them that way. The Graphemes count shows them as one.
- How do I count words in Chinese or Japanese text?
- Use the CJK characters count. Because these languages have no spaces between words, the standard word count only sees whitespace-separated runs, while counting characters is the usual way to measure their length.