Encode a single letter
Paste a small example into the tool and change one part at a time.
A is code point 65, which is 01000001 in binary - exactly 8 bits.
Переводите текст в двоичный код и обратно, байт за байтом.
Последнее обновление
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
A binary translator converts human-readable text into binary code - the 1s and 0s a computer actually stores - and converts that binary back into text. Every character you type is stored as a number, and that number is written in base-2 as a sequence of bits. This tool shows you exactly what those bits are, and lets you go the other way too.
Under the hood, each character is first encoded to bytes using UTF-8, then each byte is written as 8 binary digits. The capital letter C is byte 67, which is 01000011 in binary. A multi-byte character like é or an emoji becomes several bytes - and this converter keeps them intact so the round-trip is lossless.
It's a great way to *see* how text is really stored, to decode a binary string someone sent you, or to work through a computer-science exercise. Everything runs locally in your browser - your text is never uploaded.
A is 65 (01000001), a is 97 (01100001) - lowercase is 32 higher than uppercase.Choose Text → Binary to encode, or Binary → Text to decode an existing binary string.
Enter any text to encode, or paste binary digits to decode. Spaces and line breaks between bytes are ignored on decode.
Separate each byte with a space, a new line, or nothing at all - handy when a target format expects an unbroken bit stream.
Copy the result with one click, or hit the swap button to feed the output back in and reverse the conversion.
Common characters with their decimal code point and 8-bit binary. Full details in the ASCII table and the UTF-8 encoding spec for characters beyond 127.
| Character | Decimal | Binary |
|---|---|---|
| (space) | 32 | 00100000 |
| 0 | 48 | 00110000 |
| 9 | 57 | 00111001 |
| A | 65 | 01000001 |
| C | 67 | 01000011 |
| Z | 90 | 01011010 |
| a | 97 | 01100001 |
| z | 122 | 01111010 |
| ! | 33 | 00100001 |
| ? | 63 | 00111111 |
Paste a small example into the tool and change one part at a time.
A is code point 65, which is 01000001 in binary - exactly 8 bits.
Copy the original value, run the tool, then compare the result.
Hi becomes 01001000 01101001 - one 8-bit byte per character.
Take a value from your own work and use this tool to inspect or prepare it.
Paste this in Binary → Text mode to get Coddy back.
65 (decimal) and 01000001 (binary) are the same value in different bases.