Online Word Counter (Characters, Words, Lines and Reading Time)

Type or paste text to see its size at a glance: characters with and without spaces, Latin words, CJK characters, lines, non-empty lines, paragraphs, sentences and an estimated reading time. Counting happens locally as you type, and nothing is uploaded.

Text statistics
Metric Value
Characters (including spaces) 0
Characters (excluding spaces and line breaks) 0
Words (English, split on spaces and punctuation) 0
CJK characters (Chinese and Japanese) 0
Lines 0
Non-empty lines 0
Paragraphs (separated by blank lines) 0
Sentences (rough count) 0
Estimated reading time about 0 min 0 s

Chinese and Japanese are written without spaces between words, so they are not split with the English rule; their characters are reported on the CJK line instead. Characters are counted by Unicode code points, so a single emoji counts as one character.

About this tool

Counting text matters whenever there is a limit: an abstract capped at 250 words, a post limited to 140 characters, a product description that has to fit on one screen, or a translation billed per character. Counting by hand is unreliable, especially once spaces, punctuation and line breaks are involved, so a counter that updates while you type removes the guesswork.

Chinese and English are measured differently. English is written with spaces between words, so a word count can split on spaces and punctuation. Chinese and Japanese are written without spaces, so splitting on spaces would report one enormous "word"; their length is measured in characters instead, which is exactly what the CJK line reports. A mixed text therefore shows a small Latin word count and a large CJK character count, and both are correct for their own script.

Reading time is estimated from length, not measured. This tool uses 300 Chinese characters or 200 English words per minute and adds the two shares together for mixed text. Those figures suit plain prose read at a comfortable pace; numbers, formulas, code, a foreign language and dense technical writing are all slower, so treat the result as a planning aid rather than a promise.

How to use

  1. Paste your text: type or paste it into the box, keeping line breaks and punctuation exactly as they should appear.
  2. Read the statistics: the table refreshes about 250 ms after you stop typing, showing characters with and without spaces, Latin words, CJK characters, lines, non-empty lines, paragraphs and sentences.
  3. Check the reading time: the last row adds the Chinese and English parts together; an empty box shows zeros instead of an error.
  4. Clear and start over: the Clear button empties the box and resets every metric to zero.
  5. Copy the numbers: Copy statistics puts the rendered table on the clipboard as label and value lines, ready to paste into a form or a document.

FAQ

Why does the word count stay at zero for Chinese text?

Because Chinese and Japanese are written without spaces between words, and this tool does not guess word boundaries. Splitting on spaces would report a Chinese paragraph as a single word, which is misleading, so the length of CJK text is reported in characters instead. The CJK character line therefore carries the real count for Chinese and Japanese text, while the word line counts only Latin-script tokens.

Do line breaks count as characters?

Yes, in the "including spaces" figure: every newline is one character. They are removed from the "excluding spaces and line breaks" figure together with spaces and tabs. Line breaks also drive the line and paragraph counts: the line count is the number of lines including the empty final line created by a trailing newline, non-empty lines ignore whitespace-only lines, and paragraphs are separated by one or more blank lines.

Is my text uploaded to a server?

No. Counting runs in your browser with plain JavaScript: no request is sent and nothing is written to storage or a cookie. As with any browser tool, extensions and clipboard managers can still read what you paste, so avoid pasting text you are not willing to expose.

How is the reading time calculated?

It is an estimate, not a measurement. The tool assumes 300 CJK characters per minute and 200 English words per minute, converts each share to time, adds them together for mixed text and rounds up to the next second. The result is then shown as minutes and seconds, prefixed with "about" because real reading speed varies with subject, difficulty and reader.

Can I count Markdown or HTML?

Yes, but the raw source is counted exactly as pasted. Markdown markers such as #, * and backticks, link URLs in parentheses and HTML tags all count as characters, and words inside a URL count as words. The tool does not render or strip markup, so for a count of the visible text remove the markup first, for example by pasting the rendered output.