Practical guide
Text Character, Word, and Line Counter
Use the counter to check a form limit, caption length, draft size, or the rough number of words and lines in pasted text. The result appears only after you select Run, which makes it easy to edit before recounting.
How to use it
- Paste or type the text into the input area.
- Select Run or press Ctrl/Command + Enter.
- Read the character, word, and line totals; use Copy if you need the summary elsewhere.
Worked example
- Input
Hello world
Again- Result
- Characters: 17 · Words: 3 · Lines: 2
How the result is produced
Characters are counted as JavaScript Unicode code points, words are groups separated by whitespace, and lines are separated by newline characters.
The original text is processed in the page. It may be retained in local storage on this browser for convenience.
Important limits
- A visible emoji sequence can contain multiple code points and may count as more than one character.
- Word counts for Chinese, Japanese, Thai, and other text without spaces are not linguistic word segmentation.
- Publisher-specific rules for spaces, HTML, hashtags, or byte length can produce different totals.
Questions and answers
Are spaces included in the character count?
Yes. Spaces and newline characters are part of the character total.
Why does another editor show a different word count?
Editors use different rules for punctuation, hyphens, emoji, and languages without spaces. This tool uses a transparent whitespace rule.