Binary Converter

Convert between text, binary, decimal and hex — free, instant and private. Type a value, pick a direction, and the result appears as you type, ready to copy in one click. A handy tool for students learning how computers store data, and for developers checking encodings.

Frequently asked questions

What is binary?

Binary is the number system computers use, with just two digits: 0 and 1. Each binary digit is one bit, and eight bits make one byte — enough to represent one character of text, like the letter A (01000001).

How do I convert text to binary?

Choose "Text to binary", type your text, and each character is shown as its 8-digit binary code, separated by spaces. Use "Swap direction" or "Binary to text" to convert back.

What is the difference between binary, decimal and hex?

Decimal is our everyday base-10 system (0-9). Binary is base-2 (0-1). Hexadecimal is base-16 (0-9 and A-F) and is a compact way to write binary — every hex digit is exactly four binary digits.

Why does it say each binary group must be 8 digits?

When converting binary back to text, each character needs exactly 8 bits (one byte). If a group is shorter or longer, the tool cannot tell which character it is, so it asks you to fix it.