Text to Binary Converter 01
Convert text to binary, hexadecimal, octal, and decimal. Decode binary back to text. Perfect for developers and students.
Output Options
Binary (Base 2)
Hexadecimal (Base 16)
Octal (Base 8)
Decimal (Base 10 / ASCII)
Try these examples:
Common ASCII Reference
| Char | Dec | Hex | Binary |
|---|---|---|---|
| A | 65 | 41 | 01000001 |
| B | 66 | 42 | 01000010 |
| Z | 90 | 5A | 01011010 |
| a | 97 | 61 | 01100001 |
| z | 122 | 7A | 01111010 |
| 0 | 48 | 30 | 00110000 |
| 9 | 57 | 39 | 00111001 |
| Space | 32 | 20 | 00100000 |
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).
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.
Octal (Base 8)
Uses 0-7. Historically used in computing (3 bits = 1 octal digit). Still seen in Unix file permissions.
Decimal (Base 10)
Our everyday number system. In computing, decimal values are ASCII codes that map to characters.
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.
More encoding & developer tools