Crunchify

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal.

Binary (base 2)
Octal (base 8)
Decimal (base 10)
Hexadecimal (base 16)

How It Works

Every number can be represented in different bases. The base (or radix) tells you how many distinct digits are available before "rolling over" to the next place value. Binary (base 2) uses only 0 and 1 and is the native language of computer hardware. Octal (base 8) uses digits 0–7 and appears in Unix file permissions (e.g., chmod 755). Decimal (base 10) is everyday arithmetic. Hexadecimal (base 16) uses 0–9 and a–f, and is ubiquitous in memory addresses, color codes (#ff5500), and byte-level data.

This tool uses JavaScript's BigInt type for all arithmetic, so it handles arbitrarily large integers without precision loss — no 53-bit limit like Number.

Crunchify — Free tools, no ads, no tracking.