Binary Translator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free binary translator. Convert text to binary code and binary back to text, with hexadecimal and decimal too. Handles accents and emoji as UTF-8.

Bytes
0
Bits
0
Output
Hexadecimal
Decimal

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the binary translator

Choose a direction, then type or paste:

  • Text to binary: each character becomes one or more groups of 8 digits. "Hi!" becomes 01001000 01101001 00100001.
  • Binary to text: paste ones and zeros and get the text back. Groups can be separated by spaces, commas or line breaks, or run together in one long string (as long as it's a multiple of 8 digits).

Choose what goes between bytes: a space (easiest to read), nothing, or a new line. Next to the binary you'll also see the same bytes in hexadecimal and decimal, with a count of bytes and bits. When you switch direction, the current result moves into the input, so you can check a conversion both ways.

The binary translator uses UTF-8, so accented letters, other alphabets and emoji convert correctly in both directions. It runs in your browser, and nothing is uploaded.

How text becomes binary

Computers store everything as bits: ones and zeros. Eight bits make a byte, which can hold a number from 0 to 255. To store text, every character is given a number, and that number is written in binary.

For the letter "A":

  1. "A" is character number 65 (in ASCII and Unicode).
  2. 65 in binary is 1000001.
  3. Padded to a full byte, that's 01000001.

So "Hi!" is:

Character Number Binary
H 72 01001000
i 105 01101001
! 33 00100001

Reading a binary number

Each position in a byte is worth double the one to its right:

128 64 32 16 8 4 2 1
0 1 0 0 1 0 0 0

Add the values where there's a 1: 64 + 8 = 72, which is "H".

ASCII, Unicode and UTF-8

  • ASCII (1960s) defined 128 characters: English letters, digits, punctuation and some control codes, each fitting in 7 bits. In ASCII, every character is one byte.
  • Unicode covers every writing system plus symbols and emoji: over 150,000 characters, far more than fit in one byte.
  • UTF-8 is how Unicode is stored in almost every web page and file today. It keeps ASCII characters as one byte (so plain English text is the same as ASCII) and uses 2 to 4 bytes for everything else.

That's why some characters produce more than one group:

Character UTF-8 bytes Binary
A 1 01000001
é 2 11000011 10101001
€ 3 11100010 10000010 10101100
😀 4 11110000 10011111 10011000 10000000

Many simple binary translators get this wrong: they convert each character's number directly, which produces numbers too big for a byte, or garbled text. This binary translator encodes and decodes real UTF-8, the same way your browser and computer do.

Binary, hexadecimal and decimal

The same byte can be written three common ways:

  • Binary (base 2): 01001000. What the computer stores.
  • Hexadecimal (base 16): 48. Two characters per byte, using 0–9 and A–F; compact and common in programming, colour codes and network addresses.
  • Decimal (base 10): 72. The everyday way to write the number.

Hex is used for colours: #0A0A0A is three bytes of red, green and blue. The HEX to RGB converter translates colour codes.

Decoding binary: tips

  • Groups must be 8 digits or fewer. Groups of 7 (old 7-bit ASCII) are padded automatically.
  • Without separators, the string must divide evenly into bytes; the tool tells you if it doesn't.
  • Only 0 and 1 are allowed, plus spaces, commas and line breaks between groups.
  • If the result isn't valid UTF-8, the translator says so instead of showing garbled characters. That usually means a digit is missing or extra, or the data isn't text at all.

What binary is used for

  • Learning: binary is the foundation of computing, and converting text by hand is a classic first exercise.
  • Puzzles and escape rooms: hide a word or code in binary.
  • Gifts and design: names and dates in binary on bracelets, posters and T-shirts.
  • Debugging: seeing the exact bytes of text helps track down encoding problems, such as an invisible character or a curly apostrophe where a straight one was expected.

For other ways of encoding text, see the Base64 encoder and decoder (for sending binary data as text), the URL encoder and decoder (for web addresses), and the Morse code translator. To get a fingerprint of some text or a file, use the hash generator.

Bits and bytes in everyday life

  • File sizes are measured in bytes: a kilobyte (KB) is 1,000 bytes, a megabyte (MB) 1,000,000, a gigabyte (GB) 1,000,000,000. Operating systems sometimes use 1,024 instead, which is why a "500 GB" drive shows as about 465 GB.
  • Internet speeds are measured in bits per second: 100 Mbps is about 12.5 megabytes per second, because there are 8 bits in a byte.
  • Text messages: a standard SMS holds 140 bytes, which is why it fits 160 characters of 7-bit text. The SMS character counter explains the limits.

Converting binary to text by hand

To decode a byte yourself, write the place values 128, 64, 32, 16, 8, 4, 2 and 1 above its eight digits, add up the values under every 1, and look the number up in an ASCII table:

  • 01000011: 64 + 2 + 1 = 67, which is "C".
  • 01101111: 64 + 32 + 8 + 4 + 2 + 1 = 111, which is "o".

Useful landmarks: capital letters run from 65 (A) to 90 (Z), lower-case letters from 97 (a) to 122 (z), and digits from 48 (0) to 57 (9). A space is 32 (00100000). Upper and lower case differ by exactly 32, a single bit, which is why "A" is 01000001 and "a" is 01100001.

Converting numbers, not text

The binary translator converts text: "5" becomes 00110101, the code for the character 5. Converting the number 5 to binary gives 101. To convert a number by hand, divide by 2 repeatedly and read the remainders from bottom to top:

  • 13 ÷ 2 = 6 remainder 1
  • 6 ÷ 2 = 3 remainder 0
  • 3 ÷ 2 = 1 remainder 1
  • 1 ÷ 2 = 0 remainder 1

Reading upwards: 13 is 1101 in binary. In everyday programming, calculators and developer tools convert numbers between bases; this binary translator is for text.

Binary in computing today

Every file is binary underneath: a photo, a song and a spreadsheet are all long sequences of bytes. Text is a special case where each byte (or group of bytes, in UTF-8) stands for a character. That's why a text file opened in the wrong program looks like nonsense, and why choosing the right character encoding matters so much on the web. When a website shows "é" instead of "é", it's reading UTF-8 bytes as if they were an older encoding: the two bytes 11000011 10101001 are being shown as two separate characters. The binary translator shows those bytes directly, which makes problems like this easy to understand.

Binary jokes and puzzles

"There are 10 kinds of people in the world: those who understand binary and those who don't." The joke works because 10 in binary is two. A short binary message makes a fun puzzle for a classroom, a team quiz or a social media post; check your answer with the binary translator before you share it.

A worked example

A bakery is running a "geek week" promotion for a local tech meetup. The owner types the discount code "BYTE15" into the binary translator, gets 01000010 01011001 01010100 01000101 00110001 00110101, and prints it on a chalkboard with the line "Decode this for 15% off". Before printing, the owner switches the direction to "Binary to text" to check the code reads back exactly as BYTE15. The board becomes the most photographed thing in the shop that week.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.

For more data tools, see the JSON formatter and the Unix timestamp converter.

Frequently asked questions

How do I convert text to binary?

Type your text into the binary translator with "Text to binary" selected. Each character becomes one or more 8-digit groups.

How do I convert binary to text?

Choose "Binary to text" and paste the ones and zeros, in groups of 8 separated by spaces, or as one string that's a multiple of 8 digits.

What is "hello" in binary?

01101000 01100101 01101100 01101100 01101111.

Why do some characters become several bytes?

In UTF-8, English letters take one byte, while accented letters, other alphabets and emoji take 2 to 4 bytes.

What's the difference between a bit and a byte?

A bit is a single 0 or 1. A byte is 8 bits, enough for a number from 0 to 255.

Is the binary translator free?

Yes. It's free with no sign-up, and it runs entirely in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep