UTF-8 Byte Counter cover

UTF-8 Byte Counter

Count UTF-8 bytes vs characters — essential for DB column and API limits.

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.

Related tools

ASCII Art Text BannerASCII Code TableBase32 Encoder / DecoderBase64 Encode DecodeBase64URL EncoderBcrypt Cost Estimator