Text to Binary Converter

Translate text to binary and decode binary back to text instantly. This free 0 and 1 translator runs entirely in your browser and copies ASCII, decimal, hex, and octal results in one click.

01001000 01100101 01101100 01101100 01101111

All Formats

Binary: 01001000 01100101 01101100 01101100 01101111
Decimal: 72 101 108 108 111
Hex: 48 65 6C 6C 6F
Octal: 110 145 154 154 157
ASCII: H(72) e(101) l(108) l(108) o(111)
100% Client-Side Input stays local

Text to Binary

Use this text to binary converter to translate words, letters, numbers, and symbols into UTF-8 bytes displayed as groups of 0s and 1s. A character is not always one byte: ASCII-range text uses one byte per character, while other Unicode characters may use several. If you want the full background, our guide on how to convert text to binary walks through every step by hand.

Example: Hello01001000 01100101 01101100 01101100 01101111

Converting text to binary follows four steps, which the tool performs automatically as you type:

  1. Read the Unicode scalar values in the text (for ASCII "H", the value is U+0048 or decimal 72)
  2. Encode those values as UTF-8 bytes; ASCII-range values retain the same numeric value
  3. Render every byte as eight base-2 digits (72 becomes 01001000)
  4. Join each byte with a space, comma, or no separator

For example: Hi → 72, 105 → 01001000 01101001

Binary to Text

Switch to the Binary to Text tab to decode binary groups back into readable text. The converter accepts spaced binary bytes like 01001000 01100101 and continuous 8-bit groups like 0100100001100101.

Binary to text conversion follows three steps:

  1. Split the binary string into 8-bit bytes (a UTF-8 character may span 1–4 bytes)
  2. Convert each binary group to its decimal equivalent (see binary-to-decimal conversion to do this by hand)
  3. Map each decimal value to its corresponding character using UTF-8 decoding

For example: 01001000 01101001 → 72, 105 → "Hi"

ASCII vs UTF-8 vs bytes

Unicode code points identify characters; an encoding maps those values to bytes; binary is one way to display each byte. ASCII is a 7-bit repertoire. UTF-8 preserves ASCII values and uses one to four bytes for Unicode scalar values.

TextUnicodeASCII?UTF-8 bytesBinary bytes
AU+0041Yes, decimal 654101000001
éU+00E9NoC3 A911000011 10101001
U+20ACNoE2 82 AC11100010 10000010 10101100
😀U+1F600NoF0 9F 98 8011110000 10011111 10011000 10000000

Try any row in both directions: enter the text in Text to Binary, then paste its binary bytes into Binary to Text. The decoder rejects incomplete bytes and malformed UTF-8 instead of silently replacing data.

Primary references: IETF RFC 20 (7-bit ASCII), IETF RFC 3629 (UTF-8), Unicode Standard 17, Chapter 3, and WHATWG Encoding / TextEncoder. Examples were independently asserted in automated tests on 17 July 2026.

0 and 1 Translator

A 0 and 1 translator is a binary translator for people who want to convert normal text into binary digits or decode binary digits back into text. Binary is a base-2 number system using only two digits: 0 and 1. Every piece of data your computer processes, from text messages to streaming video, is ultimately stored and transmitted as sequences of binary digits (bits). To understand why, read what binary code is and how machines use it.

In text encoding, each character is assigned a numeric value, which is then represented in binary. For example, the letter "A" is 65 in decimal, which translates to 01000001 in binary. This binary translator handles the conversion instantly in your browser.

Supported Number Systems

Beyond binary, this tool converts between multiple number systems commonly used in programming and computer science:

  • Decimal (Base-10): The standard number system (0–9). Each ASCII character maps to a decimal value (A=65, Z=90, a=97).
  • Hexadecimal (Base-16): Uses digits 0–9 and letters A–F. Compact representation — every byte is two hex digits (A=41, Z=5A). See binary vs hexadecimal for when to use each.
  • Octal (Base-8): Uses digits 0–7. Common in Unix file permissions and some legacy systems (A=101, Z=132).

Working with negative numbers? Learn how computers store them with signed binary and two's complement.

Common Uses for Text-to-Binary Conversion

Converting text to binary is more than an academic exercise. Here are the most common reasons people reach for a binary translator:

  • Computer science classwork: Students convert their name or a sentence to binary to learn how characters, bytes, and place value work in a base-2 system.
  • Binary puzzles and ciphers: Escape rooms, geocaching, CTF challenges, and ARGs frequently hide messages as strings of 0s and 1s that need decoding back to text.
  • Debugging byte data: Developers inspect the exact bits of a character or control code when troubleshooting encoding bugs, serial protocols, or file formats.
  • Encoding and ASCII art: Hobbyists encode hidden notes, watermarks, or playful messages in binary inside documents, images, or chat.
  • Teaching place value: Educators use the byte view to demonstrate how eight bits represent 256 possible values while distinguishing bytes from characters.
  • Quick reference checks: Anyone verifying a single byte (like confirming that "A" is 01000001) can paste the character and read the result instantly.

