Convert text to binary as 8 bit bytes, or paste binary to turn it back into readable text, with full Unicode support.
| Char | Code point | Hex bytes | Binary |
|---|
Conversion runs entirely in your browser using the standard UTF-8 and UTF-16 rules and the built in TextDecoder, so nothing you type is uploaded. The table shows the first 60 characters.
This free converter turns text to binary and binary back to text for students, programmers, puzzle makers and anyone curious about how computers store letters. It encodes every character with UTF-8, the encoding used by most web pages, so accents, symbols such as £ and €, and emoji convert correctly, and a byte table shows exactly how each character is stored.
Quick answer: To convert text to binary, find each character's code, encode it as bytes (UTF-8 for most text) and write each byte as 8 binary digits. "H" is 72, which is 01001000, so "Hello" becomes 01001000 01100101 01101100 01101100 01101111. Characters beyond basic English use 2 to 4 bytes.

In This Guide
What Is a Text to Binary Converter?
A text to binary converter is a tool that shows the ones and zeros a computer uses to store each character of your text. Computers keep everything as bits, and a group of 8 bits, called a byte, can hold any value from 0 to 255.
The method is: character → Unicode code point → bytes in an encoding → 8 bits per byte. The first 128 code points match ASCII, so English letters, digits and common punctuation each take one byte in UTF-8. Other characters take 2, 3 or 4 bytes, each starting with a bit pattern that tells the decoder how many bytes belong together.
How to Use the Text to Binary Converter
Step 1: Choose a Direction
Pick Text to binary to encode, or Binary to text to use the tool as a binary translator. Switching direction carries your last result across, so you can check a round trip.

Step 2: Type Text or Paste Binary
Enter up to 20,000 characters. When decoding, bytes can be separated by spaces, commas or new lines, or run together in one long string, which the tool splits into groups of 8 bits.

Step 3: Set Encoding and Separator
Keep UTF-8 unless you know your data uses UTF-16, which Windows and Java often use internally. Choose a space, comma, new line or no separator between bytes to match the format you need.

Step 4: Copy and Check the Result
Press Copy result. The counts show characters, bytes and bits, and the table lists each character with its code point, hex bytes and binary, so you can see which characters needed more than one byte.

How Is Text Converted to Binary Step by Step?
Text is converted to binary by turning each character into its code point, encoding that number as bytes and writing each byte in base 2. To write 72 in binary, split it into powers of two: 64 + 8 = 72, which gives 01001000.
| Character | Code point | UTF-8 bytes | Binary |
|---|---|---|---|
| A | U+0041 (65) | 41 | 01000001 |
| a | U+0061 (97) | 61 | 01100001 |
| 0 | U+0030 (48) | 30 | 00110000 |
| space | U+0020 (32) | 20 | 00100000 |
| £ | U+00A3 (163) | C2 A3 | 11000010 10100011 |
| € | U+20AC (8364) | E2 82 AC | 11100010 10000010 10101100 |
| 😀 | U+1F600 (128512) | F0 9F 98 80 | 11110000 10011111 10011000 10000000 |
Capital and small letters differ by one bit: A is 01000001 and a is 01100001, a gap of 32. That is why text to binary output for the same word looks almost identical in upper and lower case.
Why Do Some Characters Need More Than 8 Bits?
Some characters need more than 8 bits because one byte only has 256 values, while Unicode defines over a million possible code points. UTF-8 keeps English text at one byte per character and spreads everything else over 2 to 4 bytes.
Worked example: Leo converts the word "Café". C, a and f take one byte each: 01000011, 01100001 and 01100110. The é is U+00E9, which UTF-8 stores as two bytes, 11000011 10101001. So "Café" is 4 characters but 5 bytes, or 40 bits. A converter that assumes one byte per letter would print a wrong 8 bit value for é that cannot be decoded.
Browsers expose the same rules through the TextEncoder interface, which always produces UTF-8 bytes. This tool follows the same encoding rules, so its output matches the bytes a real web page would send.
How Do You Convert Binary to Text?
To convert binary to text, split the bits into bytes of 8, turn each byte into a number and decode the bytes with the same encoding used to create them. 01001000 01101001 is 72 and 105, which decodes to "Hi".
If a bit is missing, every byte after it shifts and the text turns into nonsense, so the tool warns you when a group is not 8 bits long. To turn a single binary number into a decimal value instead, use the binary to decimal converter, and to share data safely in emails or URLs, the Base64 encoder and decoder packs bytes into plain letters. Figures on this page were checked October 2026.
Key Text to Binary Terms Explained
These terms explain how characters become bits, so every byte that a text to binary conversion produces on this page can be checked by hand.
- Bit and byte
- A bit is a single binary digit, 0 or 1, and a byte is a group of 8 bits holding a value from 0 to 255. The letter H is stored as the byte 01001000, which equals 72.
- Code point
- A code point is the number Unicode assigns to each character, written U+ and a hexadecimal value. A is U+0041, which is 65, the euro sign is U+20AC and the grinning face emoji is U+1F600.
- UTF-8
- UTF-8 is the encoding most web pages use. It stores the first 128 code points in one byte, matching ASCII, and other characters in 2 to 4 bytes, so é becomes 11000011 10101001.
- ASCII
- ASCII is an early character table of 128 codes covering English letters, digits, punctuation and control characters. Its codes run from 0 to 127, so every ASCII character fits in one byte with a leading 0.
- UTF-16
- UTF-16 is an encoding that uses 2 bytes for most characters and 4 bytes for code points above U+FFFF, such as emoji. Windows and Java use it internally, so choose it only when your data needs it.
</>Embed this calculator on your website
Add the free Text to Binary Converter to your own site or blog. Copy the code below and paste it into an HTML block. It resizes itself and works on phones.
How we checked this tool: Zahid Awais built this tool, checked it against the official rules or published standards where they apply, and tested it against worked examples. Results are estimates for planning, not personal financial or tax advice. Read our editorial policy and disclaimer, or report an error.
Related Tools and Guides
Frequently Asked Questions
What is hello in binary?
In UTF-8 or ASCII, hello is 01101000 01100101 01101100 01101100 01101111. Each letter takes one byte: h is 104, e is 101, l is 108 and o is 111. With a capital H, the first byte becomes 01001000.
How many bits are in one letter?
An English letter uses 8 bits, one byte, in UTF-8 and ASCII. Accented letters such as é use 16 bits, the euro sign uses 24 bits and most emoji use 32 bits, because UTF-8 needs more bytes for them.
Is binary code the same as ASCII?
No. ASCII is a table that gives each of 128 characters a number, and binary is just a way of writing that number in ones and zeros. UTF-8 matches ASCII for those first 128 characters.
Can I convert emoji to binary?
Yes. Most emoji sit above U+FFFF, so UTF-8 stores them in 4 bytes, or 32 bits. The grinning face 😀 is U+1F600 and becomes 11110000 10011111 10011000 10000000.
Why does my binary decode to strange symbols?
Strange symbols usually mean a bit is missing or extra, which shifts every byte after it, or that the binary was made with a different encoding. Check that each group has 8 bits and try UTF-16 if UTF-8 fails.
Is my text uploaded anywhere?
No. The conversion runs in your browser using JavaScript and the browser's built in TextDecoder, so the text you type never leaves your device and is not stored.