Text ↔ Hexadecimal Converter
Convert text to hexadecimal byte representation and decode hex back to text in real-time.
Text
Hexadecimal
💡 Definition
Hexadecimal Encoding
- Hexadecimal (base 16) uses digits 0-9 and letters A-F to represent values.
- Each byte of text is shown as two hex digits.
- For example, 'A' (ASCII 65) is '41' in hex.
- Hex is more compact than binary and widely used in computing.
📖 How to use
Step by Step
- Type or paste text in the left panel
- Hex representation appears on the right (space-separated)
- Paste hex bytes on the right to decode back to text
- Choose space, colon, or no separator
🎯 Use cases
When to use
- Inspecting raw data in network tools
- Color code reference (hex values)
- Debugging character encoding issues
- Generating hex dumps of text
Frequently Asked Questions
What is hexadecimal?▾
Hexadecimal is base-16 numbering using digits 0-9 and letters A-F. One hex digit represents 4 bits, so two hex digits represent one byte (0-255). It's more readable than binary for byte-level data.
What's the 0x prefix?▾
The '0x' prefix is a convention in programming to indicate a hexadecimal number (e.g., 0x41 = 65 decimal = letter 'A'). This tool omits the prefix for cleaner output.