FREE WEB TOOL

Text / line counter

Count characters, spaces, word-like segments, lines, paragraphs, UTF-8 bytes, and Unicode code points in real time, with optional filters and local snapshots.

Use tool

Your input is processed in your browser and is not sent to our server.

How to use this tool

Count characters, spaces, word-like segments, lines, paragraphs, UTF-8 bytes, and Unicode code points in real time, with optional filters and local snapshots.

  1. Set Text.
  2. Compare the result with your source data and return to the input to make corrections.

Input and settings example

Hello world → 11 characters, 10 without whitespace, 1 line, 2 words.

Words are whitespace-separated groups, not Japanese morphological tokens. Combined emoji sequences can count as multiple characters.

What to know before using it

One visible character can contain multiple Unicode code points or multiple UTF-8 bytes. Compare characters, whitespace-stripped count, code points and byte size instead of assuming one metric.

Common failure points

  • Emoji and combining sequences can differ from JavaScript string length.
  • Word count is a whitespace-oriented estimate, not Japanese morphological analysis.
  • Platforms may define their own counting rules.

Practical example

If an API limit is 1,000 UTF-8 bytes, use the byte count rather than visible characters.