Word and character counter

Count characters, words, lines, sentences and UTF-8 bytes as you type.

Runs in your browser. Your input is not uploaded.

Characters0
Characters without spaces0
Words0
Lines0
Sentences0
Paragraphs0
UTF-8 bytes0
Unicode code points0
UTF-16 code units (JavaScript length)0
Reading time0 min

What it does

Character counts differ depending on what is counted. This tool shows several: user-perceived characters (an emoji with a skin tone is one), Unicode code points, UTF-8 bytes, words, lines and sentences.

Word and sentence boundaries come from the browser’s Intl.Segmenter, so they work for languages that do not use spaces.

How to use it

  1. Type or paste text.
  2. Read the counts. They update as you type.

Things to watch for

  • Database column limits are often in bytes or UTF-16 code units, not characters. Check the byte count for VARCHAR limits in MySQL with older character sets.
  • Twitter/X and SMS counting rules are different again; this tool does not apply them.

Questions

Why is the byte count larger than the character count?
UTF-8 uses one byte for ASCII and two to four for other characters. é is two bytes and most emoji are four.
How is reading time worked out?
Words divided by 238 words per minute, a commonly used average for adults reading silently.
Does it count spaces?
Characters includes spaces. Characters without spaces is shown separately.
Is my text sent anywhere?
No. Counting happens in the page as you type.