Byte Size Calculator
- UTF-8
- 0 B
- UTF-16
- 0 B
- Characters
- 0
Calculate how many bytes your text uses in UTF-8 and UTF-16 encoding. Essential for storage and API limits.
1-4 bytes per character
Variable width: ASCII=1 byte, most chars=2-3 bytes, emojis=4 bytes
2-4 bytes per character
Most characters=2 bytes, supplementary chars=4 bytes (surrogate pairs)
Text
Hello
Characters
5
UTF-8 Calculation
Calculate UTF-8 byte size
UTF-16 Calculation
Text: Hello 😀
UTF-8
9 bytes (5 + 4 for emoji)
UTF-16
12 bytes (6 × 2)
Text: Café
UTF-8
5 bytes (é = 2 bytes)
UTF-16
8 bytes (4 × 2)
Byte size depends on encoding. UTF-8 is variable-width (1-4 bytes), UTF-16 is mostly 2 bytes per character.
ASCII characters are 1 byte in UTF-8. International characters and emojis use more bytes (2-4 bytes).
Calculate byte size instantly as you type. Shows UTF-8, UTF-16, and character count simultaneously.
Essential for understanding API payload limits, database storage requirements, and data transmission sizes.
Find answers to common questions about text byte size calculation.