Text to Hex
Hex to Text
What is Hexadecimal?
Hexadecimal (base-16) is a numeral system that uses 16 symbols: 0-9 and A-F. Each hex digit represents 4 bits, making it a convenient shorthand for binary data. Two hex digits represent one byte (0-255).
Text to Hex Conversion
Each character is converted to its ASCII/UTF-8 byte value, then expressed in hexadecimal. For example, 'A' = 65 decimal = 41 hex, 'a' = 97 decimal = 61 hex.
- Commonly used in programming and debugging
- Color codes in CSS (#FF0000 = red)
- Memory addresses and byte inspection
- Network packet analysis