Text to Hex Converter

Copy


What Is Hexadecimal?

Hexadecimal (or hex) is a base-16 numeral system, widely used in computing and digital systems for its efficiency in representing binary values. Unlike the decimal system, which uses ten digits (0-9), hexadecimal uses sixteen distinct symbols: the numbers 0 to 9 and the letters A to F (or a to f).

In hexadecimal, each digit represents four binary digits (bits), making it particularly useful for succinctly displaying large binary numbers. It's frequently used in programming and computer engineering, especially in contexts where binary values are prevalent, such as memory addresses and color coding in web design.

How to Use the Text to Hex Converter

Enter your ASCII text into the "Input" text box and see the hex conversion in the "Output" box. You can change the delimiter by adjusting the "Delimiter" dropdown and the encoding by adjusting the "Encoding" dropdown.

How It Works

If you entered the word "text", the tool will convert this string into Hexadecimal by converting each ASCII character first to decimal and then to Hexadecimal. For example, the calculation for converting "text" to Hexadecimal is below:

  • "t" => 116 = 7×161 + 4×160 = 7416
  • "e" => 101 = 6×161 + 5×160 = 6516
  • "x" => 120 = 7×161 + 8×160 = 7816
  • "t" => 116 = 7×161 + 4×160 = 7416

Therefore, "text" in Hexadecimal would be written as the hex bytes: 74 65 78 74.

Common Hexadecimal Conversions

How to Convert '0' to Hexademical?

Look up '0' in the ASCII table which gives 48 as the decimal (base-10) number. Then convert this to Hexadecimal (base-16) which gives 30.

  • "0" => 4810 = 3×16 = 3×161+0×160 = 3016

How to Convert 'A' to Hexademical?

Look up 'A' in the ASCII table which gives 48 as the decimal (base-10) number. Then convert this to Hexadecimal (base-16) which gives 30.

  • "A" = 6510 = 4×16+1 = 4×161+1×160 = 4116

Text to Hex Conversion Table

Below is a conversion table showing how to convert text to hex.

