Locale-aware

Text counterIN · en-IN

A user-perceived character, Unicode code point, UTF-16 unit, and UTF-8 byte are not interchangeable. See each one separately.

Words
0
Grapheme clusters
0
Unicode code points
0
UTF-16 code units
0
Logical lines
0
UTF-8 bytes
0

Locale used: en-IN. Your text stays in this tab.

Ready.

How to use it

Inspect text for editor limits, data interchange, multilingual word counts, or byte-aware storage without calling every unit a character.

  1. Type or paste Unicode text.
  2. Read the live metrics and their definitions.
  3. Copy or download the complete summary when you need a record.

Worked example

Input
é😀
Output
4 UTF-16 units · 3 code points · 2 grapheme clusters · 7 UTF-8 bytes

The combining accent joins the letter into one grapheme; the emoji uses a surrogate pair in UTF-16.

Method and definitions

  • Intl.Segmenter supplies locale-aware word and extended-grapheme boundaries.
  • TextEncoder supplies the UTF-8 byte count.
  • CRLF is one line break; CR and LF are breaks; empty input has zero lines.

Limits and edge cases

  • Word boundaries are locale-tailored approximations and may differ from a publisher or social platform.
  • Reading time and platform-specific limits are intentionally not estimated.
  • The input limit is 2 MiB of UTF-8 text.

Privacy

Counting happens entirely in memory in this tab, with no upload and no automatic draft storage.