Binary Conversion Guides

ASCII Binary Table: Letters, Numbers, and Symbols

Use this ASCII to binary reference table to understand how common letters, digits, punctuation, and control characters map to binary bytes.

ASCII vs UTF-8: Understanding Text Encoding

Compare ASCII and UTF-8 text encoding standards. Learn the differences, when to use each, and how they represent characters in binary.

How Binary Works in Programming Languages

Discover how programming languages use binary for data types, bitwise operations, and memory management. Practical examples in Python, JavaScript, and C.

Binary to Decimal Conversion: Step-by-Step Guide

Learn how to convert binary numbers to decimal by using powers of two, place values, and worked examples.

Binary to Text: How to Decode 0s and 1s

Learn how to decode binary to text: split bits into 8-bit bytes, convert to decimal, and map to ASCII. Worked examples plus a free binary translator.

Binary vs Hexadecimal: Why Programmers Use Both

Compare binary and hexadecimal notation, learn how they map to each other, and see why hex is used for bytes, colors, memory, and hashes.

The History of the Binary Number System

Explore the fascinating history of the binary system from ancient civilizations through Leibniz to modern computing. Learn how 0s and 1s changed the world.

How to Convert Text to Binary (Step-by-Step)

Step-by-step guide to converting text to binary code manually and with tools. Learn ASCII values, binary math, and use our free online converter.

Signed Binary and Two's Complement Explained

Learn how computers represent negative integers with two's complement, including 8-bit examples and common overflow rules.

What Is Binary Code? A Complete Guide

Learn what binary code is, how it works, and why computers use only 0s and 1s. A beginner-friendly guide to understanding the binary number system.

Frequently Asked Questions

How do I convert text to binary?
Type or paste your text into the input field above. The text to binary converter instantly translates each character to its binary representation. For example, "Hello" becomes "01001000 01100101 01101100 01101100 01101111". All processing happens in your browser — no data is sent to any server.
How do I convert binary to text?
Switch to "Binary to Text" mode. Paste a binary string with spaces, commas, or continuous 8-bit groups such as "01001000 01100101" or "0100100001100101". The tool converts the 0s and 1s back to readable text instantly.
What is a 0 and 1 translator?
A 0 and 1 translator is another name for a binary translator. It converts normal text into binary digits and can also decode binary groups back into text, depending on the selected mode.
What is binary code?
Binary is a base-2 number system using only two digits: 0 and 1. Computers store data as bytes. For text, an encoding maps characters to bytes: UTF-8 encodes ASCII "A" as the byte 01000001, while characters such as "€" require multiple bytes.
What encodings are supported?
The tool uses UTF-8 in the browser, so it supports plain English text, numbers, punctuation, international characters, emojis, and special symbols.
Can I convert between binary and other number systems?
Yes! Use the conversion mode selector to convert between UTF-8 text, binary, decimal, hexadecimal, and octal. The "All Formats" panel shows simultaneous conversions to every supported format.
What do the separator and grouping options do?
The separator option controls how displayed binary groups are separated: space, comma, or no separator. Grouping controls the displayed width: 8-bit byte, 4-bit nibble, or 16-bit group. Padding preserves leading zeroes, so ASCII "A" is shown as 01000001 rather than 1000001.
Is this tool free?
100% free, forever. No signup, no usage limits, no premium tier. The tool runs entirely in your browser using JavaScript — we don't have a server to bill you for. Convert as much as you need.
How many bits is one character in binary?
There is no universal bits-per-character value. ASCII is a 7-bit code commonly carried in one 8-bit byte; UTF-8 encodes ASCII-range characters in one byte and other Unicode scalar values in 2, 3, or 4 bytes. That is why "A" is 01000001, while "€" is three bytes.
Why is an ASCII letter shown as 8 bits?
ASCII defines values 0–127, so it needs 7 significant bits. Tools normally display bytes, and a byte has 8 bits, so the unused high bit is shown as 0: ASCII "A" is value 65, or 01000001 as one byte.
How do I read or decode binary by hand?
Split the binary into 8-bit groups, then add up the place values where a bit is 1. The bits are worth 128, 64, 32, 16, 8, 4, 2, 1 from left to right. For example, 01001000 is 64 + 8 = 72, which is the character "H". Repeat for each byte to spell out the text.
How do I convert a number (not text) to binary?
Switch to Decimal mode and enter the number directly — the tool shows its binary, hex, and octal forms. In Text mode the digits would be treated as characters (the digit "5" becomes the byte for the character 5), so use Decimal mode when you want the numeric value itself converted.
Does this work offline and keep my data private?
Yes. All conversion runs in your browser with JavaScript, so nothing you type is sent to a server. Once the page has loaded, the converter keeps working even without an internet connection, and your input never leaves your device.