Free · No signup · Runs in your browser

Binary Converter and Binary Translator

Convert text, decimal and hexadecimal to binary and back. Paste anything and the tool detects what it is, shows the result, and explains every step.

The converter needs JavaScript. Please enable it in your browser to use this tool.

  • Auto-detects text, binary, decimal and hex
  • Step-by-step working for every result
  • Private: your input stays in your browser
  • Handles emoji and accents (UTF-8)

A binary converter changes a value between binary (base 2) and another form, such as text, decimal or hexadecimal. A binary translator does the same job for words: it turns letters into 0s and 1s, and 0s and 1s back into letters. This page does both in one box.

What this binary converter can do

  • Text to binary: every character becomes an 8-bit byte, using UTF-8 (which matches ASCII for English letters).
  • Binary to text: paste bytes with spaces, commas, 0b prefixes or as one long stream.
  • Decimal to binary and back: whole numbers of any size, plus fractions such as 10.625.
  • Binary to hex and hex to binary: grouped four bits at a time.
  • Auto-detect: the tool picks the right conversion, and you can override it with the tabs.

Binary converter vs binary translator

People use both names for overlapping jobs. The practical difference is what goes in and what comes out.

Binary converterBinary translator
Typical inputA number: 42, 0xFF, 101010Words: Hello, I love you
Typical outputAnother number baseA string of bytes, or the text they encode
How it worksPlace values and powers of 2A character table (ASCII or UTF-8)
Tool on this siteDecimal to binary, binary to hexText to binary, binary to text

How to use the binary converter

  1. Type or paste your value into the input box. Text, a decimal number, a hex value (with 0x) or binary all work.
  2. Check the detected mode above the result. If it guessed wrong, click a tab such as Text → Binary.
  3. Copy the result, or open Show the steps to see how it was calculated.

Four quick examples

You enterModeResult
HiText → Binary01001000 01101001
1011Binary → Decimal11
13Decimal → Binary1101
0x2FHex → Binary0010 1111

Emoji work too. The grinning face 😀 is four UTF-8 bytes, 11110000 10011111 10011000 10000000.

How the conversions work

Text to binary

Each character has a numeric code. The letter A is 65, which is 01000001 in binary. The converter looks up the code, writes it in base 2, and pads it to 8 bits. Characters outside basic English, such as é or €, take two or three bytes in UTF-8.

Decimal to binary

Divide the number by 2 repeatedly and keep the remainders. Reading the remainders from last to first gives the binary number. For 13: 13 ÷ 2 = 6 r1, 6 ÷ 2 = 3 r0, 3 ÷ 2 = 1 r1, 1 ÷ 2 = 0 r1, so 13 is 1101. See the full guide on converting decimal to binary.

Binary to decimal

Multiply each bit by its power of 2 and add the results. For 1011: 1×8 + 0×4 + 1×2 + 1×1 = 11. The binary to decimal guide shows a faster doubling method.

Quick reference: powers of two

PowerDecimal valueBinary
2011
21210
224100
2381000
241610000
2532100000
26641000000
2712810000000
28256100000000
295121000000000
210102410000000000

Quick reference: 0 to 15 in binary and hex

DecimalBinary (4 bits)Hex
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F

Accuracy and privacy

The conversion runs entirely in your browser, so what you type is never sent to our servers. We check the tools against more than 900 reference cases, including emoji, accented text and numbers over 60 digits long. Details are on the methodology page.

Binary converter FAQ

How do I convert text to binary?

Replace each character with its character code, then write each code as an 8-bit binary number. For example, A is 65, which is 01000001. The text to binary converter does this automatically.

How do I convert binary to text?

Split the binary into groups of 8 bits, convert each group to a decimal number, and look up the character. 01001000 is 72, which is the letter H. Use the binary to text converter to do it instantly.

How do I convert binary to decimal?

Multiply each bit by 2 raised to its position, counting from 0 on the right, and add the results. 1011 is 8 + 0 + 2 + 1, which equals 11.

How do I convert decimal to binary?

Divide by 2 repeatedly and write down the remainders, then read them from bottom to top. 13 becomes 1101.

Is this binary converter free and private?

Yes. It is free, needs no signup, and runs in your browser, so your input is not uploaded.

Why does my binary not decode?

The most common causes are a bit count that is not a multiple of 8, characters other than 0 and 1, or bytes that are not valid UTF-8. The tool tells you which problem it found.

What is the difference between binary and hexadecimal?

Hexadecimal is a shorter way to write binary: every hex digit stands for exactly four bits. So 11010110 is D6 in hex. Try the binary to hex converter.

Can it convert emoji and accented letters?

Yes. It uses UTF-8, so é becomes two bytes and an emoji becomes four.

Why use this binary converter

