Binary to ASCII Converter
Decode 8-bit (or 7-bit) binary chunks into their ASCII characters, and encode ASCII text back to binary. Handles all printable ASCII plus the C0 control codes, with live conversion and clear validation.
How to Use This Converter
Two modes cover both directions. All options — byte width, delimiter, and case — apply instantly to whatever you type.
1. Pick the direction
Use the top toggle to switch between Binary → ASCII and ASCII → Binary. The pane labels update automatically.
2. Choose 7-bit or 8-bit
8-bit covers the full extended ASCII range (0–255) including Latin-1 accented characters. 7-bit covers only the classic ASCII range (0–127) and is what you need for the older pre-IBM-PC standard.
3. Set the byte delimiter
Space-separated is the most common (01001000 01101001). Newline-separated matches hex-dump tools. Comma-separated matches CSV. "None" concatenates everything and relies on fixed 8- or 7-bit chunking.
4. Read the status line
The status row shows how many bytes were decoded, flags invalid characters, and warns when the total bit count is not a multiple of the byte width.
5. Copy or download
Copy output to the clipboard or download it as a .txt file. Copy input copies the raw source for reuse in another tool.
6. Use the samples
The pill buttons below the status line load ready-made examples — "Hello", "Hi", "Vorzep", "Hello, World!", and more — so you can verify the tool works with a single click.
What This Tool Offers
Built around the standard ASCII range, with flexibility for both the classic 7-bit standard and the extended 8-bit set.
Bidirectional
Binary → ASCII and ASCII → Binary in one tool, with a one-click swap between the two directions.
7-bit and 8-bit
Supports both the classic 7-bit ASCII standard and the extended 8-bit Latin-1 range, selectable with one toggle.
Four delimiters
Space, newline, comma, or none. Decoding tolerates any of them transparently, so you can paste whatever format your source uses.
Live conversion
Output updates as you type — no "convert" button needed. Switch mode, encoding, or delimiter and the result refreshes instantly.
Input validation
Non-binary characters and wrong-length byte streams are flagged with clear status messages, so you never silently get garbage output.
Copy and download
Copy the result to your clipboard or save it as a .txt file. Both work in every modern browser.
What Does Binary-to-ASCII Conversion Do?
ASCII (American Standard Code for Information Interchange) is the oldest and most widely used character encoding for text. It assigns a unique 7-bit number to each of 128 characters: English uppercase and lowercase letters, digits 0–9, common punctuation, and a set of non-printing control codes. Binary-to-ASCII conversion reads a stream of 0s and 1s, groups it into chunks of 7 or 8 bits, treats each chunk as a number, and looks up the corresponding character in the ASCII table.
The Conversion Formula
Binary to ASCII, three steps:
2. Interpret each chunk as a binary (base-2) number.
3. Look up that number in the ASCII table to get the character.
ASCII to binary reverses it:
2. Convert that number to binary.
3. Pad with leading zeros to 7 or 8 bits.
4. Join the chunks with the chosen delimiter.
Example: 01001000 is binary for the decimal number 72. In ASCII, 72 is the capital letter H. So 01001000 01101001 decodes to Hi.
The ASCII Table
| Decimal | Binary (8-bit) | Character | Category |
|---|---|---|---|
| 0 – 31 | 00000000 – 00011111 | Non-printing | Control codes (NUL, TAB, LF, CR, ESC…) |
| 32 | 00100000 | space | Punctuation |
| 33 – 47 | 00100001 – 00101111 | ! " # $ % & ' ( ) * + , - . / | Punctuation |
| 48 – 57 | 00110000 – 00111001 | 0 1 2 3 4 5 6 7 8 9 | Digits |
| 58 – 64 | 00111010 – 01000000 | : ; < = > ? @ | Punctuation |
| 65 – 90 | 01000001 – 01011010 | A – Z | Uppercase letters |
| 91 – 96 | 01011011 – 01100000 | [ \ ] ^ _ ` | Punctuation |
| 97 – 122 | 01100001 – 01111010 | a – z | Lowercase letters |
| 123 – 126 | 01111011 – 01111110 | { | } ~ | Punctuation |
| 127 | 01111111 | DEL | Control code |
| 128 – 255 | 10000000 – 11111111 | Extended (accented, symbols) | Only in 8-bit Latin-1 |
Worked Examples
01001000 → 72 → H01101001 → 105 → i01001000 01101001 → "Hi"
"H" = 72 →
01001000"i" = 105 →
01101001"Hi" → 01001000 01101001
H=72 · e=101 · l=108 · l=108 · o=111
→ 01001000 01100101 01101100 01101100 01101111
V=86 · o=111 · r=114 · z=122 · e=101 · p=112
→ 01010110 01101111 01110010 01111010 01100101 01110000
Frequently Asked Questions
The original ASCII standard (1963) defined 128 characters using 7 bits — the 26 uppercase and 26 lowercase letters, 10 digits, punctuation, whitespace, and 33 control codes. When IBM introduced the PC in 1981, it extended ASCII to 8 bits (256 characters) by adding accented Latin letters, box-drawing characters, and math symbols in the range 128–255. That extended version is technically called Latin-1 or ISO-8859-1 but is usually just called "extended ASCII". Use 7-bit for classic teletype and most legacy protocols; use 8-bit for anything that includes accented characters like é, ü, or ñ.
The most common cause is a mismatched byte width — if the binary was produced with 8-bit chunks and you decode as 7-bit, every character after the first will be wrong. Try the other width. Other causes: the data might be compressed, encrypted, or a binary format (image, executable) rather than plain text, in which case the "characters" are meaningless bytes. Or the binary might be UTF-8 with multi-byte sequences, which this ASCII-only tool cannot decode — use the Binary to Text tool for that.
No. In a given binary stream, every character uses the same number of bits. 7-bit ASCII uses 7 bits per character; extended ASCII uses 8. If the first character is a 7-bit letter and the rest are 8-bit extended characters, then the total bit count would be 7 + 8×n, which is not a multiple of 8 and would decode as garbage. Real-world data always uses a consistent width, chosen by the tool or protocol that produced it.
These are the ASCII characters that do not print — they control how devices behave rather than representing visible symbols. Common examples: 9 is TAB, 10 is LINE FEED (LF, or \n), 13 is CARRIAGE RETURN (CR, or \r), 27 is ESCAPE (ESC), 0 is NULL. They were designed for teletype machines and remain in use in text protocols like HTTP, SMTP, and terminal emulators. Most text files contain LF (10) at the end of every line, and Windows files contain CR+LF (13, 10).
Yes and no. Both tools take binary input and produce text. The key difference is scope: this tool is designed specifically for ASCII and the classic 7-bit / 8-bit standards, with full coverage of the standard ASCII table and clear control-code handling. The Binary to Text tool supports broader encodings including Unicode (UTF-16) and variable-width UTF-8 for emoji and non-Latin scripts. If your input is plain English, ASCII, or extended Latin-1, either tool will work — this one is more focused on the ASCII standard specifically.
Yes. Set the delimiter to "None" and the tool splits the input into fixed 7- or 8-bit chunks by counting bits. This is the format many machine-generated binary dumps use. The trade-off is that there is no way to detect an error in the middle of the stream — if a bit was flipped, the whole rest of the decode will be shifted by one position and produce garbage. If your source uses spaces between bytes, leave the delimiter on "Space" for readable output and easier debugging.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| binary | Binary Input | bits |
| ASCII | ASCII Text | characters |
What it means
ASCII is one of the oldest character encodings, using 7 or 8 bits per character. This converter maps each 8‑bit binary group to its corresponding ASCII character, making it easy to read legacy data.
Worked example
Example 1 – Decode the Word "HELLO"
Common Use| Binary Input | ASCII Character |
|---|---|
| 01001000 | H |
| 01000101 | E |
| 01001100 | L |
| 01001100 | L |
| 01001111 | O |
Result: HELLO
Example 2 – Decode "Hello World"
Real-World| Binary Input | Decoded Text |
|---|---|
| 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 | Hello World |
Result: The binary sequence is converted back into the text "Hello World."
Example 3 – Decode an Email Username
Educational| Binary Input | ASCII Output |
|---|---|
| 01101010 01101111 01101000 01101110 | john |
Result: The binary values are decoded into the readable text "john."
Common mistakes
- Using binary strings longer than 8 bits per character for ASCII (ASCII uses 7 or 8 bits).
- Not separating bytes correctly.
- Assuming extended ASCII (ISO‑8859‑1) behaves like UTF-8.
- Entering binary with spaces or other delimiters incorrectly.
Applications
- Read binary data from old systems or embedded devices.
- Interpret ASCII‑encoded messages.
- Study the ASCII table.
- Debug serial communications.
Related calculators · Data Encoding & Conversion
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.