Hex String Encoder / Decoder
Convert text to hex string and hex string back to text. Supports uppercase/lowercase and multiple separators.
Frequently Asked Questions
What is a hex string?
A hex string is a text representation of binary data using hexadecimal (base-16) notation. Each byte of data is represented by two hex digits (00–FF). For example, the ASCII character 'A' is represented as '41' in hex.
Why use hex encoding?
Hex encoding is widely used for debugging, network analysis, low-level programming, and representing binary data in a human-readable format. It's commonly seen in memory dumps, color codes, MAC addresses, and cryptographic hashes.
What separators can I use?
Common separators include spaces (48 65 6C 6C 6F), colons (48:65:6C:6C:6F), and no separator (48656C6C6F). Colons are typical for MAC addresses, spaces for readability, and no separator for compact representation.
What is the difference between uppercase and lowercase hex?
There is no functional difference — '4A' and '4a' represent the same byte value. Uppercase is traditional in many contexts (e.g., MAC addresses, memory dumps), while lowercase is common in web colors and programming.