Text to Binary / Hex
Convert text to binary, hexadecimal, decimal, and octal. Decode back to text. Unicode support included.
Enter Text
4 Formats
Binary, hex, decimal, octal
Bidirectional
Encode and decode
Unicode
Emoji and special chars
100% Private
No data stored
Understanding Number Systems
Computers store all data as numbers. Text characters are assigned numeric codes (ASCII or Unicode), which can be represented in different number systems: binary (base 2), hexadecimal (base 16), decimal (base 10), or octal (base 8).
Number System Comparison
| Character | Binary | Hex | Decimal | Octal |
|---|---|---|---|---|
| A | 01000001 | 41 | 65 | 101 |
| a | 01100001 | 61 | 97 | 141 |
| 0 | 00110000 | 30 | 48 | 060 |
| ! | 00100001 | 21 | 33 | 041 |
| Space | 00100000 | 20 | 32 | 040 |
Common Use Cases
- Learning: Understand how computers represent text as numbers
- Programming: Debug encoding issues, work with binary protocols
- Data Analysis: Examine binary file contents in readable formats
- Cryptography: View encoded data in hex or binary
- Network Analysis: Inspect packet data in different formats
Frequently Asked Questions
How does text to binary work?
Each character has an ASCII/Unicode code number. That number is converted to base 2 (binary). 'A' = 65 = 01000001.
What's the difference between hex and binary?
Binary is base 2 (0-1), hex is base 16 (0-F). Hex is more compact: 4 binary digits = 1 hex digit.
Does this support emoji?
Yes! Enable Unicode mode to correctly handle emoji and characters outside the basic ASCII range.
Is my text stored?
No! All conversion happens in your browser. Your data never leaves your device.