Text ↔ Binary Converter

A powerful and free tool to convert text to binary and binary to text. Easily encode text as binary code or decode binary back to readable text with just a few clicks.

Code & Developer Runs in your browser Free, no sign-up Live as you type
Runs in your browser · your text stays on this deviceResults update as you type

Frequently asked questions

What is binary code?

Binary code is a system of representing text or computer processor instructions using the binary number system, which uses only two symbols: 0 and 1. Each digit in a binary number is called a bit, and 8 bits make up a byte. In text representation, each character is typically represented by one byte according to the ASCII standard.

How does text to binary conversion work?

Text to binary conversion works by taking each character in the text and converting it to its corresponding ASCII value, then converting that decimal value to an 8-bit binary number. For example, the letter 'A' has an ASCII value of 65, which converts to the binary number 01000001.

How does binary to text conversion work?

Binary to text conversion works by taking groups of 8 bits (one byte) and converting each group to its decimal equivalent, then finding the ASCII character that corresponds to that decimal value. For example, the binary number 01000001 converts to decimal 65, which corresponds to the character 'A' in ASCII.

What character encoding does this tool use?

Our tool uses the ASCII (American Standard Code for Information Interchange) character encoding standard, which represents English characters as numbers from 0 to 127. Each character is converted to an 8-bit binary number, even though ASCII technically only requires 7 bits. The extra bit is typically set to 0.

Can I convert Unicode characters with this tool?

This tool is designed for ASCII characters (values 0-127). For Unicode characters beyond ASCII, you would need a more advanced converter that handles UTF-8 or other Unicode encodings, which can use multiple bytes to represent a single character.

Is my text data stored or saved anywhere?

No, our tool processes your text locally in your browser and does not store, save, or transmit any of your text data to external servers. Your privacy is important to us, and all conversions are performed securely on your device.

More code & developer tools