Text tool

Character Counter

Review clearly defined text statistics without uploading your content.

In-browser processingNo account requiredPrivacy details ↗

Paste text to see counts.

Characters are Unicode code points; UTF-16 code units use text.length; words use Unicode whitespace; whitespace uses Unicode White_Space; ASCII spaces count only U+0020; lines use LF, CRLF, or CR. Up to 100,000 UTF-16 code units. Local only.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste up to 100,000 UTF-16 code units.
  2. Review Unicode code-point, UTF-16 code-unit, word, and line counts.
  3. Compare Unicode whitespace, ASCII space, and non-whitespace character counts.

Counting definitions

Characters are Unicode code points. UTF-16 code units use JavaScript text.length. Words are non-empty sequences separated by Unicode whitespace. Lines are separated by LF, CRLF, or CR; empty input has 0 lines and non-empty input has at least 1 line. Whitespace follows the Unicode White_Space property. ASCII spaces are counted separately and include only literal U+0020 spaces.

GOOD TO KNOW

Common questions

Are spaces included in the character count?

Yes. Total characters include whitespace and punctuation; non-whitespace characters exclude Unicode whitespace. The separate ASCII spaces metric counts only U+0020.

Is my text uploaded?

No. Counting runs locally in this browser.