Last updated
Common Use Cases
- Decoding hex dumps from Wireshark, tcpdump, or hex editors
- Reading binary data stored in database columns
- Debugging network protocols that transmit text as hex
- Converting escape sequences in source code
- Verifying UTF-8 encoding of international text
- Analyzing firmware strings in embedded system memory dumps
- Encoding text for use in binary file formats or protocols
Examples
Example 1: Basic Hex to Text
Input (hex): 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21
Output (text): Hello, World!
Input (hex): 54 65 63 68 43 6F 6E 76 65 72 74 65 72
Output (text): TechConverter
Input (hex): 4A 61 76 61 53 63 72 69 70 74
Output (text): JavaScript
Example 2: Text to Hex
Input (text): Hello, World!
Output (hex): 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21
Input (text): The quick brown fox
Output (hex): 54 68 65 20 71 75 69 63 6B 20 62 72 6F 77 6E 20 66 6F 78
Input (text): {"key": "value"}
Output (hex): 7B 22 6B 65 79 22 3A 20 22 76 61 6C 75 65 22 7D
Example 3: Supported Input Formats
All these formats decode to "Hello":
Space-separated: 48 65 6C 6C 6F
Continuous string: 48656C6C6F
With 0x prefix: 0x48 0x65 0x6C 0x6C 0x6F
Backslash-x escape: \x48\x65\x6C\x6C\x6F
Uppercase: 48 65 6C 6C 6F
Lowercase: 48 65 6c 6c 6f
Comma-separated: 48,65,6C,6C,6F