ASCII to binary

The ASCII code refers to a character code based on the Latin alphabet, using a total of 8 bits to represent each of these characters. If you would like to know the equivalence between a text with symbols included in the ASCII and binary code, use the converter below.

If what you need is a converter of binary to ASCII, do not hesitate to visit the link that you have just behind these words.




How to convert ASCII to binary

ASCII to binary converter

ASCII to binary conversion is very simple. The only thing we need is a table that shows the equivalence between these two systems, so we will take each ASCII symbol and pass it to its equivalent in binary, there is nothing else to do.

For example, if we want to convert the string "Hola Mundo" from ASCII to binary, we will have this:

Hola(space)Mundo
100100011011111101100110000110000010011011110101110111011001001101111

As you can see, each ASCII symbol is equivalent to 8 bits in binary.

Converting ASCII to binary in Excel

Although Excel does not have a specific function to make the ASCII to binary conversionIf we do, we can create a combined formula that allows us to make the change:

=DEC2BIN(CODE(C3))

If you want to understand the formula, what we do is:

  1. With the function codigo() we obtain the decimal value of an ASCII symbol
  2. With the DEC2BIN() function we convert the decimal value obtained in the previous step to binary.

For example, if we want to know how to write in binary the ASCII symbol '@', we will put the formula in Excel like this:

=DEC2BIN(CODE("@"))

ASCII to binary table

Below you will find a list of all the ASCII alphabet symbols translated to binary. You will find them organized in two blocks: control characters and printable characters.

If you want to visit a ASCII table If you need a complete list of the equivalences in other number systems, click on the link we have just left you.

Control characters

These are the first 32 ASCII codes that are used to control devices.

BinaryASCII
0000 0000Null Character
0000 0001Header Start
0000 0010Text Home
0000 0011End of Text
0000 0100End of Transmission
0000 0101Consulta
0000 0110Acknowledgement of receipt
0000 0111Doorbell
0000 1000Backspace
0000 1001Horizontal tabulation
0000 1010Line break
0000 1011Vertical Tabulation
0000 1100Page feed
0000 1101Carriage return
0000 1110Disable capitalization
0000 1111Activate capitalization
0001 0000Escape data link
0001 0001Device control 1 (XON)
0001 0010Device control 2
0001 0011Device control 3 (XOFF)
0001 0100Device control 4
0001 0101Negative acknowledgement
0001 0110Standby synchrony
0001 0111End of transmission block
0001 1000Cancel
0001 1001End of medium
0001 1010Substitution
0001 1011Escape
0001 1100File separator
0001 1101Group separator
0001 1110Register separator
0001 1111Unit separator
0111 1111Delete

Printable characters

These are all the ASCII symbols that can be printed on the screen. Here we can find the letters, symbols and numbers of our alphabet.

BinaryASCIIBinaryASCII
0010 0000space ( )0101 0000P
0010 0001!0101 0001Q
0010 0010"0101 0010R
0010 0011#0101 0011S
0010 0100$0101 0100T
0010 0101%0101 0101U
0010 0110&0101 0110V
0010 0111'0101 0111W
0010 1000(0101 1000X
0010 1001)0101 1001Y
0010 1010*0101 1010Z
0010 1011+0101 1011[
0010 1100,0101 1100\
0010 1101-0101 1101]
0010 1110.0101 1110^
0010 1111/0101 1111_
0011 000000110 0000`
0011 000110110 0001a
0011 001020110 0010b
0011 001130110 0011c
0011 010040110 0100d
0011 010150110 0101e
0011 011060110 0110f
0011 011170110 0111g
0011 100080110 1000h
0011 100190110 1001i
0011 1010:0110 1010j
0011 1011;0110 1011k
0011 1100<0110 1100l
0011 1101=0110 1101m
0011 1110>0110 1110n
0011 1111?0110 1111o
0100 0000@0111 0000p
0100 0001A0111 0001q
0100 0010B0111 0010r
0100 0011C0111 0011s
0100 0100D0111 0100t
0100 0101E0111 0101u
0100 0110F0111 0110v
0100 0111G0111 0111w
0100 1000H0111 1000x
0100 1001I0111 1001y
0100 1010J0111 1010z
0100 1011K0111 1011{
0100 1100L0111 1100|
0100 1101M0111 1101}
0100 1110N0111 1110~
0100 1111O

Leave a Comment

Information on data protection

  • Responsible: Ignacio Cuesta
  • Purpose of processing: Spam control, comment management, etc.
  • Legitimation: Your consent
  • Communication of data: Data will not be communicated to third parties except by legal obligation.
  • Rights: Access, rectification, portability, forgetfulness.
  • Contact us: contacto@calculadoraconversor.com.
  • Additional information: More information at our privacy policy.