Byte vs Character Length Checker
Character count and UTF-8 byte length aren't always the same — useful for database column limits, SMS, and API fields that count bytes.
Advertisement
About this tool
Plain ASCII characters are 1 byte each in UTF-8, but accented letters, most non-Latin scripts and emoji take 2–4 bytes each — so a string that "looks" short can still be too long for a system with a byte-based limit. Code points count each character once even when JavaScript's raw length would split some emoji into two units.
- Why would I need byte length instead of character count?
- Many database columns, SMS gateways and older APIs enforce limits in bytes, not characters — this shows you both so you know which one applies.