"foo" in Binary

Binary Code

01100110 01101111 01101111

"foo" in binary is: 01100110 01101111 01101111

Character breakdown

CharASCIIBinaryHex
f1020110011066
o111011011116F
o111011011116F

How binary encoding works

Each character in "foo" is converted to its ASCII code, then written in 8-bit binary. For example, the letter "f" has ASCII code 102, which is 01100110 in binary.

Try the converter

Loading tool...