ASCII to Hex Converter
Convert text between ASCII and hexadecimal
What is This Tool?
Text and encoding converters transform data between different representation formats. ASCII-to-hex converts text to hexadecimal byte values, binary-to-decimal converts number bases, hex-to-RGB converts color codes, and Base64 handles binary-to-text encoding used in emails and web.
Formula
ASCII to Hex: each character -> its Unicode code point in base 16
Binary to Decimal: sum of (digit x 2^position)
Hex to RGB: #RRGGBB -> R,G,B decimal values (0-255)
Base64: 3 bytes -> 4 ASCII characters using A-Z, a-z, 0-9, +, /Worked Examples
1. ASCII to Hex
Given: Hello
H=48, e=65, l=6C, l=6C, o=6F
Result: 48 65 6C 6C 6F
2. Binary to Decimal
Given: 1010
1x8 + 0x4 + 1x2 + 0x1 = 10
Result: 10
3. Hex to RGB
Given: #FF5733
FF=255, 57=87, 33=51
Result: rgb(255, 87, 51)
Frequently Asked Questions