ToolHow it worksASCII table ExamplesFAQ

// FREE BROWSER TOOL · NO SIGN-UP

Binary Code Translator

Convert text to binary and binary back to text instantly. Watch every character light up as eight bits while you type.

bin/translate
Plain text
Binary
0 CHARS0 BYTES0 BITS

Live bit ladder 1 = ON · 0 = OFF · 8 BITS / BYTE

// the short answer

What a binary code translator does

A binary code translator turns readable text into binary, the strings of 0s and 1s a computer actually stores, and turns that binary back into text. Every letter, digit, and symbol you type is first matched to a number by a character set, and that number is written out in base-2.

Computers do not store letters. They store states that are either off or on, which we write as 0 or 1. To keep text consistent across devices, ASCII assigns each character a number, and modern text uses UTF-8, which is built from the same one-byte building blocks for everyday English characters. The tool above does the lookup and the base-2 math for you, and the bit ladder shows each character one at a time so the pattern is easy to follow.

Bits per byte
8
one character, one byte
Values per byte
256
2 to the power of 8
Highest bit value
128
the leftmost place
Number base
2
binary is base-2

// how it works

From a letter to eight bits

Follow a single character through the conversion. The capital letter A has the ASCII value 65. Writing 65 in base-2 gives 01000001, padded to a full byte.

Encoding the letter “A”char → ascii → binary
A CHARACTER 65 ASCII VALUE 01000001 BINARY (8 BITS)

Why 65 becomes 01000001

Read the eight bit positions from left to right as the place values 128, 64, 32, 16, 8, 4, 2, 1. Add the place values wherever a bit is 1. For the letter A that is 64 + 1, which equals 65. Every byte works the same way.

bit 7
128
27
bit 6
64
26
bit 5
32
25
bit 4
16
24
bit 3
8
23
bit 2
4
22
bit 1
2
21
bit 0
1
20

Using the tool

  1. Pick a direction. Choose Text to Binary to encode, or Binary to Text to decode.
  2. Enter your content. Type or paste text, or paste a string of 0s and 1s. The result updates as you go.
  3. Read the bit ladder. Each character appears as eight cells, with the 1s lit, so you can see exactly how it was built.
  4. Copy or download. Save the output with one click, or use Swap to send a result back through the other direction.
Good to know

Binary is not encryption. Anyone can decode it with a table or this tool, so it does not keep information secret.

// examples

Common text to binary conversions

These short phrases show how length scales in binary. Each character adds exactly one byte, which is eight bits, so a five-letter word is 40 bits long.

Worked examples (8-bit ASCII)
TextDecimal codesBinary
Hi72 10501001000 01101001
OK79 7501001111 01001011
Code67 111 100 10101000011 01101111 01100100 01100101
Hello72 101 108 108 11101001000 01100101 01101100 01101100 01101111
Binary66 105 110 97 114 12101000010 01101001 01101110 01100001 01110010 01111001
202550 48 50 5300110010 00110000 00110010 00110101
@6401000000
Yes!89 101 115 3301011001 01100101 01110011 00100001
How text size grows in binarybits = characters × 8
"Hi"16 bits"Code"32 bits"Binary"48 bits"Translator"80 bits"Hello world"88 bits

// reference

ASCII to binary table

Look up any common character and its binary value. The table covers the printable ASCII set: digits, uppercase and lowercase letters, and common symbols, each shown in decimal, hexadecimal, and 8-bit binary.

Digits 0–9

10 chars
0DEC 48
HEX 30
00110000
1DEC 49
HEX 31
00110001
2DEC 50
HEX 32
00110010
3DEC 51
HEX 33
00110011
4DEC 52
HEX 34
00110100
5DEC 53
HEX 35
00110101
6DEC 54
HEX 36
00110110
7DEC 55
HEX 37
00110111
8DEC 56
HEX 38
00111000
9DEC 57
HEX 39
00111001

Uppercase A–Z

26 chars
ADEC 65
HEX 41
01000001
BDEC 66
HEX 42
01000010
CDEC 67
HEX 43
01000011
DDEC 68
HEX 44
01000100
EDEC 69
HEX 45
01000101
FDEC 70
HEX 46
01000110
GDEC 71
HEX 47
01000111
HDEC 72
HEX 48
01001000
IDEC 73
HEX 49
01001001
JDEC 74
HEX 4A
01001010
KDEC 75
HEX 4B
01001011
LDEC 76
HEX 4C
01001100
MDEC 77
HEX 4D
01001101
NDEC 78
HEX 4E
01001110
ODEC 79
HEX 4F
01001111
PDEC 80
HEX 50
01010000
QDEC 81
HEX 51
01010001
RDEC 82
HEX 52
01010010
SDEC 83
HEX 53
01010011
TDEC 84
HEX 54
01010100
UDEC 85
HEX 55
01010101
VDEC 86
HEX 56
01010110
WDEC 87
HEX 57
01010111
XDEC 88
HEX 58
01011000
YDEC 89
HEX 59
01011001
ZDEC 90
HEX 5A
01011010

