# Text to Binary Converter

## How to Convert Text to Binary

Convert text to binary ASCII code:

1. Get character
2. Get decimal code of character from ASCII table
3. Convert decimal to binary byte
4. Continue with next character

#### Example

Convert "Plant trees" text to binary ASCII code:

Solution:

Use ASCII table to get ASCII code from character.

"P" => 80 = 26+24 = 010100002

"l" => 108 = 26+25+23+22 = 011011002

"a" => 97 = 26+25+20 = 011000012

For all the text characters you should get the binary bytes:

"01010000 01101100 01100001 01101110 01110100 00100000 01110100 01110010 01100101 01100101 01110011"

## How to convert Text to Binary?

1. Get character
2. Get ASCII code of character from ASCII table
3. Convert decimal to binary byte
4. Continue with next character

## How to use Text to Binary converter?

1. Paste text in input text box.
2. Select character encoding type.
3. Select output delimiter string.
4. Press the Convert button.

## How to convert English to Binary code?

1. Get english letter
2. Get ASCII code of the english letter from ASCII table
3. Convert decimal to binary byte
4. Continue with next english letter

## How to convert 'A' character to binary?

Use ASCII table: 'A' = 6510 = 64+1 = 26+20 = 010000012

## How to convert '0' character to binary?

Use ASCII table: '0' = 4810 = 32+16 = 25+24 = 001100002

ASCII
Character
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