Convert any text string to its hexadecimal representation and decode hex back to readable text. Supports UTF-8 encoding. Choose separators (space, colon, 0x prefix, or none) and case formatting. Everything runs in your browser โ no data is sent to any server.
Hexadecimal (base-16) is the standard representation for binary data in computing. Every byte is shown as two hex digits (00-FF), making it readable for developers while maintaining a direct relationship to the underlying binary. This converter translates text to its hexadecimal byte representation and vice versa. Essential for debugging network protocols, analyzing file headers, working with color codes, examining encoded data, and understanding character encodings. When you see '48 65 6C 6C 6F' in a hex dump, that's 'Hello' in ASCII. UTF-8 encoded characters may use multiple bytes โ the tool handles all Unicode correctly.
Hex is compact: one hex digit represents exactly 4 bits, so one byte is always 2 hex digits. Binary for the same byte would be 8 digits. Hex is also easier to read and remember than long binary strings while maintaining a direct bit-level correspondence.
Default is UTF-8, the dominant text encoding on the web. ASCII characters (A-Z, 0-9, basic symbols) use one byte. Extended characters use 2-4 bytes in UTF-8 โ รฉ is C3 A9, ๐ is F0 9F 98 80.
Colors like #FF5733 are three hex bytes: FF (255) red, 57 (87) green, 33 (51) blue. Each color channel ranges from 00 (0) to FF (255). This converter works with text, but the hex format is the same.
Hex encoding converts all bytes to hex pairs. A hex dump (like xxd or hexdump) shows hex values alongside printable ASCII characters, offset addresses, and is formatted for binary file analysis. This tool does hex encoding.
Yes โ enter hex values (with or without spaces, 0x prefixes, or separators) and decode back to text. The tool auto-detects common hex formats: '48656C6C6F', '48 65 6C 6C 6F', '0x48 0x65'.