Accurate by designTested against 955 independently generated reference cases. Whole numbers use arbitrary precision, so nothing is rounded.
Shows the workingEvery result has a step-by-step breakdown, so you learn the method as well as get the answer.
PrivateYour text and numbers are converted in your browser. Nothing is uploaded or stored.
Understands real inputSpaces, commas, 0b and 0x prefixes, unbroken bit streams, negative numbers, fractions, accents and emoji.
Clear errorsIf your input cannot be converted, the tool says exactly why and how to fix it.
Free and fastNo signup, no limits, and results appear as you type.

Binary numbers explained

Binary is the number system computers use. It has two digits, 0 and 1, called bits. Where decimal place values are powers of ten (1, 10, 100, 1000), binary place values are powers of two (1, 2, 4, 8, 16, 32, 64, 128).

To read a binary number, add the place values of the positions that hold a 1. For 1101: 8 + 4 + 0 + 1 = 13. To write a number in binary, find which powers of two add up to it. The decimal to binary converter does this for you and shows each division step.

Counting from 0 to 31 in binary

DecimalBinaryDecimalBinary
0000001610000
1000011710001
2000101810010
3000111910011
4001002010100
5001012110101
6001102210110
7001112310111
8010002411000
9010012511001
10010102611010
11010112711011
12011002811100
13011012911101
14011103011110
15011113111111

Bits, bytes and larger units

  • 1 bit holds a 0 or a 1.
  • 1 nibble is 4 bits and maps to one hexadecimal digit.
  • 1 byte is 8 bits and can store 256 values (0 to 255). One byte holds one English letter.
  • 1 kilobyte is 1,000 bytes in SI units, or 1,024 bytes (a kibibyte) in binary units.

Where binary is used

  • Storing text, numbers, images, audio and video in memory and on disk.
  • Networking: IP addresses and subnet masks are binary underneath.
  • Web colors: #2563EB is three bytes, 00100101 01100011 11101011.
  • Programming and electronics: flags, bit masks and logic gates.

New to the topic? Start with the guide what is binary.

Binary translator: how words become binary

A binary translator turns text into binary by looking up each character in a character encoding. The oldest common one is ASCII, with 128 characters. Today the web uses UTF-8, which includes all of ASCII and adds every other language and emoji. Each ASCII letter uses one byte (8 bits).

WordBinary code
Hello01001000 01100101 01101100 01101100 01101111
Love01001100 01101111 01110110 01100101
Yes01011001 01100101 01110011
No01001110 01101111
Cat01000011 01100001 01110100
Dog01000100 01101111 01100111
Binary01000010 01101001 01101110 01100001 01110010 01111001
Code01000011 01101111 01100100 01100101
Python01010000 01111001 01110100 01101000 01101111 01101110
Matt01001101 01100001 01110100 01110100

Capital letters and lowercase letters have different codes: A is 01000001 and a is 01100001. You can see all 26 on the binary alphabet chart, and every printable character on the ASCII binary table.

Why binary translation is not encryption

Binary is a change of notation. Anyone can reverse it with a decoder, so it should never be used to hide sensitive information. It is great for learning, puzzles and understanding how computers store text.

Binary conversion cheat sheet

Common values in decimal, binary and hexadecimal. Bookmark this table for quick checks.

DecimalBinaryHex
111
2102
41004
810008
101010A
161000010
3210000020
64100000040
100110010064
12711111117F
1281000000080
25511111111FF
256100000000100
100011111010003E8
102410000000000400

Quick rules to remember

  • A binary number ending in 0 is even; ending in 1 is odd.
  • Adding a 0 on the right doubles the number (101 is 5, 1010 is 10).
  • n bits can represent 2^n values, from 0 to 2^n – 1.
  • Eight 1s in a row (11111111) is 255, the largest byte value.
  • Four bits equal one hex digit, so convert binary to hex in groups of four.

More binary converter questions

What is the best way to convert binary to text?

Paste your binary into the converter. It splits it into 8-bit bytes, converts each to a number and shows the matching character, with the working visible if you want to check it by hand.

How do you convert binary to decimal?

Multiply each bit by its place value (1, 2, 4, 8 and so on, from the right) and add the results. 1011 is 8 + 2 + 1 = 11. See how to convert binary to decimal.

How do I write my name in binary?

Type it into the text to binary converter. Each letter becomes one 8-bit byte.

What is 8-bit versus 7-bit binary?

ASCII has 128 characters, which fit in 7 bits. Computers store each character in a full 8-bit byte, so 8-bit output is the standard. 7-bit is available for coursework.

Can the converter handle negative numbers?

Yes. Negative decimals show their two’s complement form. Use the two’s complement calculator to choose the bit width.

Does it work with hexadecimal?

Yes. Use binary to hex and hex to binary, or paste a 0x value into the auto-detect box.

Is the binary converter free?

Yes. There is no signup, no limit on use, and no data is sent to our servers.

Why does my binary show an error?

The usual causes are a digit other than 0 or 1, or a bit count that is not a multiple of 8 when decoding text. The error message tells you which.