Every letter you have ever typed on a computer is, underneath, a string of zeros and ones. Binary is the only language a processor truly speaks: each character is stored as one or more bytes, and each byte is eight binary digits — bits — that are either on or off. This converter shows you that hidden layer. It turns text into binary, turns binary back into text, and converts whole numbers into binary too, all instantly and entirely inside your browser.
The conversion follows the same rules your device uses. Text is first written out as its UTF-8 bytes — the universal encoding behind the web — and each byte becomes an 8-digit binary group. That is why the letter “A” becomes 01000001 (byte 65), while “é” becomes two groups and an emoji becomes four: UTF-8 simply needs more bytes for them. Decoding runs the process in reverse, and because both directions use UTF-8, a round trip always gives you back exactly the text you started with, in any language.
How binary text conversion works
Each character has a number. In the original ASCII table, capital A is 65, lowercase a is 97, and a space is 32. Write that number in base 2 — counting in powers of two instead of powers of ten — pad it to eight digits, and you have the character's binary form. Modern text goes further: Unicode assigns a number to over a hundred thousand characters, and UTF-8 stores each one in one to four bytes. The converter handles all of that bookkeeping for you; you just see clean groups of eight digits, separated by spaces so your eye can follow them.
Example: “Hi” in binary
The friendliest two letters in computing:
convert to:
H is byte 72, which is 64 + 8, giving 01001000. The letter i is byte 105, which is 64 + 32 + 8 + 1, giving 01101001. Paste that binary into “Binary → Text” mode and “Hi” comes straight back. For numbers, the same powers of two do the work: 2026 becomes 11111101010, an 11-bit number, which the number mode shows grouped as 00000111 11101010 so it lines up in whole bytes.
Common characters in binary
| Character | Byte value | Binary | Character | Byte value | Binary |
|---|---|---|---|---|---|
| Space | 32 | 00100000 | A | 65 | 01000001 |
| ! | 33 | 00100001 | B | 66 | 01000010 |
| 0 | 48 | 00110000 | Z | 90 | 01011010 |
| 1 | 49 | 00110001 | a | 97 | 01100001 |
| 9 | 57 | 00111001 | z | 122 | 01111010 |
One pattern worth noticing: the digits 0–9 sit at bytes 48–57, and their binary ends with the digit's own value — 00111001 for 9. Capital and lowercase letters differ by exactly one bit, the “32” bit, which is how computers flip case so cheaply. Little regularities like these are why binary, for all its reputation, is surprisingly friendly once you look at real examples instead of theory.
Reading a byte by hand
Once you know the trick, you can read any 8-digit group without a tool. The eight positions are worth 128, 64, 32, 16, 8, 4, 2 and 1 from left to right; simply add up the positions holding a 1. Take 01101001: the ones sit at 64, 32, 8 and 1, which totals 105 — the letter “i” from the example above. Going the other way, subtract the largest power of two that fits, mark a 1 there, and repeat with what is left. Two minutes of practice and bytes stop looking like noise and start looking like numbers wearing a costume.
When binary conversion is actually useful
Students meet binary in computing classes and reach for a converter to check homework — fair enough, and the worked examples here are designed to show the method, not just the answer. Developers use it to inspect what a protocol, file format or embedded device is really sending. Puzzle designers hide messages in binary because it looks intimidating while being trivially decodable — with this tool, in both directions, by anyone. And if you simply enjoy seeing your name the way a machine sees it, that is a perfectly good reason too.
Frequently asked questions
How do I convert text to binary?
Type or paste your text in “Text → Binary” mode. Each character is turned into its UTF-8 bytes, and each byte is written as an 8-digit binary number, so every character becomes one or more groups of eight zeros and ones.
How do I convert binary back to text?
Switch to “Binary → Text”, paste the binary in, and press the button. Spaces and line breaks between the 8-digit groups are ignored, the bytes are read back, and the original text appears — accents and emoji included, because the decoding is UTF-8 aware.
Why does every character take 8 binary digits?
Computers store text as bytes, and one byte is exactly 8 bits — 8 binary digits. The letter A is byte 65, written in binary as 01000001. Characters outside plain English, like é or ☕, need two to four bytes in UTF-8, so they produce two to four groups.
Why did my binary fail to decode?
Almost always, a digit is missing or an extra one slipped in while copying — the total count of zeros and ones must be a multiple of 8. The tool tells you the exact digit count it found, which makes the odd one out easy to spot.
What is the number to binary mode for?
It converts a plain whole number — say 2026 — into its binary form, grouped into bytes, and reports how many bits it needs. It uses exact big-number arithmetic, so very large numbers convert correctly instead of being rounded.
Is binary the same as Base64?
No. Binary writes every byte as eight 0/1 digits and is about eight times longer than the original. Base64 writes data with 64 different characters and is only about a third longer. Binary is mainly for learning and debugging; Base64 is for transporting data.
Can computers read binary with spaces removed?
Yes — the spaces are only there to help human eyes find the byte boundaries. This tool accepts binary with or without spaces and line breaks, as long as the total number of digits is a multiple of 8.
What does UTF-8 safe mean here?
It means text in any language converts correctly. Simple converters that only handle the 128 ASCII characters break on accented letters, Arabic or Chinese script and emoji; this one encodes the text's UTF-8 bytes, so a round trip always returns exactly what you started with.
Is this binary converter free and private?
Yes. It is free with no sign-up, and everything runs in JavaScript inside your own browser — your text is never uploaded, stored or logged anywhere.