Text · Converter
ASCII to binary converter.
Type ASCII text and get the binary code for each character. A is 01000001 as a byte, or 1000001 in strict 7-bit ASCII. Anything outside ASCII is flagged, not silently changed.
Input
Result
Enter a value to convert it.
How it works
ASCII assigns each of 128 characters a number from 0 to 127, and that number written in base 2 is the character's binary code. Capital A is 65, which is 64 + 1, so its seven bits are 1000001. Computers store ASCII in 8-bit bytes with the top bit set to 0, giving 01000001. The 8-bit form is what you want for files, protocols and most homework; the 7-bit form is the original ASCII width from the standard.
Unlike a general text-to-binary tool, this page is strict: if you paste a curly quote, an accented letter or an emoji, it lists the offending characters rather than encoding their UTF-8 bytes. That is the right behaviour when the task says "ASCII", because those characters are not in ASCII. If you do want UTF-8 bytes for them, use the text to binary converter.
The first 32 codes and code 127 are control characters (tab is 9, line feed is 10, DEL is 127). Lowercase letters are the uppercase code plus 32, which is why a (01100001) differs from A (01000001) in exactly one bit.
Worked examples
| Input | Result |
|---|---|
A | 01000001 |
a | 01100001 |
Hi | 01001000 01101001 |
0 (digit zero) | 00110000 |
Space | 00100000 |
Hello | 01001000 01100101 01101100 01101100 01101111 |
To go the other way, paste the bits into binary to text. To see every code at once, open the ASCII table, or use the binary converter for text, binary, hex and decimal side by side.
Sources: RFC 20: ASCII format for network interchange; Unicode Basic Latin chart (U+0000 to U+007F) Retrieved November 2026.
ASCII to binary converter FAQ
How do I convert ASCII to binary?
Find each character's ASCII number, then write it in base 2 and pad to 8 bits. A is 65, which is 01000001. This page does every character at once.
What is "Hello" in ASCII binary?
Hello is 01001000 01100101 01101100 01101100 01101111 in 8-bit form: H is 72, e is 101, l is 108, l is 108 and o is 111.
What is the difference between 7-bit and 8-bit ASCII?
ASCII itself defines 128 characters, which need 7 bits. Computers store each in a byte, so the 8-bit form just adds a leading 0. Pick 8 bits unless a task specifically asks for 7.
Why does my text show an error?
ASCII has no accented letters, curly quotes or emoji. Replace them with plain characters, or use the UTF-8 text to binary converter, which encodes them as multiple bytes.
Why do uppercase and lowercase letters differ by one bit?
Lowercase codes are the uppercase code plus 32, and 32 is a single bit (00100000). A is 01000001 and a is 01100001.