Text to Binary Converter

Convert text to binary (0s and 1s) and binary back to text. Also shows hex and decimal values.

How Binary Text Encoding Works

Every character has a numeric value in ASCII (or Unicode). Binary encoding converts each character's decimal code to 8-bit binary. For example, 'A' = 65 decimal = 01000001 binary.

CharDecimalHexBinary
A654101000001
a976101100001
0483000110000
Space322000100000

How Text Becomes Binary

Computers store text as numbers. Each character maps to a code point — for basic English, the ASCII table assigns A = 65, a = 97, space = 32, and so on. That number is then written in binary (base 2) using 8 bits per character, so "Hi" becomes 01001000 01101001. This tool does the lookup and base conversion for every character at once, in both directions.

ASCII, Unicode and UTF-8

ASCII covers 128 characters, enough for English. Modern text uses Unicode, which assigns a code point to every character in every language and emoji, and UTF-8 encodes those points in one to four bytes. For plain English letters and digits the binary is identical, which is why ASCII still works as a teaching model.

Common Uses

Converting text to binary is mostly for learning how encoding works, computer-science homework, puzzle and escape-room clues, and demonstrating data representation. To work with other bases, try the binary converter.

Frequently Asked Questions

Each character maps to its ASCII code, which is converted to 8-bit binary. 'A' = 65 decimal = 01000001 binary.
8 bits (1 byte) can represent 256 values (0-255), covering all standard ASCII characters.
No. Binary is just a representation — anyone can decode it instantly. It provides no security.