Binary to Text Converter

Convert text to binary code and binary back to text. Encode and decode ASCII text in binary (0s and 1s).

About this calculator

Type text and press Text → Binary, or paste binary and press Binary → Text. Both directions work in the same box, with a Copy button.

Binary is how computers store text: every character is a number, and every number is a pattern of bits. This translator makes the link visible. Nothing is uploaded.

How to use it

  1. Type or paste into the box.
  2. Press Text → Binary or Binary → Text.
  3. Press Copy.

How text becomes binary

Computers store each character as a number and write the number in binary. In ASCII the letter A is 65, which is 01000001 in 8-bit binary. Each group of 8 bits is one byte. To decode, read each byte, convert it to decimal and look up the character. Hexadecimal is a shorter way to write the same bytes: A = 41.

Worked example

Examples

A01000001
Hi01001000 01101001
Hello01001000 01100101 01101100 01101100 01101111
01001111 01001011OK

Tips and common mistakes

  • Separate bytes with spaces to avoid ambiguity.
  • Each ASCII character needs 8 bits; accented and non-Latin characters use more bytes in UTF-8.
  • Binary is read right to left: the rightmost bit is worth 1.
  • Capital and lower-case letters differ by one bit (A = 65, a = 97).
  • Use the ASCII Table to look up a character's code.

Frequently asked questions

How do I convert text to binary?

Replace each character with its 8-bit ASCII code.

What is A in binary?

01000001.

How do I convert binary to text?

Split into bytes, convert each to decimal and look up the character.

What is a byte?

8 bits.

Does it support emoji?

Only if the tool handles UTF-8 multi-byte characters.

Why are there spaces between bytes?

For readability.

Related tools