Lowercase a–z

26 chars
aDEC 97
HEX 61
01100001
bDEC 98
HEX 62
01100010
cDEC 99
HEX 63
01100011
dDEC 100
HEX 64
01100100
eDEC 101
HEX 65
01100101
fDEC 102
HEX 66
01100110
gDEC 103
HEX 67
01100111
hDEC 104
HEX 68
01101000
iDEC 105
HEX 69
01101001
jDEC 106
HEX 6A
01101010
kDEC 107
HEX 6B
01101011
lDEC 108
HEX 6C
01101100
mDEC 109
HEX 6D
01101101
nDEC 110
HEX 6E
01101110
oDEC 111
HEX 6F
01101111
pDEC 112
HEX 70
01110000
qDEC 113
HEX 71
01110001
rDEC 114
HEX 72
01110010
sDEC 115
HEX 73
01110011
tDEC 116
HEX 74
01110100
uDEC 117
HEX 75
01110101
vDEC 118
HEX 76
01110110
wDEC 119
HEX 77
01110111
xDEC 120
HEX 78
01111000
yDEC 121
HEX 79
01111001
zDEC 122
HEX 7A
01111010

Common symbols

33 chars
DEC 32
HEX 20
00100000
!DEC 33
HEX 21
00100001
"DEC 34
HEX 22
00100010
#DEC 35
HEX 23
00100011
$DEC 36
HEX 24
00100100
%DEC 37
HEX 25
00100101
&DEC 38
HEX 26
00100110
'DEC 39
HEX 27
00100111
(DEC 40
HEX 28
00101000
)DEC 41
HEX 29
00101001
*DEC 42
HEX 2A
00101010
+DEC 43
HEX 2B
00101011
,DEC 44
HEX 2C
00101100
-DEC 45
HEX 2D
00101101
.DEC 46
HEX 2E
00101110
/DEC 47
HEX 2F
00101111
:DEC 58
HEX 3A
00111010
;DEC 59
HEX 3B
00111011
<DEC 60
HEX 3C
00111100
=DEC 61
HEX 3D
00111101
>DEC 62
HEX 3E
00111110
?DEC 63
HEX 3F
00111111
@DEC 64
HEX 40
01000000
[DEC 91
HEX 5B
01011011
\DEC 92
HEX 5C
01011100
]DEC 93
HEX 5D
01011101
^DEC 94
HEX 5E
01011110
_DEC 95
HEX 5F
01011111
`DEC 96
HEX 60
01100000
{DEC 123
HEX 7B
01111011
|DEC 124
HEX 7C
01111100
}DEC 125
HEX 7D
01111101
~DEC 126
HEX 7E
01111110

// where it is used

Why binary matters

Binary is the layer underneath everything a computer does. Text, images, audio, and program instructions all reduce to patterns of bits before a processor can work with them.

For most people the translator is a learning aid. Students check homework on number systems, teachers use the bit ladder to show place values, and developers sanity-check how a string is encoded. It is also a small puzzle tool, since binary messages are a common way to hide a short note in plain sight.

Encoding sets the result

Basic English characters look the same in ASCII and UTF-8. Accented letters and emoji use more than one byte in UTF-8, so they produce more than eight bits. This tool handles them correctly.

Spaces count

A space is the character with code 32, so it becomes a full byte (00100000) just like any letter.

// questions

Frequently asked questions

It converts text into binary, the 0s and 1s a computer stores, and converts binary back into readable text. Each character is matched to a number by a character set such as ASCII, and that number is written in base-2.
Each character maps to a code point, that number is written in base-2, and the result is padded to eight bits per byte. The letter A is 65, which is 01000001. Read the bits as place values 128 down to 1 and add the ones that are set: 64 + 1 = 65.
One byte is eight bits, and standard encodings store one byte per basic character. Eight bits can represent 256 values, which covers the entire ASCII set and the byte building blocks of UTF-8.
Yes. Switch to Binary to Text and paste your 0s and 1s. Separators like spaces or commas are optional, since the tool reads only the digits and groups them into bytes for you.
No. All conversion runs in your browser with JavaScript, so whatever you type stays on your device.
They are encoded in UTF-8, which uses two to four bytes for those characters, so a single emoji produces more than eight bits. The tool handles them correctly.