AES Encryption Explained: How It Works and Why It Matters
Jun 23, 2026
Convert text to binary (8-bit ASCII) and back. Toggle spaced output for easy reading.
Binary is a base-2 number system that uses only two digits: 0 and 1. Each binary digit is called a bit. In computing, text is represented as sequences of bits grouped into bytes (8 bits). Binary encoding converts each character into its 8-bit binary representation using the ASCII or Unicode code point.
For example, the ASCII character A (decimal 65) is represented as 01000001 in 8-bit binary, and Hello becomes 01001000 01100101 01101100 01101100 01101111.
8-bit binary encoding uses exactly 8 bits (one byte) per character. Each character's ASCII or Unicode code point is converted to an 8-digit binary number, padded with leading zeros if needed. This is the most common format for representing text in binary.
Yes, but like most binary tools, it uses UTF-16 code units (JavaScript's native string encoding). BMP characters produce 8 bits (1 byte). Supplementary characters (emojis, rare scripts) produce 16 bits (2 bytes) due to surrogate pair encoding.
Yes. The decoder strips all whitespace and processes the remaining binary digits. It automatically groups them into 8-bit chunks, ignoring any non-binary characters (only 0 and 1 are processed).
If the remaining binary digits don't form a complete 8-bit group, they are left-padded with zeros. For example, 1101 becomes 00001101, which decodes to the character with code point 13 (carriage return).
ASCII is a character encoding standard that assigns each letter, digit, and symbol a unique number (0-127). Binary is the numeral system used to represent those numbers. So A in ASCII is 65, and in binary it's 01000001. Binary is how ASCII values are actually stored in computer memory.
Blog
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026