RSS Feed

Blog

Binary to Text and Text to Binary Translation

Binary to Text and Text to Binary Translation
Posted on Sep 15, 2010 by Stephen Owens
General category
   [ Return ]

This is a simple tool written in PHP for the translation of binary to text and text to binary. Just a little programming exercise to keep me on my toes.

Translate Binary to Text or Translate Text to Binary

Type something into the "Text Box" and hit the translate to binary button. The binary box will be filled with 1s and 0s representing the text you entered. Enter your 1s and 0s into the "Binary Box" and hit the translate to text button. The text box will be filled with the message.

Binary Box Text Box

Enjoy.

Security note: the text you input is checked for things like Cross-Site Scripting (XSS), even if it's using HEX key codes, and other silly exploit attempts. If you input something with tags it's going to get scrubbed. Then the cleaned text will be put back into the Text Box, instead of your slushy mush.

Share
Like what you read? Get updates for free!
comments powered by Disqus