Character and byte counter

Count characters with or without spaces, words, lines and UTF-8 bytes. Set a target limit and choose LF or CRLF line endings.

Text is not saved or sent. Limit: 200,000 UTF-16 code units.

Including spaces
0 characters
Excluding spaces0 characters
UTF-8 bytes0B
Words0 items
lines0 lines
Target length · byte counting

500 remaining. (0 / 500)

Characters are counted as Unicode code points. The receiving site's counting rules may differ.

Suggest improvements

Emoji sequences and receiving-site rules can differ from code-point counts. Input is limited to 200,000 UTF-16 code units.

How to use Character and byte counter

Paste or type text to see counts immediately. Text stays in this browser and is not saved or uploaded.

More options sets a character or byte limit and chooses how line endings count. Characters are Unicode code points; words are whitespace-separated groups.

Example
The text Hello contains 5 characters and 5 UTF-8 bytes. A Korean syllable usually uses 3 UTF-8 bytes.

Frequently asked questions

Do spaces count?

Both totals are shown; the excluding-spaces count removes whitespace.

Why do byte counts differ?

Encoding and line-ending conventions affect byte length. This tool uses UTF-8.

Reviewed: 2026-10-04 · Report an issue