Text Counter

Instant counts for characters (with/without spaces), UTF-8 bytes, words, and lines. Everything runs locally in your browser.

0
chars
0
chars (no spaces)
0
bytes (UTF-8)
0
words
0
lines

Input

Tip: Counts update as you type. Lines follow newline characters.
Notes: "Chars (no spaces)" removes all whitespace characters (spaces, tabs, and newlines). Word count uses whitespace separation.

FAQ

Why are bytes different from character count?

UTF-8 uses variable-length encoding, so some characters consume multiple bytes.

How are words counted?

This tool uses whitespace separation for a practical word-count estimate.

Related tools

JSON Formatter · Base64 / URL Encode·Decode