UTF-8 Byte Counter & Memory Inspector
Count total bytes, Unicode code points, grapheme clusters, words, and lines with full 1/2/3/4-byte breakdown.
🔒 Runs in your browser. Your input is never uploaded.
56
Total Bytes
53
Code Points
53
Graphemes (Glyphs)
8
Words
2
Lines
UTF-8 Sequence Breakdown(Character lengths in memory)
1-Byte ASCII (0-127):52
2-Byte Latin/Greek/Heb:0
3-Byte CJK / Symbols:0
4-Byte Emojis / Astral:1
How it works
Measures exact UTF-8 memory footprint using TextEncoder.encode() and Intl.Segmenter for true grapheme cluster segmentation.
Zero Telemetry: You can verify this utility's client-only execution anytime by opening your browser's Developer Tools (Network tab). No keystrokes, payloads, or clipboard contents leave your device.
Frequently asked questions
Why does character count differ from byte count?
ASCII characters occupy 1 byte, while accented letters, Cyrillic, Greek, Arabic, and emojis occupy 2 to 4 bytes in UTF-8.
What is a grapheme cluster?
A grapheme cluster is what a human perceives as a single character, even when composed of multiple code points (like skin tone emojis or compound ligatures).