UTF-8 Byte Counter
Count UTF-8 bytes vs characters — essential for DB column and API limits.
–Characters
–UTF-8 bytes
–UTF-16 code units
–Avg bytes/char
–1-byte chars
–4-byte chars (emoji)
How to use
Paste text and click Count for the full byte breakdown. Everything runs in your browser.
Frequently asked questions
Why do bytes and chars differ?
ASCII is 1 byte per char, but é is 2 bytes and 😀 is 4 bytes in UTF-8.
When does this matter?
VARCHAR(255) in MySQL counts bytes in utf8mb4, and many APIs limit payloads by bytes.
☕
ToolZap is free forever
Every tool runs 100% in your browser — no uploads, no signups. If a tool saved you time, consider supporting us with a small donation.
💛 Donate via PayPal