# Text to Binary Converter Online Tool

## About Text to Binary Converter Online Tool:

This online Text to Binary converter tool helps you to convert one input ASCII text string into a Binary (base 2) String.

The Binary string delimiter can be chosen from `("", " ")`

.

## ASCII Encoding Standard:

ASCII (American Standard Code for Information Interchange) is the most widely used character encoding standard. The standard ASCII has 7 bits, 128 distinguish characters. The extended ASCII has 8 bits, 256
distinguish characters. The Copyright Symbol `ÂŠ`

that you see everyday is in the extended ASCII list.

## Binary Numeral System:

Binary numeral system has 2 digits, include `(0, 1)`

. Four binary digits can be represented by 1 hexadecimal digits, and three binary digits can be represented by one octal digits. Binary is the numeral system that most close to electronic circuit hardware.

## More information:

Wikipedia (Binary): https://en.wikipedia.org/wiki/Binary_number

Wikipedia (ASCII): https://en.wikipedia.org/wiki/ASCII

## Convert Text to Binary with Python:

def text_to_binary(text_str): binary_str = ' '.join(format(ord(x), 'b') for x in text_str) return binary_str text_input = 'example' binary_output = text_to_binary(text_input) print('binary result is:{0}'.format(binary_output))