Binary / Hex Converter

Convert between binary, decimal, hexadecimal, and octal. ASCII text, interactive bit display, bitwise operations. Everything runs in your browser.

Decimal Base 10
Binary Base 2
Hexadecimal Base 16
Octal Base 8

Number base systems

Binary (base 2) uses only 0 and 1. Every number is represented as a sum of powers of 2. It is the native language of digital computers — every byte of data is ultimately stored as binary.

Hexadecimal (base 16) uses digits 0–9 and letters A–F. It is a compact way to represent binary data: one hex digit = exactly four binary bits. Hex is used in HTML colors (#FF5733), memory addresses, and encoding schemes.

Octal (base 8) uses digits 0–7. Historically used in Unix file permissions (chmod 755) and some older computing systems.