EasyUnitConverter.com

Hex To Ascii Converter

Enter the hexadecimal value to convert to ascii text or ASCII Text to Hexadecimal.

16
10
10
16

Hexadecimal:

Hexadecimal is commonly used to represent byte values in computing (e.g., 48 65 6C 6C 6F = "Hello").

ASCII Text:

ASCII text is the human-readable form of character data stored in computers.

How to Convert Hexadecimal to ASCII Text — Formula:

Each pair of hex digits → decimal value → ASCII character. Character = String.fromCharCode(parseInt(hexPair, 16)).

Example: 48 65 6C 6C 6F → 72 101 108 108 111 → "Hello".

Technical Details:

Hex encoding of text is used in: URL encoding (%20 = space), HTML entities (A = A), email headers, and binary file analysis. Each byte = 2 hex digits (00-FF).

Hex To Ascii Converter:

Convert hexadecimal byte values to readable ASCII text. Enter hex values (e.g., 48656C6C6F) to decode.

How to Convert Hexadecimal to ASCII Text

  1. Take the hexadecimal value
  2. Apply the conversion formula
  3. Get the ascii text result

ASCII Text to Hex, Binary Conversion Table

ASCII CharacterHexadecimalBinary
NUL0000000000
SOH0100000001
STX0200000010
ETX0300000011
EOT0400000100
ENQ0500000101
ACK0600000110
BEL0700000111
BS0800001000
HT0900001001
LF0A00001010
VT0B00001011
FF0C00001100
CR0D00001101
SO0E00001110
SI0F00001111
DLE1000010000
DC11100010001
DC21200010010
DC31300010011
DC41400010100
NAK1500010101
SYN1600010110
ETB1700010111
CAN1800011000
EM1900011001
SUB1A00011010
ESC1B00011011
FS1C00011100
GS1D00011101
RS1E00011110
US1F00011111
Space2000100000
!2100100001
"2200100010
#2300100011
$2400100100
%2500100101
&2600100110
'2700100111
(2800101000
)2900101001
*2A00101010
+2B00101011
,2C00101100
-2D00101101
.2E00101110
/2F00101111
03000110000
13100110001
23200110010
33300110011
43400110100
53500110101
63600110110
73700110111
83800111000
93900111001
:3A00111010
;3B00111011
<3C00111100
=3D00111101
>3E00111110
?3F00111111
@4001000000
A4101000001
B4201000010
C4301000011
D4401000100
E4501000101
F4601000110
G4701000111
H4801001000
I4901001001
J4A01001010
K4B01001011
L4C01001100
M4D01001101
N4E01001110
O4F01001111
P5001010000
Q5101010001
R5201010010
S5301010011
T5401010100
U5501010101
V5601010110
W5701010111
X5801011000
Y5901011001
Z5A01011010
[5B01011011
\5C01011100
]5D01011101
^5E01011110
_5F01011111
`6001100000
a6101100001
b6201100010
c6301100011
d6401100100
e6501100101
f6601100110
g6701100111
h6801101000
i6901101001
j6A01101010
k6B01101011
l6C01101100
m6D01101101
n6E01101110
o6F01101111
p7001110000
q7101110001
r7201110010
s7301110011
t7401110100
u7501110101
v7601110110
w7701110111
x7801111000
y7901111001
z7A01111010
{7B01111011
|7C01111100
}7D01111101
~7E01111110
DEL7F01111111

Frequently Asked Questions

How do I convert Hexadecimal to ASCII Text?

Each pair of hex digits → decimal value → ASCII character. Character = String.fromCharCode(parseInt(hexPair, 16)).

What is the Hexadecimal number system?

Hexadecimal is commonly used to represent byte values in computing (e.g., 48 65 6C 6C 6F = "Hello").

What is the ASCII Text number system?

ASCII text is the human-readable form of character data stored in computers.

Where is Hexadecimal to ASCII Text conversion used?

Hex encoding of text is used in: URL encoding (%20 = space), HTML entities (&#x41; = A), email headers, and binary file analysis. Each byte = 2 hex digits (00-FF).

Can I convert large hexadecimal numbers?

Yes. This converter handles numbers of any practical size. For very large numbers, the conversion is performed using arbitrary-precision arithmetic to ensure accuracy.

How to Convert Hexadecimal to ASCII (Hex Codes to Characters)

Hex-to-ASCII conversion is essential for reading hex dumps, analyzing network packets, and debugging data streams. Hex editors display file contents as pairs of hex digits, each pair representing one byte/character. Converting these hex pairs to ASCII reveals the human-readable content embedded in binary data.

  1. Split the hex string into pairs of 2 hex digits (each pair = one byte).
  2. Convert each hex pair to its decimal equivalent.
  3. Look up the decimal value in the ASCII table for printable characters (32-126).
  4. Non-printable values (0-31, 127) are control characters (shown as dots in hex editors).
  5. Example: 48 65 6C 6C 6F → 72, 101, 108, 108, 111 → "Hello".
💡 Tip: Recognize hex patterns: 30-39 = digits 0-9, 41-5A = uppercase A-Z, 61-7A = lowercase a-z, 20 = space. With practice, you can read hex dumps without a table.

Hex to ASCII: Quick Reference

Common hex values you will see in packet captures and hex dumps:

InputOutput
0x09TAB
0x0ALF
0x0DCR
0x20Space
0x300
0x41A
0x5AZ
0x61a
0x7Az
0x2E.
0x2F/
0x3A:

Solved Examples: Hex to ASCII

Question 1: Decode this hex dump fragment: 47 45 54 20 2F

Solution:

47 = 71 = G

45 = 69 = E

54 = 84 = T

20 = 32 = (space)

2F = 47 = /

Answer: The hex sequence is "GET /" — the start of an HTTP GET request.

Question 2: A Wireshark capture shows: 48 54 54 50 2F 31 2E 31. Decode it.

Solution:

48=H, 54=T, 54=T, 50=P

2F=/, 31=1, 2E=., 31=1

Answer: The hex data decodes to "HTTP/1.1" — an HTTP protocol version identifier.

Question 3: A hex editor shows: 7B 22 6B 65 79 22 3A 22 76 61 6C 22 7D. What is the text?

Solution:

7B={ , 22=" , 6B=k, 65=e, 79=y

22=" , 3A=:, 22="

76=v, 61=a, 6C=l, 22="

7D=}

Answer: The hex decodes to {"key":"val"} — a JSON object stored in the file.

Practice: Hex to ASCII

Try solving these on your own to test your understanding:

  1. Decode: 48 69 (Answer: "Hi")
  2. Decode: 4F 4B (Answer: "OK")
  3. Decode: 31 32 33 (Answer: "123")
  4. What ASCII character is 0x40? (Answer: @)
  5. Decode: 68 74 74 70 73 (Answer: "https")
  6. What character is hex 7E? (Answer: ~ tilde)

Reading Hex Dumps Like a Pro

Hex editors display data in three columns: offset (address), hex bytes, and ASCII interpretation. Non-printable bytes appear as dots in the ASCII column. To quickly find strings in binary files, scan the ASCII column. HTTP headers, file signatures (magic bytes), and embedded text all become visible. For example, PNG files start with 89 50 4E 47 — the 50 4E 47 part is "PNG" in ASCII, immediately identifying the file type.

URL Encoding: Hex in Web Development

URL encoding (percent-encoding) represents special characters as %XX where XX is the hex ASCII code. A space becomes %20 (hex 20 = decimal 32 = space), a hash becomes %23, and a forward slash becomes %2F. When debugging URLs in browser DevTools, you will see these hex codes. Decoding them to ASCII reveals the original characters: %48%65%6C%6C%6F = "Hello".

Key Takeaways

  • Each pair of hex digits = one ASCII character (one byte).
  • Key ranges: 30-39 (digits), 41-5A (uppercase), 61-7A (lowercase), 20 (space).
  • Hex editors display non-printable characters as dots in the ASCII column.
  • Network protocols (HTTP, SMTP) transmit ASCII text as hex bytes.
  • URL percent-encoding uses hex: %20 = space, %2F = /, %3A = :.
  • File magic bytes mix literal ASCII and non-printable hex (e.g., PNG = 89504E47).

Related Number System Converters: