UTF8 Encode
Encode text to its raw UTF-8 bytes, live as you type, shown as hex or decimal.
Encodes live as you type using TextEncoder, correctly handling multi-byte characters like emoji. Runs entirely in your browser.
Need the opposite? Use UTF8 Decode
What is UTF8 Encode?
Type text and see its exact UTF-8 byte representation, in hex or decimal — useful for understanding how multi-byte characters like emoji are actually stored, or debugging a byte-level encoding issue. Helpful when a string's byte length doesn't match its character count — a common source of confusion in APIs or storage limits that count bytes rather than characters. Encoding happens live as you type, entirely in your browser.
FAQ
Most emoji take 4 bytes in UTF-8, versus 1 byte for plain ASCII characters — you can see this directly in the byte count and output here.
Yes — use UTF8 Decode, which takes the same hex or decimal byte format and reverses the process.