String Inspector

Count characters, words, lines, UTF-8 bytes and UTF-16 code units, and inspect every Unicode code point of a string. Free online character counter.

About this tool

Count characters, words, lines and bytes, and inspect each Unicode code point with its UTF-8 bytes. Characters are counted as users see them, so emoji with modifiers count as one.

How to use

  1. Type or paste text.
  2. Read the counts in Statistics.
  3. Scroll the code point breakdown to find hidden or unusual characters.

Frequently asked questions

Why do character and code point counts differ?

Some visible characters are made of several code points, such as 👍🏽 (thumbs up plus skin tone).

What is the UTF-16 length?

The value of JavaScript's string.length, which counts most emoji as 2.

How can I find invisible characters?

The breakdown lists every code point, so zero-width spaces (U+200B) and similar characters are easy to spot.

Related tools