Number Base Converter

Convert numbers between Binary, Octal, Decimal, and Hexadecimal in real-time. Perfect for programmers and CS students.

BinaryBase 2

0b11111111

OctalBase 8

0o377

DecimalBase 10
Input

255

HexadecimalBase 16

0xFF

Binary, Octal, Decimal & Hex Converter

Number systems form the backbone of how computers store, process, and communicate data. Binary is the native language of CPUs, hexadecimal is widely used in web colors and memory addresses, and octal remains common in Unix file permissions. This converter lets you jump across all four bases instantly as you type.

Binary (Base 2)

Uses only 0 and 1. The native language of all computers and digital electronics.

    01

Octal (Base 8)

Uses digits 0-7. Common in Unix/Linux file permission codes (e.g., chmod 755).

    01234567

Decimal (Base 10)

Uses digits 0-9. The everyday base-10 system humans use for all standard arithmetic.

    0-9

Hexadecimal (Base 16)

Uses 0-9 and A-F. Used in HTML colors, memory addresses, and assembly programming.

    0-9A-F