Inspect characters, UTF-8 bytes, words, lines, and paragraphs in real time to keep copy within any limit.

with spaces no spaces
Characters 0 0
Bytes 0 0
Words 0
Lines 0
Paragraphs 0

Input, output, limits

Free-form text. Characters, UTF-8 bytes, words, lines, and paragraphs are counted in this browser. Nothing is uploaded.

Example

One Hangul syllable is usually 3 UTF-8 bytes. The table shows lengths with and without whitespace.

Metric Reference

  • Characters (with spaces): String length including whitespace
  • Characters (no spaces): Length after removing whitespace
  • Bytes (with spaces): Total bytes using UTF-8 encoding
  • Bytes (no spaces): UTF-8 bytes without whitespace
  • Words: Whitespace-separated tokens
  • Lines: Line breaks counted as lines
  • Paragraphs: Blocks separated by blank lines

Counting rules

  • Uses TextEncoder to match UTF-8 byte counts from production systems.
  • Whitespace-free counts strip spaces, tabs, and line breaks.
  • Word count treats consecutive whitespace as a single delimiter.
  • Paragraphs are non-empty blocks divided by blank lines (>= 2 line breaks).
  • Windows line endings (\r\n) are normalized to \n first.

FAQ

Which encoding for bytes?
UTF-8, via TextEncoder.
Is text uploaded?
No. It is processed in this tab only.
How are words counted?
Whitespace tokens. Digits and symbols count as words too.