Binary Translator
A two-way binary translator: type text to see it as binary code, or paste binary to translate it back into text. Conversion happens instantly in your browser.
How to convert text to binary
- Leave Convert on Text → code and Format on Binary.
- Type or paste your text in the top box.
- The binary appears in the bottom box as you type. Press Copy result to copy it.
To go the other way, choose Code → text and paste the binary. Spaces between bytes are optional; without them the converter reads eight digits at a time. Swap moves the result to the input and reverses the direction, which is a quick way to check a conversion.
How text becomes binary
Computers store everything as numbers. Each character has a number assigned by a standard called Unicode, whose first 128 characters are the older ASCII set. That number is then written in base 2, using only the digits 0 and 1, and padded to eight digits. Eight binary digits (bits) make one byte.
Take the capital letter A. Its number is 65. In binary, 65 is 1000001, and padded to eight bits it becomes 01000001.
| Character | Decimal | Hex | Binary |
|---|---|---|---|
| A | 65 | 41 | 01000001 |
| B | 66 | 42 | 01000010 |
| a | 97 | 61 | 01100001 |
| z | 122 | 7A | 01111010 |
| 0 | 48 | 30 | 00110000 |
| 9 | 57 | 39 | 00111001 |
| space | 32 | 20 | 00100000 |
| ! | 33 | 21 | 00100001 |
So the word Hi is two bytes: 01001000 01101001. Capital and lower-case letters have different codes, which is why A and a give different binary.
Accents, other alphabets and emoji
This converter uses UTF-8, the encoding used by almost every website. In UTF-8 the basic English characters take one byte each, while accented letters, non-Latin scripts and emoji take two to four bytes. For example, é becomes two bytes, 11000011 10101001. That is correct and it converts back to the same character.
Binary, hexadecimal and decimal
These are three ways of writing the same byte values. Binary is base 2 and uses eight digits per byte. Hexadecimal is base 16 and needs only two characters per byte, which is why programmers prefer it. Decimal is the everyday base 10 number, from 0 to 255 for one byte. Decimal values vary in length, so they always need spaces between them.
Want to learn to do this by hand? See how to read binary code. For stylised text rather than ones and zeros, try the hacker text generator.
Binary translator FAQ
What is a binary translator?
A binary translator converts ordinary text into binary code, the ones and zeros a computer stores, and converts binary code back into readable text.
How does a binary translator work?
It looks up the number assigned to each character, writes that number in base 2 using eight digits, and joins the results. To translate binary to text it does the reverse, reading eight digits at a time.
How do I convert text to binary?
Type the text into the converter and the binary appears immediately. By hand, look up each character's ASCII number and write that number in base 2 using eight digits.
What is 01101000 01101001 in text?
It is "hi". 01101000 is 104, the code for lower-case h, and 01101001 is 105, the code for lower-case i.
How do I convert binary back to text?
Choose Code → text, paste the binary and the text appears. Binary without spaces is read eight digits at a time.
Is my text uploaded anywhere?
No. The conversion runs in your browser and the text is not sent to a server.
Why does one character give more than eight digits?
Characters outside basic English, such as accented letters and emoji, need two to four bytes in UTF-8, so they produce 16 to 32 binary digits.
More tools
- Hacker Text GeneratorLeet speak and glitch text to copy and paste.
- Password GeneratorStrong random passwords, made in your browser.
- Hacker TyperThe classic: mash any key, get lines of kernel code.
- Hacker SimulatorA full fake hacking dashboard with one click.
- Fake Update ScreenWindows, Mac and more: an update that never finishes.
- Matrix RainFalling green code with colour, speed and size controls.
- White ScreenPure white for light, tracing and pixel checks.