Skip to main content

Binary / Decimal / Hex Converter

Convert numbers between binary, decimal, and hexadecimal bases instantly.

Binary
1111 1111
Decimal
255
Hexadecimal
FF
Bits: 8
Bytes: 1
Hex Digits: 2

How Number Base Conversion Works

Number base conversion transforms a number from one positional numeral system to another. Binary (base-2) uses only 0 and 1 and is the foundation of all digital computing. Decimal (base-10) is the standard human-readable format. Hexadecimal (base-16) uses digits 0–9 and letters A–F, providing a compact way to represent binary data — each hex digit maps to exactly 4 binary bits.

Common Conversions

Developers frequently convert between hex and binary when working with memory addresses, colour codes (e.g. #FF5733), bitwise operations, and network protocols. This converter supports arbitrarily large numbers using BigInt, so you can convert values far beyond the 32-bit or 64-bit limits of standard calculators.