Text & Regex
Character Counter
Paste or type text to instantly count characters, words, lines, UTF-8 bytes, Unicode code points and grapheme clusters. Everything runs in your browser — your text never leaves the page.
Your text
Counts update as you type and nothing is uploaded. Paste a tweet, a description or a whole document.
Counts
0 characters- Words
- 0
- Lines
- 0
- Characters (no spaces)
- 0
- Sentences
- 0
- Paragraphs
- 0
- UTF-8 bytes
- 0
- Unicode code points
- 0
- Grapheme clusters
- 0
How the counts differ
Characters counts UTF-16 code units, the value reported by most
editors and text fields. Unicode code points counts each Unicode
scalar value, so an emoji outside the basic plane counts once instead of twice.
Grapheme clusters counts what a reader perceives as a single
character, so combining accents and emoji sequences such as a family stay together.
UTF-8 bytes is the size on disk or over the wire. Words are
whitespace-separated tokens, lines are separated by \n,
\r\n or \r, and paragraphs are blocks separated by a blank line.
Practical uses
Count characters, words, lines, sentences, UTF-8 bytes, and grapheme clusters.
Common ways to use it
- Check that a meta description fits within a character limit.
- Count words for an abstract or short bio with a word budget.
Counts for a short phrase
Input
Hello world
Output
11 characters 2 words 11 UTF-8 bytes
Verified with the tool's analysis function.
Things to keep in mind
- Character limits can be measured in code points, UTF-8 bytes, or grapheme clusters; choose the one your limit uses.