ASCII to Binary Converter
An ASCII to binary converter writes each ASCII character as the 8-bit binary form of its character code.
Example: A = 01000001
This tool uses UTF-8 encoding. Letters and digits in English use one byte each; other characters can use two, three, or four bytes.
Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).
TextBinary
01000001
Convert the letter A to binary
- Find the ASCII code. Uppercase A is decimal 65. In the ASCII table that row is also hex 41.
- Expand 65 in powers of 2. 65 = 64 + 1, so the bits for 64 and 1 are set: 01000001.
- Keep one byte per character. ASCII codes 0–127 always fit in one byte when stored as UTF-8, with a leading 0 in the 8-bit form.
ASCII characters to binary
| Char | ASCII | Binary |
|---|---|---|
| A | 65 | 01000001 |
| a | 97 | 01100001 |
| 0 | 48 | 00110000 |
| space | 32 | 00100000 |
| ! | 33 | 00100001 |
Frequently Asked Questions
What is the binary for A?
A is ASCII 65, which is 01000001. Lowercase a is 97, which is 01100001. Case always changes the code.
Do I use 7 bits or 8 bits?
ASCII codes fit in 7 bits. Computers store them in 8-bit bytes, so the usual written form adds a leading 0, as in 01000001 rather than 1000001.
Can this page encode emoji?
Emoji are not ASCII. The converter still accepts them and emits the UTF-8 bytes, which are more than one byte. Use the ASCII table only for codes 0–127.
What is the binary for the digit 0?
The character 0 is ASCII 48, binary 00110000. That is different from the number 0, whose binary value is 0.