🏠 All 100 Tools 🧠 Learn AI — 1-on-1 Training ⚡ Services About Contact Etsy Shop ↗
🔢
Developer Tools

Binary & Hex Converter

Convert numbers between binary (base 2), hexadecimal (base 16), decimal (base 10), and octal (base 8) instantly. Enter a value in any field and all others update automatically.

1
Type a number in any base field
2
All other bases update automatically
3
Copy any result with one click
4
Use the text converter to encode ASCII text to binary or hex
Number Converter
Text to Binary / Hex

💡 Pro Tips

Hex values 00-FF represent 0-255 — the range of a single byte and RGB color channel values.
Binary 8-bit groups (bytes) are the fundamental unit of computer storage. 8 bits = 1 byte.
0xFF = 255 decimal = 11111111 binary — this is the maximum value of an unsigned byte.
Hex color codes in CSS use three hex pairs for Red, Green, Blue — #FF5500 = R:255 G:85 B:0.
Octal (base 8) is commonly used in Unix file permission notation: chmod 755 means rwxr-xr-x.
Powers of 2 are key: 2^8=256, 2^10=1024 (1KB), 2^20=1048576 (1MB), 2^30=1GB.
For debugging: convert memory addresses from hex to decimal to understand pointer arithmetic.