Hex Encode
Convert text or data to hexadecimal representation — each character as its UTF-8 byte hex values.
About Hex Encoding
Hexadecimal (hex) encoding represents binary data as a string of hexadecimal digits (0–9, A–F), where each pair of hex digits represents one byte of data. For example, the letter 'A' is ASCII 65 decimal, which is 0x41 in hex. The word "Hello" encodes to "48 65 6C 6C 6F" in hex.
Hex encoding is ubiquitous in programming and computer science: cryptographic hash outputs (MD5, SHA, etc.) are displayed in hex, MAC addresses use hex notation (AA:BB:CC:DD:EE:FF), color values in CSS are hex (#FF5733), memory addresses in debuggers are hex, and network packet dumps (Wireshark, tcpdump) show data in hex.
This encoder converts each character to its UTF-8 byte representation in hexadecimal. For ASCII characters (0–127), this is simply the ASCII code in hex. For multi-byte UTF-8 characters (like emojis and non-Latin scripts), each byte is encoded separately, producing 2–4 hex pairs per character.