EasyUnitConverter.com

Hex To Text Converter

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

16
10
10
16

About Hex To Text Converter

Our free online hex to text converter tool provides instant and accurate conversion between hexadecimal and text formats.

How to Convert Hex to Text

  1. Get hex byte from the hex string
  2. Convert hex byte to decimal
  3. Get character from ASCII table using decimal code
  4. Continue with next hex byte

Example

Convert "48 65 6C 6C 6F" hex to text:

48₁₆ = 4×16+8 = 72₁₀ => "H"

65₁₆ = 6×16+5 = 101₁₀ => "e"

6C₁₆ = 6×16+12 = 108₁₀ => "l"

6C₁₆ = 108₁₀ => "l"

6F₁₆ = 6×16+15 = 111₁₀ => "o"

Result: "Hello"

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

How to Convert Hex to Text (Hexadecimal String to Readable Text)

Hex-to-text conversion is used when reading hex dumps, decoding URL-encoded strings, interpreting Wireshark packet payloads, and examining binary file contents. Each pair of hex digits represents one text character. This is the most practical form of hex-to-ASCII conversion, applied to entire strings and documents.

  1. Remove any spaces, colons, or delimiters between hex pairs.
  2. Split the hex string into 2-character pairs (each pair = 1 byte).
  3. Convert each hex pair to its decimal value.
  4. Map each decimal value to its character (printable: 32-126, control: 0-31).
  5. Assemble all characters into the final text string.
💡 Tip: In hex dumps, look for sequences of 4x and 5x (uppercase), 6x and 7x (lowercase), and 3x (digits). These ranges indicate readable ASCII text embedded in binary data. Values outside 20-7E are non-printable.

Hex to Text: Common Patterns

Hex sequences you will frequently encounter in debugging and analysis:

InputOutput
48 54 54 50HTTP
47 45 54GET
50 4F 53 54POST
4A 53 4F 4EJSON
74 72 75 65true
66 61 6C 73 65false
6E 75 6C 6Cnull
0D 0A 0D 0A\r\n\r\n
3C 68 74 6D 6C 3E<html>
7B 7D{}

Solved Examples: Hex to Text

Question 1: A log file shows hex: 45 72 72 6F 72 3A 20 34 30 34. Decode it.

Solution:

45=E, 72=r, 72=r, 6F=o, 72=r

3A=:, 20=(space)

34=4, 30=0, 34=4

Answer: The hex decodes to "Error: 404" — a common HTTP error message in a log.

Question 2: Decode network payload: 7B 22 73 74 61 74 75 73 22 3A 32 30 30 7D

Solution:

7B={, 22=", 73=s, 74=t, 61=a, 74=t, 75=u, 73=s, 22="

3A=:, 32=2, 30=0, 30=0

7D=}

Answer: Decoded: {"status":200} — a JSON API response payload.

Question 3: A cookie value in DevTools is hex-encoded: 73 65 73 73 69 6F 6E 3D 61 62 63 31 32 33

Solution:

73=s, 65=e, 73=s, 73=s, 69=i, 6F=o, 6E=n

3D==

61=a, 62=b, 63=c, 31=1, 32=2, 33=3

Answer: The cookie value is "session=abc123" — a session identifier.

Practice: Hex to Text

Try solving these on your own to test your understanding:

  1. Decode: 48 65 6C 6C 6F (Answer: "Hello")
  2. Decode: 57 6F 72 6C 64 (Answer: "World")
  3. Decode: 4C 6F 67 69 6E (Answer: "Login")
  4. Decode: 70 61 73 73 (Answer: "pass")
  5. What text is 30 2E 30 2E 30 2E 30? (Answer: "0.0.0.0")
  6. Decode: 55 52 4C (Answer: "URL")

Analyzing Binary Files with Hex Dump

The `hexdump` or `xxd` command shows file contents as hex+text. The first bytes of files reveal their type: PDF starts with 25 50 44 46 (%PDF), ZIP with 50 4B (PK), ELF binaries with 7F 45 4C 46 (.ELF). Converting these hex bytes to text is how the `file` command identifies file types. When troubleshooting corrupt files, hex-to-text conversion reveals where readable content starts and where binary data takes over.

Hex in Security: Reading Payloads and Shellcode

Security tools like Burp Suite and Wireshark display request/response payloads in hex. Cross-site scripting (XSS) payloads may be hex-encoded to bypass filters: 3C 73 63 72 69 70 74 3E = <script>. Web Application Firewalls (WAFs) must decode hex to detect malicious patterns. Understanding hex-to-text conversion is essential for security analysts reading captured traffic and identifying encoded attack payloads.

Key Takeaways

  • Each 2-hex-digit pair = one text character.
  • Printable ASCII range: 0x20 (space) to 0x7E (tilde).
  • Protocol keywords in hex: GET=474554, POST=504F5354, HTTP=48545450.
  • JSON delimiters: {=7B, }=7D, "=22, :=3A.
  • File signatures (magic bytes) are identified by converting hex to text.
  • Security analysis requires decoding hex payloads to detect embedded text.

Related Number System Converters: