Skip to main content
Premier SEO Services

Binary converters

Text to Binary Converter

Translate any text into binary code, one 8-bit byte per ASCII character and two to four bytes for accented letters and emoji, with a table showing how each character was encoded.

  • Runs in your browser
  • Free, no sign-up
  • Unlimited use
  • Updated 30 September 2026

Text to Binary Converter

Paste your text — the result updates as you type

  • The breakdown table lists the first 300 characters; the binary output is always complete.

How to use the text to binary converter

  1. 1Type or paste your text into the Text box. The binary appears in the Binary box as you type.
  2. 2Choose Encoding: UTF-8 handles every character, including emoji; ASCII limits you to the 128 basic characters and allows 7-bit output.
  3. 3Pick a Separator (space, none, comma or new line) to match where you are pasting the result.
  4. 4Check the Character-by-character breakdown to see each character's code point, decimal, hex and binary bytes, then press Copy or Download.
  5. 5To go the other way, switch Direction to Binary → Text; the current binary moves into the input box.

Example

Input
Hi!
Output
01001000 01101001 00100001

H is 72, i is 105 and ! is 33. Each is written as an 8-bit byte. “Café 👍” needs 10 bytes: é takes two and the emoji takes four.

How text becomes binary

Computers store each character as a number, and each number as a pattern of bits. The converter does two lookups:

  1. Character → number. Unicode assigns every character a code point. Capital H is 72, lower-case i is 105.
  2. Number → bits. The number is written in base 2 and padded to a full byte: 72 = 64 + 8 = 01001000.

So “Hi” becomes 01001000 01101001. A byte has eight bits, which can hold values 0 to 255. One letter of English text is one byte, which answers the common question of how many bits one letter takes: eight.

ASCII vs UTF-8

ASCII (1963) defines 128 characters: English letters, digits, punctuation and control codes, numbered 0–127. Seven bits are enough for that range, so some textbooks write ASCII as 7-bit groups (H = 1001000).

UTF-8 (RFC 3629) is how almost all text on the web is stored today. It keeps the 128 ASCII characters as single bytes, identical to ASCII, and uses more bytes for everything else:

CharactersBytesExample
ASCII (U+0000–U+007F)1A = 01000001
Accented Latin, Greek, Cyrillic, Hebrew, Arabic2é = 11000011 10101001
Most other scripts (Chinese, Hindi, Thai)3中 = 3 bytes
Emoji and rare characters4👍 = 11110000 10011111 10010001 10001101

That is why emoji take more than 8 bits: their code points are above 65,535 and UTF-8 needs four bytes to carry them.

Character-by-character breakdown

Below the result, a table lists each character with its Unicode code point (U+0048), its byte values in decimal and hex, and the bits. Multi-byte characters show all their bytes on one row, so you can see that the leading bits of a UTF-8 byte (110, 1110, 11110) say how many bytes belong to the character and that continuation bytes always start with 10.

Spaces, tabs and new lines are characters too: a space is 32 (00100000) and a new line is 10 (00001010). They appear in the table by name.

Separators and formatting

Most binary puzzles and homework write one byte per group separated by spaces, which is the default. Choose None for a continuous string (useful for checksums or some programming exercises), Comma to paste into an array, or New line for one byte per line. The bits themselves are the same in every format; the separator only changes how they are laid out.

Translating binary back to text

Switch Direction to Binary → Text to decode. The decoder accepts bytes with or without spaces, ignores commas and line breaks, and reads 7-bit groups if every group has seven digits. For a fuller decoder with decimal, hex and octal output and invalid-input checks, use binary to text. For plain ASCII codes and the complete 0–127 table, use the ASCII to binary converter.

Is my text private?

This tool runs entirely in your browser. Your text is not uploaded to our servers.

Sources

Questions about the text to binary converter

What is “hello” in binary?

In ASCII or UTF-8, lower-case “hello” is 01101000 01100101 01101100 01101100 01101111. Capital “Hello” only changes the first byte, to 01001000, because upper- and lower-case letters differ by 32 (one bit).

Why do emoji take more than 8 bits?

One byte can hold only 256 different values, and Unicode has over a million code points. UTF-8 stores characters above U+FFFF, which includes most emoji, as four bytes (32 bits).

How many bits is one letter?

Eight bits (one byte) for any English letter, digit or common punctuation mark. Strict 7-bit ASCII uses seven, and letters outside ASCII, such as é or ß, take 16 bits in UTF-8.

Is the binary different for upper- and lower-case letters?

Yes. A is 65 (01000001) and a is 97 (01100001). The only difference is the bit worth 32, so changing case flips one bit.

Last updated 30 September 2026Maintained by Premier SEO Services

Report a problem