"foo" in Binary
Binary Code
01100110 01101111 01101111
"foo" in binary is: 01100110 01101111 01101111
Character breakdown
| Char | ASCII | Binary | Hex |
|---|---|---|---|
| f | 102 | 01100110 | 66 |
| o | 111 | 01101111 | 6F |
| o | 111 | 01101111 | 6F |
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...