Hex
Convert between text and hexadecimal representation. View hex dumps and decode hex strings back to readable text.
Mode
Text to Hex
Hex to Text
Accepts: plain hex, spaced, 0x prefixed, or \x format
Result
Statistics:
Hex Dump View
About Hexadecimal Encoding
Hexadecimal (base-16) is a numeral system that uses 16 distinct symbols (0-9 and A-F) to represent values. Each hex digit represents four binary digits (bits), making it a convenient way to represent binary data.
Common Uses
- Color Codes: #FF0000 for red
- Memory Addresses: 0x7FFF
- Binary Data: File inspection and debugging
- Character Codes: ASCII/Unicode values
Format Examples
- Plain: 48656c6c6f
- Spaced: 48 65 6c 6c 6f
- 0x Prefix: 0x48 0x65 0x6c
- Escape: \x48\x65\x6c
Conversion: Each character is converted to its ASCII/Unicode value, then represented in base-16. For example, 'A' (ASCII 65) becomes '41' in hex.
Feedback
Help us improve this page by providing feedback:
Sending...
Feedback sent. Thank you!
Error occurred!