Text to Binary Code turns text into binary code. Type or paste your text, click the button and copy the ones and zeros. It is free and runs in your browser.
Hello - How are you doing?
01001000 01100101 01101100 01101100 01101111 00100000 00101101 00100000 01001000 01101111 01110111 00100000 01100001 01110010 01100101 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01101001 01101110 01100111 00111111
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool converts text into binary code. Computers store every character as a number, and binary writes that number with only ones and zeros. Each character becomes a group of eight digits, called a byte. For example, the letter H is 01001000, so Hello starts with 01001000 01100101.
Type or paste your text and click the button. The text is read as UTF-8, so plain English letters, digits and punctuation give one byte each, while accents, other scripts and emoji give two to four bytes. You can separate the groups with a space, with nothing, or with a new line.
Line breaks in your text are converted too, and show up as 00001010.
Unless an option is named, the 8-bit groups are separated by a space.
| Setting | Before | After |
|---|---|---|
| Sentence | Hello - How are you doing? | 01001000 01100101 01101100 01101100 01101111 00100000 00101101 00100000 01001000 01101111 01110111 00100000 01100001 01110010 01100101 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01101001 01101110 01100111 00111111 |
| Short text | Hi | 01001000 01101001 |
| One letter | A | 01000001 |
| Digits | 123 | 00110001 00110010 00110011 |
| No separator | Hi | 0100100001101001 |
| New line | Hi | 01001000 01101001 |
| Line break in the text | Hi Hi | 01001000 01101001 00001010 01001000 01101001 |
| Accents | café | 01100011 01100001 01100110 11000011 10101001 |
| Emoji | 👋 | 11110000 10011111 10010001 10001011 |
Learning how computers store text, making puzzles and messages written in ones and zeros, and checking the bytes behind a letter, a symbol or an emoji.
The tool uses UTF-8, so characters outside the plain English alphabet give more than one group. The result is only ones and zeros, so a single mistake changes the meaning of the whole message when it is read back.
To see the same characters as numbers, try String to Decimal. To turn numbers back into text, try Decimal to String. To encode text for the web, try Base64 Encoder.
It converts text into binary code. Each character is written as one or more groups of eight ones and zeros.
Type or paste your text into the box and click Convert to Binary. The binary code appears in the same box, and you can copy it with the Copy button.
Binary is a way of writing numbers with only two digits, 0 and 1. Computers use it to store everything, including text.
A is 01000001. Each letter, digit and symbol has its own number, and the binary code is that number written in eight digits.
Eight binary digits make a byte, which is how computers store one plain character. Shorter numbers are filled at the front with zeros, so 65 becomes 01000001.
Yes. The text is read as UTF-8, so these characters give two to four bytes each. For example, é is 11000011 10101001.
Choose a space, nothing or a new line from the list under the text box. The default is a space.
No, this tool only converts text to binary code.
The tool is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 17 November 2026