String Length Checker

Check the exact length of a string including Unicode characters, bytes, and graphemes.

Your text stays in your browser. We don't upload or store your data.

How to Use

  1. 1Enter or paste text.
  2. 2View length statistics instantly.

What is String Length Checker?

String Length Checker shows multiple length measurements for a string, including Unicode-aware grapheme count, code points, and UTF-8 byte length.

Key Features

  • Grapheme count (Intl.Segmenter)
  • Code point count
  • UTF-8 byte length
  • Word and line count
  • 100% client-side

FAQ

Why are there different length values?
JavaScript string.length counts UTF-16 code units. Graphemes count visible characters. Code points count Unicode scalar values. Bytes count UTF-8 encoded size.
Which count should I use?
For user-visible text, use graphemes. For storage, use bytes. For programming, code points are often most useful.

Related Tools