Skip to content

Text to Binary Converter (and Binary to Text)

The binary converter turns text into the 0s and 1s computers use and binary code back into text. UTF-8 is the default, so accented letters and emoji convert correctly. Output in binary, hex, octal or decimal, with spaces or commas between bytes. The character table shows how many bytes each character takes. Everything runs in your browser.

Previewing with “Hello”.

Direction

Encoding

Base

Separator

Code

5 characters · 5 bytes

Character table

CharacterUnicodeBytes
HU+004801001000
eU+006501100101
lU+006C01101100
lU+006C01101100
oU+006F01101111

How to convert text to binary

  1. Type text or binary; if there are only 0s, 1s and spaces, the tool decodes.
  2. Choose the encoding: UTF-8 is the safe choice.
  3. Pick the output base (binary, hex, octal, decimal) and the separator.
  4. Copy the result and check each character’s bytes in the table.

Tips

  • If binary will not decode, check the encoding: UTF-8 text read as Latin-1 turns into garbled characters.
  • A binary string without spaces is split into groups of 8; an unfinished last group is flagged as missing bits.
  • Hex with a 0x prefix also decodes: “0x48 0x69” and “48 69” give the same result.
  • For bracelets or tattoos pick a short word: every letter takes at least 8 digits.

Characters in binary

The table shows UTF-8 binary and hex values made with this page’s tool. English letters take 1 byte, accented letters 2, symbols such as ❤ 3, and most emoji 4.

CharacterBinary (UTF-8)HexLength
A01000001411 bytes
a01100001611 bytes
é11000011 10101001C3 A92 bytes
ß11000011 10011111C3 9F2 bytes
❤11100010 10011101 10100100E2 9D A43 bytes

What is binary code?

Computers store everything as two states: 1 or 0. Eight binary digits make a byte, which holds a value from 0 to 255; 01000001 is 65, the number of the capital A. Converting text takes two steps: find each character’s Unicode number, then turn it into bytes with an encoding. Most of the web uses UTF-8, so that is the default. Hex writes the same bytes more briefly: 41 instead of 01000001.

Why do accented letters take 16 bits?

ASCII has only 128 characters. UTF-8 keeps those at 1 byte and uses 2–4 bytes for the rest, so é is 11000011 10101001. The leading 110 and 10 bits tell a decoder the two bytes belong together. UTF-16 shows 16-bit units instead; Latin-1 is display only and cannot hold many letters, which the tool writes as ? (3F) and lists.

Binary for gifts and tattoos

Binary is a popular way to write a name or short phrase that only insiders can read, on bracelets, pendants and minimal tattoos. “I LOVE YOU” in UTF-8 is:

01001001 00100000 01001100 01001111 01010110 01000101 00100000 01011001 01001111 01010101

Decode it with this tool before ordering the design; one missing digit changes the whole letter.

ASCII vs UTF-8

  • ASCII: a 7-bit table from the 1960s with 128 characters: English letters, digits and basic punctuation.
  • UTF-8: writes every Unicode character in 1–4 bytes; the first 128 are identical to ASCII.
  • UTF-16: uses 16-bit units, as Windows and JavaScript do internally; many platforms count limits in these units.
  • Latin-1: an older single-byte table for Western European languages, now replaced by UTF-8.

For dots and dashes try the Morse code translator; for an older number system try the Roman numeral converter. Special characters are on the symbols page.

Text to binary FAQ

What is binary code?

Binary is a number system written with only 0 and 1. Computers store text, images and sound this way. A group of eight digits is a byte, and in text each byte or group of bytes stands for a character: 01000001 is A.

Why do some letters take 16 bits?

Letters outside ASCII’s 128 characters take 2 or more bytes in UTF-8: é = 11000011 10101001. This is correct; a decoder reads the bytes together.

How do I convert binary to text?

Paste the code. If it has only 0, 1, spaces and commas the tool decodes automatically, splits unspaced input into groups of 8, flags invalid groups and shows broken UTF-8 as �. For hex, octal or decimal, choose “Code → Text” and the base.

What is the difference between ASCII and UTF-8?

ASCII is an old 128-character table. UTF-8 writes every Unicode character in 1–4 bytes and matches ASCII for the first 128, so plain English text gives the same binary in both.

Related tools