String to binary converter
How to convert String to Binary
Each character in the string is converted to its 8-bit binary code.
char → ASCII/UTF-8 code → 8-bit binary
Convert each character to its ASCII code, then to 8-bit binary:
'H' = 72₁₀ = 01001000₂
Example
Convert 'Hello' to binary:
H=01001000, e=01100101, l=01101100, l=01101100, o=01101111