Skip Navigation

String to binary converter

From
To
Input
Encoding
Output

How to convert String to Binary

Each character in the string is converted to its 8-bit binary code.

char → ASCIIUTF-8 code → 8-bit binary

Convert each character to its ASCII code, then to 8-bit binary:

Example: Convert 'Hello' to binary:

H=01001000, e=01100101, l=01101100, l=01101100, o=01101111



See also