UTF-8 to Bytes
Convert UTF-8 text to its raw byte values in decimal or hexadecimal.
Paste some text and see the exact byte sequence UTF-8 produces — handy when you're debugging an encoding bug or wondering why one emoji eats 4 bytes. Flip between decimal and hex depending on what your code or database wants. And everything runs in your browser. Nothing gets uploaded.
How It Works
The text is encoded to UTF-8 bytes using the TextEncoder API, then each byte is displayed in your chosen format. ASCII characters use 1 byte, while multi-byte characters (accented letters, CJK, emoji) use 2-4 bytes each.