UTF-8 Byte Counter
Count UTF-8 bytes and compare them with visible characters, Unicode code points, and UTF-16 code units.
Counting runs only in this browser. Text is not uploaded.
Input size: 0 B.
Advanced metrics and definitions
Visible characters use grapheme clusters. A grapheme can contain several code points; a code point can use two UTF-16 code units; and UTF-8 may use several bytes. “Excluding spaces” removes only U+0020, while the separate whitespace metric removes Unicode whitespace.
UTF-8 examples
A = 1 byte; é = 2 bytes; 漢 = 3 bytes; 😀 = 4 bytes. This is text encoding size, not the final size of a DOCX, PDF, or other formatted file.