ToolJovia
Text

Character Counter

Measure visible characters, Unicode code points, UTF-16 length, and UTF-8 bytes without uploading text.

✓ Browser-local processing

Loading tool…

How to use Character Counter

Different platforms measure text length in different ways. Compare visible graphemes with the code-point, JavaScript, and byte counts used by software limits.

  1. Enter the exact text you want to measure.
  2. Compare the visible-character total with the encoding totals.
  3. Use the count that matches the limit in your destination system.

Good to know

  • A grapheme is a user-perceived character: an emoji sequence or a letter plus combining accent can contain multiple code points.
  • Whitespace includes spaces, tabs, and line breaks. The byte count uses UTF-8 without a byte-order mark.

Compare visible characters with software length limits

Paste the exact string below: a lowercase e followed by a combining acute accent, then the woman technologist emoji. The browser displays two grapheme clusters, but the underlying sequence contains five Unicode code points. The emoji includes a joiner, and its non-BMP characters each occupy two UTF-16 units. Run the counter and choose the measurement your destination actually specifies. A database byte limit, a JavaScript string length check and an editorial character allowance can therefore reject different strings even when they look equally long.

Exact text, with a combining accent rather than a precomposed é

é👩‍💻

Expected counts

Characters (graphemes): 2
Characters excluding whitespace: 2
Unicode code points: 5
UTF-16 code units: 7
UTF-8 bytes: 14
Try this in the tool

Common questions

Why do emoji produce different totals?

A displayed emoji can combine several Unicode code points, and each code point may require more than one UTF-16 code unit or UTF-8 byte.

Which count is JavaScript string.length?

UTF-16 code units is the same measure as JavaScript string.length.

Keep going with related tools

All text →