Sometimes you get a string of 0s and 1s, or a row of dots and dashes, and you just want to know what it says. I built The Code Translator for exactly that: paste a code, get plain text back. Type plain text, get the code.
What it does
You paste something like this:
01001000 01101001
The box detects that it is binary and shows Hi right away. There is no Convert button. The result updates with every character you type.
A few things I cared about when building it:
- Auto-detection. It tells you what it found (8-bit, 7-bit or UTF-8 binary), so you don't have to guess the format first.
- Both directions. It works as a code translator to text, and turns ordinary words back into code.
-
Emoji and accents. UTF-8 is handled, so
é,ñand 😀 decode properly, not just plain English letters. - Private. Everything runs in your browser. Nothing you type is uploaded or stored.
- Shareable links. You can send someone a link that opens your message already decoded.
- Free. No sign-up and no daily limit, and it works the same on a phone.
Checked against the standard
A translator is only useful if it is right. Binary follows ASCII and UTF-8 (RFC 20 and RFC 3629), and every example on the site is decoded in the tool and checked against those standards. A quick test you can run on any tool: 01001000 01101001 should give Hi and nothing more. If you see a third character, a stray space slipped in.
Code vs cipher
This trips people up, so it is worth stating clearly.
- A code swaps each letter for a fixed symbol. Anyone with the chart can read it. Binary and Morse are codes.
- A cipher changes letters by a rule or a secret key. You need the key to read it. The Caesar cipher is one.
Here is the word HELLO in a few systems:
| System | HELLO becomes | Type |
|---|---|---|
| Binary | 01001000 01000101 01001100 01001100 01001111 | Code |
| Morse | .... . .-.. .-.. --- | Code |
| Caesar (shift 3) | KHOOR | Cipher |
| NATO alphabet | Hotel Echo Lima Lima Oscar | Spelling alphabet |
Binary needs 40 digits for five letters, because every letter takes a full byte. Morse is far shorter on purpose: E, the most common English letter, is a single dot.
What else is on the site
Each digital code gets its own page and guide, including a binary alphabet chart (with a printable PDF for classrooms and escape-room clues), a text to binary converter, a binary to ASCII converter with the full 0 to 127 table, a guide to 5-bit codes like 10101, and a step-by-step guide to reading binary by hand.
One note: this is not for translating programming languages, like Python to Java. "Code" here means codes that stand for letters.
Try it
Paste 01001000 01101001 and see what comes back.
Try it here: https://thecodetranslator.com/
Top comments (0)