Developer Playground
Byte Counter (UTF-8)
You can check the length and UTF-8 byte size of the entered string.
String Input
Results
Length (number of characters):0
Byte Size (UTF-8):0
About UTF-8 Byte Counting
UTF-8 is a variable-width character encoding that uses between 1 and 4 bytes per character. ASCII characters (0-127) use 1 byte, while other characters may use 2-4 bytes depending on their Unicode code point.
Advertisement