Text Input

0 / 1,000,000

Results

0Characters
0Without spaces
0Words
0Sentences
0Lines

Example

Load sample text to see how the counts are calculated.

Characters are counted as UTF-16 code units

The character count and 1,000,000-character input limit use JavaScript's UTF-16 code units. One visible character does not always equal one unit: 가 and A each count as 1, 😀 as 2, and the joined emoji 👩‍💻 as 5. An e followed by a combining accent, displayed as é, counts as 2.

The count without spaces removes tabs, line breaks, and other JavaScript whitespace as well as ordinary spaces. Blank lines count as lines. The browser normalizes pasted CRLF and CR line endings to LF in the text area.

Compare all five counts

Line breaks contribute to the character count in this example. Words are whitespace-separated chunks, not language-aware tokens. Sentence counts use ending punctuation, so abbreviations and decimal numbers can be split too often.

Input (two lines):
가 A.
Hi!

Characters: 8
Without spaces: 6
Words: 3
Sentences: 2
Lines: 2

Check the destination's counting rule

Use the measure required by the assignment or form, including whether spaces count. A system that counts visible characters or UTF-8 bytes can disagree with these results. This tool does not calculate reading time or byte size.

Counting reference

ECMAScript: string length and UTF-16 code units

Frequently Asked Questions

Does word counting send my draft anywhere?

No. All counting happens in your browser, and your text is not sent to or stored on the server.

How are words and sentences counted?

Words are counted from whitespace-separated text, and sentences are counted using common sentence-ending punctuation.