Skip to main content

UTF-8 Byte Counter

Count the UTF-8 byte length of pasted text as you type. Text stays in your browser and is limited to 100,000 UTF-16 code units; unpaired surrogates count as U+FFFD.

UTF-8 uses one to four bytes per code point. Unpaired surrogates are encoded as U+FFFD. Maximum: 100,000 UTF-16 code units.

Byte count

Enter text to see its UTF-8 byte length.

Was this tool helpful?