Number Base Converter

Convert between Decimal, Binary, Hexadecimal and Octal in real-time. Type in any field — all others update instantly.

Live Converter — Type in any field

Quick values:

How to Convert

Decimal → Binary

Repeatedly divide by 2, collect remainders bottom-up. E.g. 10 = 1010â‚‚

Binary → Hex

Group bits in sets of 4 from right, convert each group. 1111 = F

Decimal → Octal

Repeatedly divide by 8, collect remainders bottom-up. E.g. 255 = 377₈

Hex → Binary

Each hex digit = 4 binary bits. F = 1111, A = 1010, 0 = 0000