Text to Binary Converter 01

Convert text to binary, hexadecimal, octal, and decimal. Decode binary back to text. Perfect for developers and students.

0 characters

Output Options

Binary (Base 2)

01001000 01100101 01101100 01101100 01101111

Hexadecimal (Base 16)

48 65 6C 6C 6F

Octal (Base 8)

110 145 154 154 157

Decimal (Base 10 / ASCII)

72 101 108 108 111

Try these examples:

Common ASCII Reference

CharDecHexBinary
A654101000001
B664201000010
Z905A01011010
a976101100001
z1227A01111010
0483000110000
9573900111001
Space322000100000

Understanding Number Systems

Binary (Base 2)

Uses only 0 and 1. Each digit represents a power of 2. Computers use binary because transistors have two states: on (1) and off (0).

"A" = 01000001 = 64+1 = 65

Hexadecimal (Base 16)

Uses 0-9 and A-F. Compact way to represent binary (4 bits = 1 hex digit). Common in programming and web colors.

"A" = 41 = 4×16 + 1 = 65

Octal (Base 8)

Uses 0-7. Historically used in computing (3 bits = 1 octal digit). Still seen in Unix file permissions.

"A" = 101 = 1×64 + 0×8 + 1 = 65

Decimal (Base 10)

Our everyday number system. In computing, decimal values are ASCII codes that map to characters.

"A" = 65 (ASCII code)

Frequently Asked Questions

Why is binary important in computing?

Computers are built from billions of transistors that can only be in two states: on or off. Binary (1 and 0) directly maps to these states, making it the fundamental language of all digital systems.

What's the difference between ASCII and UTF-8?

ASCII uses 7 bits to represent 128 characters (English letters, numbers, symbols). UTF-8 is backward-compatible with ASCII but can represent over 1 million characters including emojis and international scripts.

Why do programmers use hexadecimal?

Hex is more compact than binary (FF vs 11111111) and maps perfectly to bytes (2 hex digits = 1 byte = 8 bits). It's used for memory addresses, colors (#FF0000), and debugging.

Report something?