UTF-8 Hex
Show the UTF-8 bytes of any text as hex, with spaces, as one string, as 0xHH, or as C \xHH escapes.
Show the UTF-8 bytes of any text as hex, with spaces, as one string, as 0xHH, or as C \xHH escapes.
UTF-8 stores each character as 1 to 4 bytes. This page shows those bytes in the hex spellings used in editors, C code and dumps.
ASCII letters are one byte. Characters such as Ж, 한 and emoji take two, three or four UTF-8 bytes.
Both are the byte 0x48. \x48 is the way C and similar languages write that byte inside a string.