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.
| Characters | 0 |
|---|---|
| Characters without spaces | 0 |
| Words | 0 |
| Lines | 0 |
| Sentences | 0 |
| Paragraphs | 0 |
| UTF-8 bytes | 0 |
| Unicode code points | 0 |
| UTF-16 code units (JavaScript length) | 0 |
| Reading time | 0 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
- Type or paste text.
- 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
VARCHARlimits 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.