Binary To Text

Binary to Text: The binary number system is the foundation of the digital system. In the subject of mathematics, the binary system is a number system similar to the decimal, octal and hexadecimal number systems. The base of the binary number system is two. This system makes use of only two numbers zero and one. Every digit is termed as a bit. It is mostly used on computers and computer-based gadgets.

A text is a piece that can be read. This article can be read as letters that are visible are in the form of text. A sequence of characters is termed text. Every character has a respective ASCII value in the chart of ASCII. Every character present in the text is denoted by software by obtaining its respective binary number as digital devices cannot understand anything other than a binary number.

How To Convert Binary To Text?

Given binary digits, the corresponding text version has to be found. It can be done in different ways. Two methods are discussed below.

a] Binary number to decimal conversion

Step 1: A binary number that is an order of bits is given.

Step 2: The given binary number is grouped in which each group consists of 8 bits. Start from the beginning to group the binary string. In the end, if the final group doesn’t have sufficient 8 bits, then fill it by adding zeros.

Step 3: The corresponding decimal value can be obtained by converting every binary number group containing 8 bits. They are the ASCII values of the respective characters.

Step 4: Cross verify with the ASCII chart and every decimal value is converted into its corresponding character.

Upon conversion of every collection of the binary number into its corresponding character, the text version of the binary number is known.

b] Binary number to hexadecimal conversion

A number system with base 16 is termed hexadecimal. It consists of 0 to 9 & A to F.

Step 1: A binary number that is an order of bits is given.

Step 2: The given binary number is grouped in which each group consists of 4 bits. Start from the beginning to group the binary string. In the end, if the final group doesn’t have sufficient 8 bits, then fill it by adding zeros.

Step 3: Every group is converted into one hex digit.

Step 4: The hex number is paired. It is done from the end. When the beginning is reached if the final pair doesn’t have two hex numbers, fill it by putting 0 as the prefix. Two pairs are combined to get a character.

Step 5: If A = 41 hex, a = 61 hex, one needs to subtract 40 hex for capital letters and 60 hex for small letters.

By performing the same thing for the entire binary number, text can be obtained.

Binary To Text Letters & Symbols Conversion Table

Uppercase Letters

\(\begin{array}{l}\begin{array}{|c|c|}
\hline 01000001 & \mathrm{~A} \\
\hline 01000010 & \mathrm{~B} \\
\hline 01000011 & \mathrm{C} \\
\hline 01000100 & \mathrm{D} \\
\hline 01000101 & \mathrm{E} \\
\hline 01000110 & \mathrm{~F} \\
\hline 01000111 & \mathrm{G} \\
\hline 01001000 & \mathrm{H} \\
\hline 01001001 & \mathrm{I} \\
\hline 01001010 & \mathrm{~J} \\
\hline 01001011 & \mathrm{~K} \\
\hline 01001100 & \mathrm{~L} \\
\hline 01001101 & \mathrm{M} \\
\hline 01001110 & \mathrm{~N} \\
\hline 01001111 & \mathrm{O} \\
\hline 01010000 & \mathrm{P} \\
\hline 01010001 & \mathrm{Q} \\
\hline 01010010 & \mathrm{R} \\
\hline 01010011 & \mathrm{~S} \\
\hline 01010100 & \mathrm{~T} \\
\hline 01010101 & \mathrm{U} \\
\hline 01010110 & \mathrm{~V} \\
\hline 01010111 & \mathrm{~W} \\
\hline 01011000 & \mathrm{X} \\
\hline 01011001 & \mathrm{Y} \\
\hline 01011010 & \mathrm{Z} \\
\hline
\end{array}
\end{array} \)

Lowercase Letters

\(\begin{array}{l} \begin{array}{|c|c|}
\hline 01100001 & \mathrm{a} \\
\hline 01100010 & \mathrm{~b} \\
\hline 01100011 & \mathrm{c} \\
\hline 01100100 & \mathrm{~d} \\
\hline 01100101 & \mathrm{e} \\
\hline 01100110 & \mathrm{f} \\
\hline 01100111 & \mathrm{~g} \\
\hline 01101000 & \mathrm{~h} \\
\hline 01101001 & \mathrm{i} \\
\hline 01101010 & \mathrm{j} \\
\hline 01101011 & \mathrm{k} \\
\hline 01101100 & \mathrm{l} \\
\hline 01101101 & \mathrm{~m} \\
\hline 01101110 & \mathrm{n} \\
\hline 01101111 & \mathrm{o} \\
\hline 01110000 & \mathrm{p} \\
\hline 01110001 & \mathrm{q} \\
\hline 01110010 & \mathrm{r} \\
\hline 01110011 & \mathrm{~s} \\
\hline 01110100 & \mathrm{t} \\
\hline 01110101 & \mathrm{u} \\
\hline 01110110 & \mathrm{v} \\
\hline 01110111 & \mathrm{w} \\
\hline 01111000 & \mathrm{x} \\
\hline 01111001 & \mathrm{y} \\
\hline 01111010 & \mathrm{z} \\
\hline
\end{array}
\end{array} \)

The reverse conversion is also possible, that is text to binary conversion.

Related Articles

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*