Byte Counter
Count the UTF-8 bytes, characters and UTF-16 size of a piece of text, so you can check it against a storage or field size limit. The counts update as you type.
1 Paste or type your text
2 Your answer
Your answer shows here as you type.
How to use the Byte Counter
- Paste or type your text into the box.
- Read the UTF-8 byte count, which is the size most websites and databases use.
- Compare the characters and UTF-16 figures if your limit is counted differently.
Frequently asked questions
How many bytes is one character?
In UTF-8, plain English letters, digits and punctuation take 1 byte each. Accented Latin letters such as é take 2 bytes, most other scripts such as Chinese take 3 bytes, and most emoji take 4 bytes.
Why is the byte count bigger than the character count?
Characters outside basic ASCII need more than one byte in UTF-8, so the byte total grows with every accented letter, symbol or emoji.
What is UTF-16 and why does it count differently?
UTF-16 is the encoding JavaScript uses internally. Each common character takes 2 bytes, and characters such as most emoji take 4 bytes as a pair of 2-byte units.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.