How to convert text into Binary


This fantastic chart comes from today’s guest blogger, Liam McSherry.

In Liam’s words…

=============================

 

If anyone wants to know how to convert text into a series of binary digits, I quickly made this little graphic.

 

Note that this sort of system applies to all radices as a way of converting to them, with the divisor “2” changed to the value of the radix.

 
This is on the topic of the blog article, Text to Binary Converter – Small Basic Featured Program.
 
Thanks to Liam for this cool diagram!
 
Enjoy!
 
   – Ninja Ed
Comments (16)

  1. anonymouscommenter says:

    Cool.

  2. Jacob, make sure you check out Amir's Text to Binary Converter if you haven't yet: blogs.msdn.com/…/text-to-binary-converter-small-basic-featured-program.aspx

  3. This conversation originated from this Small Basic forums thread: social.msdn.microsoft.com/…/9d6f6e01-84e7-42af-bd2f-3818929102d8

  4. anonymouscommenter says:

    And how exactly does 1 divided by 2 have a remainder of 0?

  5. anonymouscommenter says:

    @confused

    65 divided by 2 is 32 with a remainder of 1, so 32 times 2 plus 1 equals 65 and  1 divided by 2 is 0 with a remainder of 1 because you multiply 0 by 2 plus 1 you get 1

  6. anonymouscommenter says:

    How did you get the letters into numbers?

  7. anonymouscommenter says:

    this is cool. I get everything perfectly.

  8. Thanks for explaining, Possible Explanation! =^)

  9. If anyone is confused, like Confused and Matthew, please ask in the Small Basic forum: social.msdn.microsoft.com/…/threads

    Thanks!

  10. anonymouscommenter says:

    why does the ABCD has the decimal of 65,66,67 and 68?

  11. anonymouscommenter says:

    How did you get the letters into numbers?

  12. Unknown/Joseph, those are the ASCII values.

    http://www.bing.com/search

    65 = A  

    66 = B  

    67 = C  

    68 = D  

  13. And that's also the answer to Matthew's question earlier. Thanks!

  14. anonymouscommenter says:

    Great, helped in understanding this a lot, easily

  15. Kakaire Charles says:

    Extremely simplified. God bless U.

  16. diana niebla says:

    how did you get letter into binary