PB
Available
text_fields
lock Free · Private · In-Browser

UTF-8 Byte Counter

Measure characters, UTF-8 bytes, words, and lines of any text.

Bytes, not just characters

Character count and byte count are not the same once text leaves plain ASCII: accented letters and emoji take several bytes each in UTF-8. Many limits — database fields, API payloads, SMS — are measured in bytes.

This counter reports characters alongside the exact UTF-8 byte length, plus word and line counts, so you can size text against whatever limit applies.

Exact and private

The measurement runs in your browser, so your text is never uploaded.

Frequently Asked Questions

Why do bytes differ from characters?

In UTF-8, plain ASCII takes one byte per character, but accented letters, emoji, and other symbols take two to four bytes each.

Where is a byte count useful?

For database column limits, API payload caps, SMS segments, and anywhere a field is measured in bytes rather than characters.

How are bytes measured?

With the browser’s text encoder, which produces the exact UTF-8 byte length.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward