Count characters three ways - UTF-16 code units, Unicode code points and visible grapheme clusters - plus the UTF-8 byte size.
Word Counter
Count words, characters, sentences, paragraphs and UTF-8 size, with all three definitions of "character" reported separately.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Processed entirely in your browser. Nothing is uploaded.
Word segmentation is language-dependent for scripts that do not use spaces.
Try an example
Fill in Your text to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste or type your text. Counts update as you go.
- 2
Check the full breakdown for the distinction that matters to you: social platforms and database columns usually count UTF-16 code units, while a human proofreader counts visible characters.
- 3
Set the language if your text uses a script without spaces, so words are segmented rather than counted as one block.
Questions about Word Counter
Why are there three different character counts?
Because "character" means three different things in software. UTF-16 code units are what String.length returns and what most input limits actually enforce. Unicode code points are the individual symbols including invisible joiners. Grapheme clusters are what a reader sees as one character. A family emoji is 1 grapheme, 7 code points and 11 code units - so a 280-character limit that counts code units lets you post far fewer emoji than letters.
How are words counted?
Using the browser’s Unicode segmenter, which applies the Unicode text segmentation rules. That means hyphenated and apostrophised words count as one, and scripts such as Chinese and Japanese that have no spaces are still segmented into words rather than counted as a single long token.
Does the UTF-8 size matter?
It does when you are filling a fixed byte column in a database or hitting an API payload limit. ASCII is one byte per character, most accented Latin and Greek letters are two, most CJK characters are three, and emoji are four.
Is my text uploaded anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your text, nothing is written to a server log, and the tool keeps working with your connection switched off. You can confirm it yourself in the browser’s network panel.
Does the Word Counter work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Word Counter keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Count sentences using Unicode sentence segmentation, which handles abbreviations better than splitting on full stops.
Count paragraphs, treating one or more blank lines as the separator, plus words, sentences and lines.
Estimate silent reading time from the word count, with the research-backed default rate stated and adjustable.
Estimate how long a script takes to say aloud, at presentation pace by default.
Count how often each word appears, with shares of the total and optional stop-word removal.
Convert text between every common case style - upper, lower, title, sentence, camel, Pascal, snake, kebab and more.
Convert text to uppercase with locale-aware rules, so German ß becomes SS and Turkish i becomes İ.