Unicode to UTF-8 Converter
Convert Unicode text to UTF-8 hex byte sequences. See each character's byte representation with customizable formatting.
Paste any Unicode text — Chinese, emoji, accented Latin — and watch the exact UTF-8 byte sequence each character turns into. Toggle the 0x prefix, swap separators, or group bytes per character so you can see where a 3-byte kanji ends and a 4-byte emoji begins. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter Unicode text in the left panel — any language, emoji, or special characters.
Configure format — toggle 0x prefix, space separation, or group bytes by character.
View the UTF-8 bytes in the output panel, auto-updating in live mode.
Copy or download the result using the toolbar buttons.
Frequently Asked Questions
What is UTF-8?
UTF-8 is a variable-width character encoding that uses 1 to 4 bytes per character. ASCII characters (0-127) use 1 byte, making UTF-8 backward-compatible with ASCII. It is the dominant encoding on the web, used by over 98% of websites.
How many bytes does each character use?
ASCII characters (U+0000 to U+007F) use 1 byte. Latin, Greek, Cyrillic, and other scripts (U+0080 to U+07FF) use 2 bytes. Most CJK characters and common symbols (U+0800 to U+FFFF) use 3 bytes. Emoji and rare scripts (U+10000 to U+10FFFF) use 4 bytes.
What does "Group by character" do?
When enabled, the bytes for each Unicode character are grouped together on separate lines, showing the original character alongside its UTF-8 byte representation. This makes it easy to see exactly which bytes correspond to which character.
Is UTF-8 the same as Unicode?
No. Unicode is a character set — a mapping from numbers (code points) to characters. UTF-8 is one of several encodings (along with UTF-16 and UTF-32) that define how those code points are stored as bytes. UTF-8 is the most widely used Unicode encoding.
Is my data safe?
Yes. All processing happens in your browser using JavaScript. No data is sent to any server.