Checking the length of a draft
Confirm the Chinese character, English word and paragraph counts quickly without uploading the document.
Guide
Word count analyses the input text immediately in the browser and reports characters (including spaces), characters (excluding whitespace), Chinese characters, English words, digit runs, punctuation/symbols, lines and paragraphs, and it lists a Top 20 word frequency table. Characters are counted by Unicode code point rather than by UTF-16 code unit, so a common emoji is not simply split into two characters.
Updated 2026-09-102 min read
| Input | Output | Note |
|---|---|---|
你好 hello hello 42 |
2 Chinese, 2 English words, 1 number | numbers are counted as digit runs |
A\nB\n |
3 lines | non-empty text is split on \n, and a trailing newline forms a final empty line |
| two paragraphs with one blank line between them | 2 paragraphs | paragraphs are separated by blank lines |
Array.from() by Unicode code point; combined graphemes (such as some emoji sequences, or a letter plus a combining accent) can still be made of several code points.\s, not only ordinary ASCII spaces.\n; browser text inputs normally normalise CRLF to LF already, and the tool does not count CR characters separately.Intl.Segmenter('zh') and falls back to a regular expression when the browser does not support it, so Chinese segmentation results may differ.Confirm the Chinese character, English word and paragraph counts quickly without uploading the document.
Use the Top 20 to see which words are repeated too often in your copy, then adjust them back in the editor.
The tool counts Unicode code points, not user-perceived grapheme clusters; a flag, skin-tone or ligature emoji built from several code points may count as more than one character.
The implementation returns 0 lines specifically for a completely empty string; as long as the text is not empty, the line count comes from splitting on \n.
Input text and file contents are read and counted only locally in the browser and are not sent to a server; this tool itself does not persist the input.
Updated 2026-09-10
Characters, CJK characters, words, punctuation, lines and paragraphs in detail, plus a top-20 word frequency list
Chinese words use the browser's segmenter; English words are case-insensitive.