Life Calculator
Understand the numbers · Make life easier

Word and character counter

Count visible characters, Han characters and Latin words in text locally.

Start with your own numbers

Editable example

An example is filled in. Replace it with your own data to calculate.

Paste text to count; the non-whitespace count includes punctuation and emoji.

Loading calculator…

Paste up to 50,000 UTF-16 code units. Do not paste secrets; saving a plan stores the text locally.

Results update when inputs are complete. A plan is kept only when you save it. Inputs and results are not uploaded.

Saved plans →

Saved in this browser. Before changing devices, export a backup from My tools.

Example result

Visible characters excluding whitespace

11characters

Text is saved in this browser and backups only if you save a plan. Do not paste secrets.

Visible characters including whitespace12 characters
Han characters0 characters
Latin words2 words

Worked steps

  1. Count grapheme clusters; combining marks and some emoji contain several code units.
  2. The non-whitespace count excludes spaces, line breaks and other Unicode whitespace; punctuation remains.
  3. Latin letters form words; internal apostrophes and hyphens can join them. Numbers are not Latin words.

Text is processed in this browser; neither the text nor usage events are sent. A saved plan is stored locally and includes text in exported backups; do not paste secrets. Visible characters are Unicode grapheme clusters. The inclusive count includes spaces and line breaks; the non-whitespace count excludes Unicode whitespace but includes punctuation and emoji. Han characters are counted by grapheme cluster. Latin words contain letters, with internal apostrophes or hyphens joining words; digits and other scripts are not Latin words. Software may use different definitions. The limit is 50,000 UTF-16 code units. This does not segment Chinese words or predict speech time.

Method and scope

The counter uses Unicode grapheme clusters; the non-whitespace total still includes punctuation and emoji.

Latin words are letter sequences with internal apostrophes or hyphens; digits and other scripts are excluded. Software may count differently.

Text stays in the browser unless you save a plan, in which case it is included in local storage and backups.

References:Unicode: text segmentation

Purpose

Count visible text characters and Latin words using explicit rules rather than assuming all software counts alike.

Inputs

Paste up to 50,000 UTF-16 code units. Empty text produces zero; only save a plan if local storage and backup are appropriate.

Formula

Count Unicode grapheme clusters and exclude whitespace for the second total; Latin letter sequences form words.

Example

The text “Hi all” has 6 visible characters including the space, 5 excluding it, 0 Han characters and 2 Latin words.

Reading the result

The non-whitespace total includes punctuation, numbers and emoji. Han characters and Latin words are separate measures.

Limits

Different software may count differently. Text is not transmitted, but saved plans and exported backups contain it.

Keep it handy for next time

Add Word and character counter to your home screen

This icon opens this tool. Confirm installation in your browser.

  1. iPhone: Open in Safari, tap Share → Add to Home Screen, then confirm.
  2. Android: Open in Chrome and choose Install app or Add to Home screen from the menu.
  3. In an in-app browser such as LINE or Facebook, use its menu to open the page in Safari or Chrome first.

Browser options vary. A shortcut does not provide cross-device synchronization, and an installed app may have separate storage. Export a backup from My tools first. The first load requires a connection.

Checking offline data.