Every letter you type is stored by a computer as a number, and every number can be written in binary: a row of ones and zeros. Converting text to binary lets you see that hidden layer for yourself, whether you are learning how computers represent data, checking an encoding, or preparing a string for a puzzle, a lesson or a piece of low-level work.
This guide explains the conversion using the free Text to Binary Converter on Ovatly. The converter turns text into the 8-bit binary form of its UTF-8 bytes, and it converts binary back into text as well. Because it works on UTF-8 bytes, accented letters and emoji convert correctly instead of breaking the way single-byte converters do. You will see exactly what happens to a short word, byte by byte, and how to read the output when one character turns into several groups of bits.
Contents
- Quick answer
- Bits and bytes, in plain terms
- Why one character is not always one group
- How to read the output format
- How to convert text to binary, step by step
- Worked example: the word Hi, byte by byte
- Limitations and alternatives
- Common mistakes
- FAQs
- Conclusion
Quick answer
Open the Text to Binary Converter, choose the Text to binary direction, type or paste your text, and read the output: one 8-bit group of binary digits per byte, with the groups separated by spaces. The word Hi becomes 01001000 01101001, because H is byte 72 and i is byte 105. Plain English letters, digits and punctuation take one byte each. Characters outside plain ASCII, such as accented letters and emoji, take two to four bytes in UTF-8, so one visible character can produce several binary groups. When you are done, copy the result or download it. Nothing is uploaded; the conversion runs in your browser.
Bits and bytes, in plain terms
A bit is a single binary digit, a 0 or a 1, the smallest unit of information a computer handles. A byte is a group of eight bits read together, and eight bits can hold 256 different values, numbered 0 to 255. Text is stored as a sequence of bytes, and a character encoding table decides which character each byte stands for. In UTF-8, the encoding most of the modern world uses, plain English letters sit at the same numbers ASCII gave them long ago: H is 72 and i is 105. Converting text to binary means writing each of those byte numbers out in base two, padded to eight digits, so 72 becomes 01001000 and 105 becomes 01101001.
Why one character is not always one group
The one-character-one-byte habit comes from ASCII, which only covers plain English letters, digits and common punctuation, and gives each of them a single byte. UTF-8 keeps every one of those assignments, so for plain English text the two agree exactly. The difference appears once text includes anything beyond that set. Characters outside plain ASCII take two to four bytes in UTF-8, and because this converter works byte by byte, each of those bytes becomes its own 8-bit group. An accented letter typically produces two groups. Most emoji are four bytes, so a single emoji produces four groups, 32 bits in total.
This is also where older single-byte converters break. A tool that assumes one byte per character has no way to represent an accented letter or an emoji, so it drops the character, replaces it or produces output that cannot be converted back. Working on UTF-8 bytes from the start avoids the whole problem: every character has a defined byte sequence, and every byte sequence converts back to the character it came from.
How to read the output format
The output is a row of 8-bit groups separated by spaces, one group per byte. Three habits make it easy to read. First, count the groups to count the bytes: two groups means two bytes, whether they came from two plain letters or one accented character. Second, treat the leading zeros as part of the byte, not decoration. The byte for H is 01001000; written without its leading zero it would be seven digits, and the grouping would fall apart. Third, read each group as a number if you want to check it: the eight positions are worth 128, 64, 32, 16, 8, 4, 2 and 1 from left to right, and adding the positions that hold a 1 gives the byte value.
How to convert text to binary, step by step
- Open the Text to Binary Converter and choose the Text to binary direction.
- Type or paste the text you want to convert into the input box.
- Read the converted output. The binary appears as 8-bit groups separated by spaces, and any problem is explained in plain words.
- Copy the result, or download it if you want to keep it as a file.
Worked example: the word Hi, byte by byte
Take the shortest useful example, the word Hi. It has two characters, and both are plain ASCII, so it converts to two bytes.
The letter H is byte 72. Writing 72 in binary means finding which of the eight positions add up to it: 64 plus 8 is 72, so the 64 and 8 positions hold a 1 and the rest hold a 0, giving 01001000.
The letter i is byte 105. The positions that add up to 105 are 64, 32, 8 and 1, so its group is 01101001.
Put together with a space between the groups, the full result is:
01001000 01101001
That string is the complete binary form of Hi. Paste it into the reverse direction of the same converter and you get Hi back, which is the simplest check that a conversion was done correctly: a round trip should always return your original text unchanged.
Limitations and alternatives
Binary output grows fast. Every byte becomes eight digits plus a space, so a paragraph of text turns into a wall of bits that is impractical to read or type by hand. The format is meant for checking, learning and machine-readable snippets, not for storing documents.
Conversion is also not encryption. Binary is a public encoding with a fixed table, so anyone can convert your output straight back into readable text. Never use it to hide passwords, keys or anything private.
Finally, know which encoding a result belongs to. This converter produces the binary form of UTF-8 bytes. For plain English that matches the classic ASCII charts exactly, but for accented letters and emoji the output will differ from an ASCII-only tool, and the UTF-8 version is the one that converts back correctly.
Common mistakes
- Dropping the leading zeros. A group of seven digits is a broken byte. Every group must be exactly eight bits, zeros included.
- Expecting one group per character. That only holds for plain ASCII. Accented letters and emoji legitimately produce two to four groups each.
- Treating binary as a secret code. It is an encoding, not a cipher, and it hides nothing from anyone who cares to decode it.
- Comparing against an ASCII chart for non-English text. The charts agree with UTF-8 only up to plain ASCII. Past that, the byte sequences are different by design.
- Typing long output by hand. Copy or download the result instead; one flipped digit changes the byte, and a long string offers hundreds of chances to flip one.
FAQs
Why does one emoji produce 32 bits? Most emoji are four bytes in UTF-8, and each byte becomes one 8-bit group, so a single emoji shows as four groups.
Is this the same as ASCII binary charts? For plain English letters, digits and punctuation, yes: UTF-8 and ASCII agree on those bytes. They differ once text includes accented letters or emoji.
Why does one character sometimes produce more than one binary group? Because the converter works on UTF-8 bytes, not on visible characters. Characters outside plain ASCII take two to four bytes in UTF-8, so one visible character can produce several binary groups.
What do the spaces in the output mean?
Each group of eight bits is one byte, and the spaces separate the bytes so you can read them one at a time. The word Hi, for example, is two bytes, so it shows as two groups: 01001000 01101001.
Is my text uploaded? No. Encoding and decoding run in your browser on your device.
Conclusion
Text to binary conversion is a byte-by-byte translation: each byte of your text, written out as eight binary digits, groups separated by spaces. The Text to Binary Converter does it on UTF-8 bytes, so plain English matches the classic charts and accented letters and emoji still convert correctly. When you are ready to run the process in reverse, the companion guide shows how to decode binary back into readable text. More guides like this one live in the Text and Writing Tools guides archive.