Skip to content
Zesona
Word CounterLocal

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

Runs in your browser

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. 1

    Paste or type your text. Counts update as you go.

  2. 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. 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.

Other tools you might reach for next.

Count characters three ways - UTF-16 code units, Unicode code points and visible grapheme clusters - plus the UTF-8 byte size.

BrowserText tools

Count sentences using Unicode sentence segmentation, which handles abbreviations better than splitting on full stops.

BrowserText tools

Count paragraphs, treating one or more blank lines as the separator, plus words, sentences and lines.

BrowserText tools

Convert text between every common case style - upper, lower, title, sentence, camel, Pascal, snake, kebab and more.

BrowserText tools