ASCII/TextDecimalHexadecimalBinaryHTMLDescription
NUL00000000000�null character
SOH10100000001start of header
STX20200000010start of text
ETX30300000011end of text
EOT40400000100end of transmission
ENQ50500000101enquiry
ACK60600000110acknowledge
BEL70700000111bell (ring)
BS80800001000backspace
HT90900001001	horizontal tab
LF100A00001010
line feed
VT110B00001011vertical tab
FF120C00001100form feed
CR130D00001101
carriage return
SO140E00001110shift out
SI150F00001111shift in
DLE161000010000data link escape
DC1171100010001device control 1
DC2181200010010device control 2
DC3191300010011device control 3
DC4201400010100device control 4
NAK211500010101negative acknowledge
SYN221600010110synchronize
ETB231700010111end transmission block
CAN241800011000cancel
EM251900011001end of medium
SUB261A00011010substitute
ESC271B00011011escape
FS281C00011100file separator
GS291D00011101group separator
RS301E00011110record separator
US311F00011111unit separator
322000100000 space
!332100100001!exclamation mark
"342200100010"double quotes
#352300100011#pound sign
$362400100100$dollar sign
%372500100101%percentage sign
&382600100110&ampersand
'392700100111'single quote
(402800101000(open paranthese
)412900101001)close paranthese
*422A00101010*asterisk
+432B00101011+plus sign
,442C00101100,comma
-452D00101101-minus sign
.462E00101110.period
/472F00101111/forward slash
04830001100000zero
14931001100011one
25032001100102two
35133001100113three
45234001101004four
55335001101015five
65436001101106six
75537001101117seven
85638001110008eight
95739001110019nine
:583A00111010:colon
;593B00111011&#59;semicolon
<603C00111100&#60;less than
=613D00111101&#61;equal sign
>623E00111110&#62;greater than
?633F00111111&#63;question mark
@644001000000&#64;at sign
A654101000001&#65;uppercase letter A
B664201000010&#66;uppercase letter B
C674301000011&#67;uppercase letter C
D684401000100&#68;uppercase letter D
E694501000101&#69;uppercase letter E
F704601000110&#70;uppercase letter F
G714701000111&#71;uppercase letter G
H724801001000&#72;uppercase letter H
I734901001001&#73;uppercase letter I
J744A01001010&#74;uppercase letter J
K754B01001011&#75;uppercase letter K
L764C01001100&#76;uppercase letter L
M774D01001101&#77;uppercase letter M
N784E01001110&#78;uppercase letter N
O794F01001111&#79;uppercase letter O
P805001010000&#80;uppercase letter P
Q815101010001&#81;uppercase letter Q
R825201010010&#82;uppercase letter R
S835301010011&#83;uppercase letter S
T845401010100&#84;uppercase letter T
U855501010101&#85;uppercase letter U
V865601010110&#86;uppercase letter V
W875701010111&#87;uppercase letter W
X885801011000&#88;uppercase letter X
Y895901011001&#89;uppercase letter Y
Z905A01011010&#90;uppercase letter Z
[915B01011011&#91;left square bracket
\925C01011100&#92;backslash
]935D01011101&#93;right square bracket
^945E01011110&#94;caret
_955F01011111&#95;underscore
`966001100000&#96;grave / accent
a976101100001&#97;lowercase letter a
b986201100010&#98;lowercase letter b
c996301100011&#99;lowercase letter c
d1006401100100&#100;lowercase letter d
e1016501100101&#101;lowercase letter e
f1026601100110&#102;lowercase letter f
g1036701100111&#103;lowercase letter g
h1046801101000&#104;lowercase letter h
i1056901101001&#105;lowercase letter i
j1066A01101010&#106;lowercase letter j
k1076B01101011&#107;lowercase letter k
l1086C01101100&#108;lowercase letter l
m1096D01101101&#109;lowercase letter m
n1106E01101110&#110;lowercase letter n
o1116F01101111&#111;lowercase letter o
p1127001110000&#112;lowercase letter p
q1137101110001&#113;lowercase letter q
r1147201110010&#114;lowercase letter r
s1157301110011&#115;lowercase letter s
t1167401110100&#116;lowercase letter t
u1177501110101&#117;lowercase letter u
v1187601110110&#118;lowercase letter v
w1197701110111&#119;lowercase letter w
x1207801111000&#120;lowercase letter x
y1217901111001&#121;lowercase letter y
z1227A01111010&#122;lowercase letter z
{1237B01111011&#123;left curly bracket
|1247C01111100&#124;vertical bar
}1257D01111101&#125;right curly bracket
~1267E01111110&#126;tilde
DEL1277F01111111&#127;delete (rubout)
Begin UTF-8 Encoding (Not Available in HTML 4)
1288010000000&#128;
1298110000001&#129;
1308210000010&#130;
ƒ1318310000011&#131;
1328410000100&#132;
1338510000101&#133;
1348610000110&#134;
1358710000111&#135;
ˆ1368810001000&#136;
1378910001001&#137;
Š1388A10001010&#138;
1398B10001011&#139;
Œ1408C10001100&#140;
1418D10001101&#141;
Ž1428E10001110&#142;
1438F10001111&#143;
1449010010000&#144;
1459110010001&#145;
1469210010010&#146;
1479310010011&#147;
1489410010100&#148;
1499510010101&#149;
1509610010110&#150;
1519710010111&#151;
˜1529810011000&#152;
1539910011001&#153;
š1549A10011010&#154;
1559B10011011&#155;
œ1569C10011100&#156;
1579D10011101&#157;
ž1589E10011110&#158;
Ÿ1599F10011111&#159;
 160A010100000&#160;
¡161A110100001&#161;
¢162A210100010&#162;
£163A310100011&#163;
¤164A410100100&#164;
¥165A510100101&#165;
¦166A610100110&#166;
§167A710100111&#167;
¨168A810101000&#168;
©169A910101001&#169;
ª170AA10101010&#170;
«171AB10101011&#171;
¬172AC10101100&#172;
­173AD10101101&#173;
®174AE10101110&#174;
¯175AF10101111&#175;
°176B010110000&#176;
±177B110110001&#177;
²178B210110010&#178;
³179B310110011&#179;
´180B410110100&#180;
µ181B510110101&#181;
182B610110110&#182;
·183B710110111&#183;
¸184B810111000&#184;
¹185B910111001&#185;
º186BA10111010&#186;
»187BB10111011&#187;
¼188BC10111100&#188;
½189BD10111101&#189;
¾190BE10111110&#190;
¿191BF10111111&#191;
À192C011000000&#192;
Á193C111000001&#193;
Â194C211000010&#194;
Ã195C311000011&#195;
Ä196C411000100&#196;
Å197C511000101&#197;
Æ198C611000110&#198;
Ç199C711000111&#199;
È200C811001000&#200;
É201C911001001&#201;
Ê202CA11001010&#202;
Ë203CB11001011&#203;
Ì204CC11001100&#204;
Í205CD11001101&#205;
Î206CE11001110&#206;
Ï207CF11001111&#207;
Ð208D011010000&#208;
Ñ209D111010001&#209;
Ò210D211010010&#210;
Ó211D311010011&#211;
Ô212D411010100&#212;
Õ213D511010101&#213;
Ö214D611010110&#214;
×215D711010111&#215;
Ø216D811011000&#216;
Ù217D911011001&#217;
Ú218DA11011010&#218;
Û219DB11011011&#219;
Ü220DC11011100&#220;
Ý221DD11011101&#221;
Þ222DE11011110&#222;
ß223DF11011111&#223;
à224E011100000&#224;
á225E111100001&#225;
â226E211100010&#226;
ã227E311100011&#227;
ä228E411100100&#228;
å229E511100101&#229;
æ230E611100110&#230;
ç231E711100111&#231;
è232E811101000&#232;
é233E911101001&#233;
ê234EA11101010&#234;
ë235EB11101011&#235;
ì236EC11101100&#236;
í237ED11101101&#237;
î238EE11101110&#238;
ï239EF11101111&#239;
ð240F011110000&#240;
ñ241F111110001&#241;
ò242F211110010&#242;
ó243F311110011&#243;
ô244F411110100&#244;
õ245F511110101&#245;
ö246F611110110&#246;
÷247F711110111&#247;
ø248F811111000&#248;
ù249F911111001&#249;
ú250FA11111010&#250;
û251FB11111011&#251;
ü252FC11111100&#252;
ý253FD11111101&#253;
þ254FE11111110&#254;
ÿ255FF11111111&#255;

Other Converters