How to use the binary translator
- Type or paste text in the top box to see its binary as you type. Emoji and accents are encoded as UTF-8 bytes.
- Paste binary such as
01001000 01101001and the text appears in the output. Auto mode picks the direction for you. - Choose the output format (binary, hex, decimal or octal) and the separator between bytes.
- Press Swap to move the result into the input with the direction flipped, to check a round trip.
- Use Copy, download the result as a .txt file, or Copy link, which keeps your text in the link after the # and is never sent to a server.
Text to binary: how encoding works
A binary translator turns each character into one or more bytes, and each byte into eight digits of 0 and 1. A byte is eight bits, so it holds 256 values (byte on Wikipedia). This tool uses UTF-8, the encoding defined in RFC 3629 and used by most of the web (UTF-8 on Wikipedia). The letter A takes one byte: 65 in decimal, 41 in hex and 01000001 in binary. Characters outside ASCII take two to four bytes in UTF-8. Turn on ASCII (strict) to see which characters fall outside the 128 ASCII codes, defined in RFC 20. They are skipped and listed under the result.
Binary to text: how decoding works
The decoder reads the digits in groups, and every group of eight digits is one byte. A short group is padded with zeros on the left, so 1000001 is read as 01000001. A group of 9 to 15 digits is flagged, because it cannot be whole bytes. The bytes are then read as UTF-8 (RFC 3629): a byte that starts with 0 is one character, and one that starts with 110, 1110 or 11110 starts a two-, three- or four-byte character. A byte that does not form a valid character shows as the replacement symbol and is counted under errors, with its group number, so the rest of the message still comes through.
Binary code translator: what 01001000 01101001 means
The binary code 01001000 01101001 is two bytes. 01001000 is 72, the ASCII code for H, and 01101001 is 105, the code for i, so it spells Hi. Paste any binary code like it into the top box and the text appears as you type.
Worked example: “Hi” in binary
H is 72 and i is 105. In binary that is 01001000 01101001. Paste it into the translator, or type Hi above, to check the answer. The waving-hand emoji 👋 has the code point U+1F44B (Unicode emoji list) and takes four bytes in UTF-8: 11110000 10011111 10010001 10001011.
Byte breakdown: the tape inspector
Open Show byte breakdown to see one row per character: the character, a cell for each bit of each byte, its Unicode code point and its bytes in hex. Tap a row to mark it for your own reference. Errors are shown in red in the same list, so you can find the group that broke a message.
Binary code reference table
The table lists the ASCII codes for letters, digits and the space. Decimal, hex and binary are the same number written in three bases. Codes 0 to 31 and 127 are control characters; for example 10 is a new line.
ASCII table: letters, digits and space
| Character | Decimal | Hex | Binary |
|---|---|---|---|
| A | 65 | 41 | 01000001 |
| B | 66 | 42 | 01000010 |
| C | 67 | 43 | 01000011 |
| D | 68 | 44 | 01000100 |
| E | 69 | 45 | 01000101 |
| F | 70 | 46 | 01000110 |
| G | 71 | 47 | 01000111 |
| H | 72 | 48 | 01001000 |
| I | 73 | 49 | 01001001 |
| J | 74 | 4A | 01001010 |
| K | 75 | 4B | 01001011 |
| L | 76 | 4C | 01001100 |
| M | 77 | 4D | 01001101 |
| N | 78 | 4E | 01001110 |
| O | 79 | 4F | 01001111 |
| P | 80 | 50 | 01010000 |
| Q | 81 | 51 | 01010001 |
| R | 82 | 52 | 01010010 |
| S | 83 | 53 | 01010011 |
| T | 84 | 54 | 01010100 |
| U | 85 | 55 | 01010101 |
| V | 86 | 56 | 01010110 |
| W | 87 | 57 | 01010111 |
| X | 88 | 58 | 01011000 |
| Y | 89 | 59 | 01011001 |
| Z | 90 | 5A | 01011010 |
| a | 97 | 61 | 01100001 |
| b | 98 | 62 | 01100010 |
| c | 99 | 63 | 01100011 |
| d | 100 | 64 | 01100100 |
| e | 101 | 65 | 01100101 |
| f | 102 | 66 | 01100110 |
| g | 103 | 67 | 01100111 |
| h | 104 | 68 | 01101000 |
| i | 105 | 69 | 01101001 |
| j | 106 | 6A | 01101010 |
| k | 107 | 6B | 01101011 |
| l | 108 | 6C | 01101100 |
| m | 109 | 6D | 01101101 |
| n | 110 | 6E | 01101110 |
| o | 111 | 6F | 01101111 |
| p | 112 | 70 | 01110000 |
| q | 113 | 71 | 01110001 |
| r | 114 | 72 | 01110010 |
| s | 115 | 73 | 01110011 |
| t | 116 | 74 | 01110100 |
| u | 117 | 75 | 01110101 |
| v | 118 | 76 | 01110110 |
| w | 119 | 77 | 01110111 |
| x | 120 | 78 | 01111000 |
| y | 121 | 79 | 01111001 |
| z | 122 | 7A | 01111010 |
| 0 | 48 | 30 | 00110000 |
| 1 | 49 | 31 | 00110001 |
| 2 | 50 | 32 | 00110010 |
| 3 | 51 | 33 | 00110011 |
| 4 | 52 | 34 | 00110100 |
| 5 | 53 | 35 | 00110101 |
| 6 | 54 | 36 | 00110110 |
| 7 | 55 | 37 | 00110111 |
| 8 | 56 | 38 | 00111000 |
| 9 | 57 | 39 | 00111001 |
| space | 32 | 20 | 00100000 |
Hex, decimal and octal output
Binary is base 2, octal is base 8, decimal is base 10 and hex is base 16 (radix on Wikipedia). One byte has four spellings: 72 in decimal, 48 in hex, 110 in octal and 01001000 in binary. Developers read hex dumps all day, so the Hex option matches what debuggers and network traces show. Decimal and octal are handy for classroom exercises and puzzles.
Why UTF-8 matters for binary code
Older binary converters only handle 8-bit ASCII, and they break on accents and emoji. UTF-8 keeps every ASCII character at one byte and uses two to four bytes for everything else (RFC 3629). That is why “café” is five bytes and “Hello 👋” is ten. Switch to ASCII (strict) when a message has to stay within 7-bit characters, for example in a plain-text test or a classroom exercise.
Tips for reading binary
- Use the space separator while you learn: each byte is easy to count. Choose None when you need one continuous string.
- Look for groups of eight. If your binary has 9, 10 or 12 digits in a group, a digit was lost when it was copied.
- Paste long text as it is. Above about 50,000 characters the page updates after a short pause, so it stays responsive.
Binary translator FAQ
How do I translate binary to text?
Paste binary into the top box, or leave Auto on. Each group of eight 0s and 1s is one byte. The bytes are read as UTF-8, and the text appears in the output box as you type. Spaces, commas and new lines between groups are optional.
How do you convert text to binary?
Type or paste text in the top box. Each character becomes its UTF-8 bytes, and each byte becomes eight digits of 0 and 1. Choose the separator between bytes: space, none or new line.
What does 01001000 01101001 mean?
It spells Hi. Each group of eight digits is one byte: 01001000 is 72, the ASCII code for H, and 01101001 is 105, the code for i. Paste the digits in the top box to see the text.
Why are there 8 digits in each group?
A byte is 8 bits, so one byte holds 256 values, from 0 to 255. ASCII letters, digits and punctuation fit in one byte. Characters outside ASCII use two to four bytes in UTF-8.
Why doesn't my binary decode correctly?
Check that every group has eight digits. Shorter groups are padded with zeros on the left. A group of 9 to 15 digits cannot be whole bytes, so it is skipped and listed under errors. A byte that does not form valid UTF-8 shows as a replacement symbol and is counted with its group number.
Can binary represent emoji and non-English characters?
Yes, with UTF-8. The waving-hand emoji 👋 takes four bytes: 11110000 10011111 10010001 10001011. Choose ASCII (strict) to see which characters fall outside the 128 ASCII codes; those are skipped and listed.
What is the difference between binary and ASCII?
ASCII is a code: 128 characters, each given a number from 0 to 127. Binary is just how a number is written, in base 2. The capital A is 65 in ASCII, which is 01000001 in binary. UTF-8 is a wider encoding that keeps ASCII characters as they are.
Can I convert to hexadecimal or decimal instead of 0s and 1s?
Yes. Pick Hex, Decimal or Octal in the output format. Each byte is shown in that base: H is 48 in hex, 72 in decimal and 110 in octal.
Is this free and private? Is my text uploaded?
Yes, it is free, with no sign-up. Conversion runs in your browser, so your text never leaves your device. Copy link puts the text after the # in the URL, and browsers do not send that part to a server. Once the page has loaded, conversion needs no network connection.