Convert ASCII text to hexadecimal codes and vice versa. Essential tool for developers and programmers.
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to letters, digits, punctuation marks, and control characters.
| Decimal | Hex | Character | Description | Decimal | Hex | Character | Description |
|---|---|---|---|---|---|---|---|
| 32 | 20 | Space | Space | 80 | 50 | P | Uppercase P |
| 33 | 21 | ! | Exclamation mark | 81 | 51 | Q | Uppercase Q |
| 34 | 22 | " | Double quote | 82 | 52 | R | Uppercase R |
| 48 | 30 | 0 | Zero | 97 | 61 | a | Lowercase a |
| 49 | 31 | 1 | One | 98 | 62 | b | Lowercase b |
| 50 | 32 | 2 | Two | 99 | 63 | c | Lowercase c |
| 65 | 41 | A | Uppercase A | 120 | 78 | x | Lowercase x |
| 66 | 42 | B | Uppercase B | 121 | 79 | y | Lowercase y |
| 67 | 43 | C | Uppercase C | 122 | 7A | z | Lowercase z |
Note: Standard ASCII uses 7 bits and represents 128 characters (0-127). Extended ASCII uses 8 bits and represents 256 characters (0-255), but the upper range varies between different systems and languages.
ASCII to hexadecimal conversion is the process of translating ASCII text characters into their hexadecimal (base-16) numerical representation. Each ASCII character is represented by a unique hexadecimal code, making this conversion essential for low-level programming, digital communications, and data analysis.
Technical Note: Hexadecimal representation uses 16 symbols (0-9 and A-F) to represent values, where each byte (8 bits) is represented by two hexadecimal digits.
Choose between ASCII to Hex or Hex to ASCII conversion using the tabs.
For ASCII to Hex: Enter your text and adjust formatting options.
For Hex to ASCII: Enter hexadecimal values (spaces are allowed).
Click the convert button or let the real-time conversion do the work.
Copy your result using the copy button.
Hexadecimal (base-16) is a numerical system that uses 16 symbols: 0-9 to represent values 0-9, and A-F to represent values 10-15. It's widely used in computing because:
Technical Example: The ASCII character 'A' has a decimal value of 65. In binary, this is 01000001. In hexadecimal, this is represented as 41 (4×16 + 1 = 65).