Free Binary to ASCII Converter
Turn binary into ASCII characters and see each character’s code. Works with 7-bit and 8-bit binary.
- Free
- No sign-up
- Runs in your browser
- 7-bit & 8-bit
| Binary | Decimal | Character |
|---|
Runs in your browser. Nothing you type is uploaded.
Paste binary and this binary to ASCII converter shows the character for each byte, with its decimal ASCII code next to it. It doubles as an ASCII translator and ASCII decoder for all 128 codes, including the invisible control characters most converters print as nothing. To decode a whole message with emoji or accents, use the binary code translator instead.
How to convert binary to ASCII
To convert binary to ASCII, split the binary into groups of eight digits (or seven, for 7-bit ASCII). Turn each group into a number using place values 128, 64, 32, 16, 8, 4, 2, 1. Then find that number in the ASCII table: 01001000 = 72 = H. New to place values? How to read binary walks through it step by step, with practice.
- Split into bytes.
010010000110100100100001becomes01001000 01101001 00100001. Count before you split: 24 digits means three bytes. If you get 23, a digit went missing somewhere, and every byte after that point will decode to the wrong character. - Turn each byte into its ASCII code. 72, 105, 33. (In
01001000, the 1s sit under 64 and 8. Add them: 72.) - Look up each code in the table below. 72 is H, 105 is i, 33 is an exclamation mark. Hi!
Here’s a shortcut that catches a lot of mistakes. Every ASCII code is 127 or less, so the first digit of an 8-bit ASCII byte is always 0. A byte that starts with 1 isn’t ASCII at all, and no table on this page will have it.
Binary to ASCII table (0–127)
This is the full ASCII code translator chart: all 128 codes in 8-bit and 7-bit binary, with the decimal code for each. Type a character, a binary code or a number into the search box to jump to its row.
ASCII binary table. Every code checked against RFC 20.
| Decimal | Binary (8-bit) | 7-bit | Character / name |
|---|---|---|---|
| Control characters (0–31) | |||
| 0 | 00000000 | 0000000 | NUL (null) |
| 1 | 00000001 | 0000001 | SOH |
| 2 | 00000010 | 0000010 | STX |
| 3 | 00000011 | 0000011 | ETX |
| 4 | 00000100 | 0000100 | EOT |
| 5 | 00000101 | 0000101 | ENQ |
| 6 | 00000110 | 0000110 | ACK |
| 7 | 00000111 | 0000111 | BEL (bell) |
| 8 | 00001000 | 0001000 | BS (backspace) |
| 9 | 00001001 | 0001001 | TAB (horizontal tab) |
| 10 | 00001010 | 0001010 | LF (line feed / new line) |
| 11 | 00001011 | 0001011 | VT |
| 12 | 00001100 | 0001100 | FF |
| 13 | 00001101 | 0001101 | CR (carriage return) |
| 14 | 00001110 | 0001110 | SO |
| 15 | 00001111 | 0001111 | SI |
| 16 | 00010000 | 0010000 | DLE |
| 17 | 00010001 | 0010001 | DC1 |
| 18 | 00010010 | 0010010 | DC2 |
| 19 | 00010011 | 0010011 | DC3 |
| 20 | 00010100 | 0010100 | DC4 |
| 21 | 00010101 | 0010101 | NAK |
| 22 | 00010110 | 0010110 | SYN |
| 23 | 00010111 | 0010111 | ETB |
| 24 | 00011000 | 0011000 | CAN |
| 25 | 00011001 | 0011001 | EM |
| 26 | 00011010 | 0011010 | SUB |
| 27 | 00011011 | 0011011 | ESC (escape) |
| 28 | 00011100 | 0011100 | FS |
| 29 | 00011101 | 0011101 | GS |
| 30 | 00011110 | 0011110 | RS |
| 31 | 00011111 | 0011111 | US |
| Space, punctuation and digits (32–64) | |||
| 32 | 00100000 | 0100000 | (space) |
| 33 | 00100001 | 0100001 | ! |
| 34 | 00100010 | 0100010 | " |
| 35 | 00100011 | 0100011 | # |
| 36 | 00100100 | 0100100 | $ |
| 37 | 00100101 | 0100101 | % |
| 38 | 00100110 | 0100110 | & |
| 39 | 00100111 | 0100111 | ' |
| 40 | 00101000 | 0101000 | ( |
| 41 | 00101001 | 0101001 | ) |
| 42 | 00101010 | 0101010 | * |
| 43 | 00101011 | 0101011 | + |
| 44 | 00101100 | 0101100 | , |
| 45 | 00101101 | 0101101 | - |
| 46 | 00101110 | 0101110 | . |
| 47 | 00101111 | 0101111 | / |
| 48 | 00110000 | 0110000 | 0 |
| 49 | 00110001 | 0110001 | 1 |
| 50 | 00110010 | 0110010 | 2 |
| 51 | 00110011 | 0110011 | 3 |
| 52 | 00110100 | 0110100 | 4 |
| 53 | 00110101 | 0110101 | 5 |
| 54 | 00110110 | 0110110 | 6 |
| 55 | 00110111 | 0110111 | 7 |
| 56 | 00111000 | 0111000 | 8 |
| 57 | 00111001 | 0111001 | 9 |
| 58 | 00111010 | 0111010 | : |
| 59 | 00111011 | 0111011 | ; |
| 60 | 00111100 | 0111100 | < |
| 61 | 00111101 | 0111101 | = |
| 62 | 00111110 | 0111110 | > |
| 63 | 00111111 | 0111111 | ? |
| 64 | 01000000 | 1000000 | @ |
| Uppercase letters and symbols (65–96) | |||
| 65 | 01000001 | 1000001 | A |
| 66 | 01000010 | 1000010 | B |
| 67 | 01000011 | 1000011 | C |
| 68 | 01000100 | 1000100 | D |
| 69 | 01000101 | 1000101 | E |
| 70 | 01000110 | 1000110 | F |
| 71 | 01000111 | 1000111 | G |
| 72 | 01001000 | 1001000 | H |
| 73 | 01001001 | 1001001 | I |
| 74 | 01001010 | 1001010 | J |
| 75 | 01001011 | 1001011 | K |
| 76 | 01001100 | 1001100 | L |
| 77 | 01001101 | 1001101 | M |
| 78 | 01001110 | 1001110 | N |
| 79 | 01001111 | 1001111 | O |
| 80 | 01010000 | 1010000 | P |
| 81 | 01010001 | 1010001 | Q |
| 82 | 01010010 | 1010010 | R |
| 83 | 01010011 | 1010011 | S |
| 84 | 01010100 | 1010100 | T |
| 85 | 01010101 | 1010101 | U |
| 86 | 01010110 | 1010110 | V |
| 87 | 01010111 | 1010111 | W |
| 88 | 01011000 | 1011000 | X |
| 89 | 01011001 | 1011001 | Y |
| 90 | 01011010 | 1011010 | Z |
| 91 | 01011011 | 1011011 | [ |
| 92 | 01011100 | 1011100 | \ |
| 93 | 01011101 | 1011101 | ] |
| 94 | 01011110 | 1011110 | ^ |
| 95 | 01011111 | 1011111 | _ |
| 96 | 01100000 | 1100000 | ` |
| Lowercase letters and symbols (97–126) | |||
| 97 | 01100001 | 1100001 | a |
| 98 | 01100010 | 1100010 | b |
| 99 | 01100011 | 1100011 | c |
| 100 | 01100100 | 1100100 | d |
| 101 | 01100101 | 1100101 | e |
| 102 | 01100110 | 1100110 | f |
| 103 | 01100111 | 1100111 | g |
| 104 | 01101000 | 1101000 | h |
| 105 | 01101001 | 1101001 | i |
| 106 | 01101010 | 1101010 | j |
| 107 | 01101011 | 1101011 | k |
| 108 | 01101100 | 1101100 | l |
| 109 | 01101101 | 1101101 | m |
| 110 | 01101110 | 1101110 | n |
| 111 | 01101111 | 1101111 | o |
| 112 | 01110000 | 1110000 | p |
| 113 | 01110001 | 1110001 | q |
| 114 | 01110010 | 1110010 | r |
| 115 | 01110011 | 1110011 | s |
| 116 | 01110100 | 1110100 | t |
| 117 | 01110101 | 1110101 | u |
| 118 | 01110110 | 1110110 | v |
| 119 | 01110111 | 1110111 | w |
| 120 | 01111000 | 1111000 | x |
| 121 | 01111001 | 1111001 | y |
| 122 | 01111010 | 1111010 | z |
| 123 | 01111011 | 1111011 | { |
| 124 | 01111100 | 1111100 | | |
| 125 | 01111101 | 1111101 | } |
| 126 | 01111110 | 1111110 | ~ |
| Delete (127) | |||
| 127 | 01111111 | 1111111 | DEL (delete) |
No ASCII code matches that. ASCII only covers 0–127.
Control characters: the invisible quarter of ASCII
Look at the first 32 rows and the last one. None of them is a character you can see. These 33 codes were commands for teleprinters and terminals: ring the bell, move the paper up a line, send the carriage back to the left. Some still do real work in every text file you open. The ones you’ll actually meet:
| Decimal | Binary | Name | What it does |
|---|---|---|---|
| 0 | 00000000 | NUL | Nothing. Often marks the end of a piece of text |
| 9 | 00001001 | TAB | Tab |
| 10 | 00001010 | LF | New line on Linux and macOS |
| 13 | 00001101 | CR | Carriage return. Windows ends lines with CR then LF |
| 27 | 00011011 | ESC | Escape |
| 127 | 01111111 | DEL | Delete |
DEL is the odd one out, sitting alone at the very end. That’s because 1111111 means all seven holes punched on paper tape, and punching every hole was how you crossed out a mistake.
If your decoded text has gaps, or line breaks you didn’t type, a control code is usually why. 0010110 is a common one people paste in: it’s 22, called SYN, a control code rather than a letter.
Only need letters? The binary alphabet chart has A–Z on its own.
What about codes above 127?
ASCII stops at 127. That surprises people, because a byte can hold up to 255.
Codes 128 to 255 are often called “extended ASCII”, but there’s no single extended ASCII. Windows-1252 and Latin-1 are two different tables that both fill that range, and older systems used others. UTF-8, which almost every web page uses now, treats those bytes differently again: a byte above 127 is only ever one part of a longer character (RFC 3629).
Take 10101010, which is 170. In Windows-1252 and Latin-1 it’s ª, a small raised a. In UTF-8, on its own, it isn’t a character at all. That’s why this converter flags it instead of guessing. If your binary has accents or emoji in it, paste it into the binary code translator linked at the top of the page, which reads UTF-8.
ASCII to binary
ASCII to binary is the same lookup run backwards: find the character’s code in the table above, then write that number in 8 bits. Capital A is 65, so it becomes 01000001. To convert a whole message at once, type it into the text to binary converter.
Frequently asked questions
What does ASCII stand for?
American Standard Code for Information Interchange. It was first published in 1963 and defines 128 codes, numbered 0 to 127. RFC 20 adopted it for network interchange in 1969, and the first 128 characters of Unicode are still the same.
Is ASCII 7-bit or 8-bit?
7-bit. Computers store each code in an 8-bit byte with a 0 in front, so 1000001 and 01000001 are both A. This converter accepts either.
How do I convert ASCII to binary?
Find the character in the table above and read across to its binary code. For a whole sentence, a text to binary tool is quicker than looking up each letter.
How many ASCII characters are there?
128. Of those, 95 are printable (the space, punctuation, digits and letters) and 33 are control characters.
Why are some characters blank or strange when I decode?
Either they’re control characters (codes 0–31 and 127), which have no visible shape, or they’re bytes above 127, which aren’t ASCII at all. The converter names the first kind and flags the second.
What is an ASCII decoder?
A tool that turns ASCII codes back into characters, from binary or from decimal. This page is one: paste 01001000 and you get H.
What code converts binary to ASCII?
Two one-liners that give the same result as this converter for 8-bit ASCII:
''.join(chr(int(b, 2)) for b in s.split())
s.trim().split(/\s+/).map(b => String.fromCharCode(parseInt(b, 2))).join('')
Is ASCII text the same as ASCII art?
No. ASCII text is plain text that only uses the 128 ASCII characters. ASCII art is a picture drawn with those characters. This page converts codes into characters, not pictures.
Every code in the table was generated and checked against RFC 20.
Sources: RFC 20, ASCII format for network interchange · RFC 3629, UTF-8
