with spaces no spaces
Characters 0 0
Bytes 0 0
Words 0
Lines 0
Paragraphs 0
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.