Scenario
A CTF challenge (or a teammate's idea of a fun commit message) hands you five groups of eight bits. Space-separated octets are the classic "binary to text" format: each group is one byte, and if the values fall in ASCII's printable range, the message decodes directly to characters. Decode it properly before assuming there is a second layer of encoding underneath.
Broken input
01001000 01100101 01101100 01101100 01101111
Goal
Use Binary Code Translator to convert the byte groups into text, checking that each octet maps to a sensible character rather than eyeballing bit patterns.
Tool sequence
- Open Binary Code Translator.
- Paste the groups with their spacing intact — the spaces mark byte boundaries, and eight bits per group means no ambiguity.
- Translate to text and read the byte-to-character mapping:
01001000is decimal 72, ASCIIH. - The full decode is
Hello— printable ASCII throughout, so there is no hidden second layer to chase. - If a decode ever produces gibberish instead, check whether the "binary" was actually a number (use Binary / Hex / Decimal Converter) or whether the bytes are multi-byte UTF-8 (inspect with ASCII / Unicode Explorer).
Checkpoint output
01001000 → 72 → H
01100101 → 101 → e
01101100 → 108 → l
01101100 → 108 → l
01101111 → 111 → o
Five octets, five printable ASCII characters, one readable word: Hello.
Common mistakes
- Dropping leading zeroes from bytes —
1001000is seven bits, and the whole stream shifts into nonsense. - Mixing binary numeric conversion with binary text decoding;
01001000is both the number 72 and the letterH, and context decides which you want. - Assuming every binary-looking string is ASCII — multi-byte UTF-8 sequences decode to mojibake if forced through an ASCII table.
- Splitting on the wrong boundary when the input has no spaces; count bits and divide by eight before decoding.
Related tools and lessons
- Base64 Encoder - Encode or decode Base64 strings.
- Morse Code Translator - Translate text to and from Morse code.
- ASCII / Unicode Explorer - Inspect characters, code points, bytes, and escapes.
- Related lesson: Tell Encoding, Escaping, Hashing, and Encryption Apart
- Related lesson: Decode a Morse Message and Check the Spacing