How binary text encoding works
Every character stored on a computer has a numeric code. The letter “A” is code 65, “B” is 66, a space is 32. Binary text encoding takes those numbers and writes them in base-2 (binary) — so “A” (65) becomes 01000001.
Each 8-bit group is called a byte, and represents one character. A word like “Hello” needs 5 bytes — 40 binary digits — to encode. This is the same representation computers use internally; the only difference is that normally it stays invisible inside the machine.
Reading binary text
- Each group of 8 bits = one character — 01001000 = H, 01100101 = e
- Separator formats — groups can be separated by spaces, commas, or nothing (concatenated). This tool handles all three.
- Leading zeros matter — 01000001 is correct for “A”; 1000001 (missing leading zero) still works but is non-standard
- Only 0s and 1s — any other character in a binary string is invalid
Binary vs Base64 vs Hex
- Binary — most verbose (8 chars per byte). Used for education, debugging, bit manipulation exercises.
- Hex — 2 chars per byte. Common in programming for colour codes, memory addresses, byte inspection.
- Base64 — ~1.33 chars per byte. Used for encoding binary data (images, files) in text-based systems like email or JSON.