Binary Translator

Convert text to binary (8-bit per character) or decode binary back to readable text. Useful for learning, encoding exercises, and computer science assignments.

Runs locallyInstantPrivate
Input
Output
Binary output appears here.

How text-to-binary conversion works

Every character stored in a computer has a numeric code — its Unicode code point. "A" is code point 65, "a" is 97, space is 32. Binary representation expresses that number in base 2 (using only 0s and 1s). 65 in binary is 1000001 — padded to 8 bits it is 01000001. This tool converts each character to its 8-bit binary representation and joins them with spaces.

Common binary values reference

  • A = 01000001   Z = 01011010
  • a = 01100001   z = 01111010
  • 0 = 00110000   9 = 00111001
  • Space = 00100000   ! = 00100001
  • Hello = 01001000 01100101 01101100 01101100 01101111

Frequently asked questions

Why is each character 8 bits?

A byte (8 bits) is the standard computer storage unit. ASCII characters use 7 bits but are padded to 8 for standard byte alignment. This tool uses the character's code point padded to 8 bits for standard ASCII text.

How do I decode binary to text?

Switch to "Binary → Text" mode, paste space-separated 8-bit codes (e.g. 01001000 01100101 for "He"), and the tool converts each code back to its character.

What are the binary codes for A, B, C?

A = 01000001, B = 01000010, C = 01000011. Capital letters start at decimal 65. Lowercase letters start at decimal 97: a = 01100001.

Does the decoder need exactly 8-bit groups?

No — the decoder accepts any binary number (with or without leading zeros) as long as groups are space-separated. Both 01000001 and 1000001 decode to "A".

Related tools