Every letter you type is a number underneath. At the default, “Hi” becomes 01001000 01101001 — H is 72, i is 105, each written as one 8-bit byte. Flip the direction to paste binary back and decode it. The converter handles the full printable ASCII range, space-separated bytes, and validates every byte before it decodes.
492
Convert text to binary — or binary to text
Text mode turns each character into its 8-bit binary code, separated by spaces. Binary mode reads groups of 8 bits back into characters; it accepts space-separated bytes or one continuous run, and reports empty input, non-binary characters, and incomplete bytes as errors instead of guessing.
The worked example, line by line
Setup: text “Hi”, direction text to binary.
Line 1 — look up each character. H is ASCII code 72; i is code 105.
Line 2 — convert to binary. 72 in binary is 1001000, padded to 8 bits: 01001000. 105 is 1101001, padded: 01101001.
Line 3 — join with spaces. The result is 01001000 01101001 — 16 bits for a 2-character word.
Line 4 — check the round trip. Switch direction, paste the binary back, and the converter returns “Hi”. If a byte is short or contains a 2, it reports the error instead of decoding garbage.
ASCII reference table
Character
Decimal code
8-bit binary
Note
A
65
01000001
Uppercase letters run 65–90.
a
97
01100001
Lowercase letters run 97–122; exactly 32 above uppercase.
0
48
00110000
Digits run 48–57.
(space)
32
00100000
The space character itself is a byte, not a separator here.
H
72
01001000
First byte of the default example.
i
105
01101001
Second byte of the default example.
!
33
00100001
Punctuation lives in the 33–47 and 58–64 ranges.
~
126
01111110
The last printable ASCII character.
Output · formula · meaning
Output
Formula
What it means
Binary for a character
ASCII code in base 2, padded to 8 bits
H (72) → 01001000; padding keeps every byte the same width.
Binary for a word
one byte per character, space-separated
“Hi” → 01001000 01101001 — 16 bits total.
Text from binary
each 8-bit group back to its ASCII code
01101001 → 105 → i.
Byte count
characters × 1
ASCII text is 1 byte per character — unlike Unicode, where characters can take more.
Who uses this
The computer science student: checks homework by hand — converts “Hi” to 01001000 01101001 and confirms the padding rule before an exam.
The puzzle solver: decodes a binary clue from an escape room or puzzle hunt, pasting space-separated bytes and reading the hidden message.
The hobbyist programmer: sanity-checks string encodings while debugging, converting a suspicious byte back to its character to spot an off-by-one error.
The teacher: demonstrates how text becomes numbers for a class, using A = 65 = 01000001 as the first example on the board.
Accuracy & limitations
This converter covers printable ASCII only (codes 32–126). It does not handle accented letters, emoji, or other Unicode characters — those need UTF-8, where a character can occupy multiple bytes, and they are reported as errors here rather than silently mangled. Control characters (codes 0–31) and delete (127) are likewise excluded. Binary input must use only 0 and 1, in groups of exactly 8 bits; anything else is reported as an error with the offending group named.
Cite this calculatorBright Side Kit. “ASCII to Binary Converter: Text to 8-Bit Binary Tool.” brightoolbox.com, 2026.Bright Side Kit. "ASCII to Binary Converter: Text to 8-Bit Binary Tool." https://brightoolbox.com/ascii-to-binary/ Accessed October 24, 2026.Data sources
ASCII standard (ANSI X3.4): printable characters codes 32–126; A = 65, a = 97, 0 = 48, space = 32.
All conversions computed in-page from the stated rules: 8 bits per character, space-separated bytes.
Embed this calculator
Paste this into any web page to embed the live calculator. The “Bright Side Kit” link below it must stay intact.
Frequently asked questions
What is Hi in binary?
01001000 01101001. H is ASCII code 72, which is 01001000 in 8-bit binary; i is code 105, which is 01101001. Each character becomes exactly one byte.
Why is each character 8 bits?
Because a byte is 8 bits, and ASCII fits in one byte. Printable ASCII codes run 0–127, which needs at most 7 bits, but computers store data in 8-bit bytes, so the binary is padded with a leading zero to a full byte. That padding is what makes decoding unambiguous.
Can I convert binary back to text here?
Yes — switch the direction to Binary → Text. Paste space-separated bytes, or one continuous run of bits in a multiple of 8, and the converter decodes them. Groups that are not 8 bits, or that contain characters other than 0 and 1, are reported as errors.
Why does the converter reject accented letters and emoji?
Because they are not ASCII. This tool covers printable ASCII only (codes 32–126). Accented letters and emoji live in Unicode and need UTF-8 encoding, where one character can take several bytes. Converting them as if they were ASCII would produce wrong output, so the converter says so instead.
What is the binary for A?
01000001. A is ASCII code 65. Lowercase a is code 97, or 01100001 — exactly 32 higher, which is why flipping one bit (the 32’s place) toggles a letter’s case in ASCII.
How many bytes is a word?
One byte per character in ASCII. “Hi” is 2 bytes, a 10-letter word is 10 bytes, and a space counts as a character too. That is why file sizes in plain text are so easy to estimate: characters roughly equal bytes.
What is the difference between ASCII and binary?
ASCII is the code; binary is how the code is written. ASCII assigns each character a number (A = 65). Binary is the base-2 way of writing that number (65 = 01000001). This converter translates between the character and its binary number, not between two different alphabets.
Why do some converters show 7-bit binary?
Because ASCII codes fit in 7 bits. Some tools drop the leading zero and show H as 1001000. This converter keeps the full 8-bit byte, because real computers store and transmit whole bytes — and because 8-bit groups are what decoding expects.