Reading a word as ones and zeros, one byte at a time
Every character on a screen is stored as a number, and every number in a computer is stored as bits. This tool shows that last step. Type "Hi" and you get 01001000 01101001. That is two bytes, one per letter, and each byte is written as exactly 8 binary digits. The leading zeros are kept on purpose. A byte always has 8 bits, and keeping all 8 lets anyone count along and see where one byte stops and the next one starts.
Here is how the first byte works. H is character number 72 in ASCII and in Unicode. Write 72 as a sum of powers of two: 64 plus 8. In an 8-bit byte the places are worth 128, 64, 32, 16, 8, 4, 2 and 1. Put a 1 under 64 and under 8 and a 0 everywhere else, and you get 01001000. The letter i is 105, which is 64 plus 32 plus 8 plus 1, so it is 01101001. You can check any byte the same way with pencil and paper.
Letters outside plain English change the picture. Type "é" and you get 11000011 10101001: two bytes for one letter. UTF-8 marks the start of a two-byte character with the bits 110 and each byte that follows with 10. The bits left over carry the number 233, which is the code point of é. A three-byte character starts with 1110 and a four-byte one with 11110. Seeing those prefixes is a quick way to spot non-ASCII text in a dump of bits.
Octal is the same bytes in base 8. Each octal digit stands for three bits, so a byte needs three digits at most, from 000 for zero to 377 for 255. "Hi" becomes 110 151. Octal is rare in modern text work, but it still turns up in Unix file permissions, in old C and shell escape sequences such as \110, and in some puzzle hunts. The switch at the top of the tool changes every box between binary and octal, in both directions.
The tool has limits worth knowing. It converts text, not numbers: the number 255 is 11111111, but the text "255" is three characters and three bytes. It reads and writes UTF-8 only, so binary taken from a file saved in an old encoding such as Latin-1 may be reported as not being text. Bits from an image or a program are reported the same way, because they are not text. It takes up to a million characters at a time, so the page stays quick on a phone. Nothing you type leaves this page.