Apps / Text & Developer Tools / String Length & UTF-8 Byte Counter

πŸ“ String Length & UTF-8 Byte Counter

Three different "lengths" for the same text β€” character count, UTF-16 code units (what JavaScript's .length gives you) and UTF-8 bytes (what a file or network payload actually costs) β€” updated live as you type.

1. Text

Characters (code points)
0
UTF-16 code units (JS .length)
0
UTF-8 bytes
0

2. Why these numbers can differ

Type something above to see a live explanation here.