Binary / Hex Converter
Convert between number bases and encode text as binary
Number Bases
Text ↔ Binary
Decimal
Base 10
Binary
Base 2
Hexadecimal
Base 16
Octal
Base 8
Text Input
Binary Output
Binary Input (space-separated)
Text Output
Advertisement
Number Base Systems
Decimal (Base 10):
Uses digits 0-9. The standard number system.
Binary (Base 2):
Uses digits 0-1. The language of computers.
Hexadecimal (Base 16):
Uses 0-9 and A-F. Used for colors, memory addresses, and byte values.
Octal (Base 8):
Uses 0-7. Used in Unix file permissions.
Common Use Cases
Debugging memory addresses in programming
Setting color values in CSS (#FF5733)
Understanding IP addresses and subnet masks
Converting character encoding values
Working with bitwise operations
Advertisement