How it works
This text to binary translator writes each character you type as UTF-8 bytes, eight ones and zeros apiece, and turns pasted binary back into words. The table below lists 163 characters in decimal, hex and binary, 95 of them ASCII.
Read the full guide
One box, both directions
To translate text to binary, type in Your text. Each byte appears as eight bits, with a space between bytes. Swap makes the box a decoder: it reads whole bytes, and the note names any bits left over or any zeros it had to add. This text to binary converter is online, free and runs in your browser.
How to convert binary to text by hand
Cut the bits into groups of eight from the left. The places are worth 128, 64, 32, 16, 8, 4, 2 and 1, so 01001000 is 64 plus 8: 72, which is H. For letters, 010 opens a capital, 011 a small letter, and the last five bits give the place in the alphabet. A byte starting with 1 is past ASCII.
Tips
- Case is one bit, worth 32: Latin capital letter A is 01000001 and Latin small letter a is 01100001.
- A 101 Morse code translator has nothing to translate: 101 is binary for 5, and the character 5 is 00110101.
- Past ASCII, 110 opens a two-byte character, 1110 three and 11110 four. Euro sign costs three bytes, Grinning face four.
Questions and answers
Does an English to binary translator know English?
No. It is an encoder: French or emoji go through alike. Every character has a number, and UTF-8 writes it as one to four bytes. ASCII, first published in 1963, fixed the first 128 and UTF-8 kept them, so A is 01000001 in both.
What does 11111 binary to text give?
Nothing you can print, so this page shows [US]. Five bits are not a byte, so the decoder adds three zeros in front: 00011111, or 31. Code 31 is the unit separator, one of 33 ASCII control codes. Printable characters start at 32, the space.
Are 1s and 0s Morse code?
No. Morse is dots and dashes, and its letters differ in length (E is one dot); every byte is eight bits. Feed a Morse code translator 1 and 0, or 01 as one word, and it sends back numerals. Press Swap and paste them here.