What Is a Number Base?
A number base (or "radix") is how many unique digits a numbering system uses before it carries over into a new place value. Decimal (base 10), the system most people use daily, has 10 digits (0-9). Computers fundamentally work in binary (base 2, just 0 and 1), and programmers frequently use octal (base 8) and hexadecimal (base 16, using 0-9 and A-F) as compact, human-friendly shorthand for binary values.
This converter takes a value in any one of those four bases and instantly shows the equivalent value in all four - using JavaScript's BigInt type internally, so even very large numbers convert exactly, with no precision loss.
Reading the Bit Breakdown
The binary breakdown below the results groups the bits of the current value into nibbles (4 bits - exactly one hex digit each) and bytes (8 bits, the smallest addressable unit on most hardware), right-padded with leading zeros and spaced out so the grouping is easy to scan visually.
| Unit | Size | Why it matters |
|---|---|---|
| Nibble | 4 bits | Maps to exactly one hexadecimal digit (0-F) |
| Byte | 8 bits (2 nibbles) | The standard unit of memory addressing and file size |
Why Use This Base Converter
Frequently Asked Questions
No. Every conversion happens entirely in your browser using JavaScript's BigInt arithmetic - nothing is uploaded or sent to a server.
JavaScript's ordinary numbers and bitwise operators only work reliably up to 32 bits. BigInt has no upper size limit, so very large values - far beyond what a 32-bit integer can hold - still convert correctly instead of silently overflowing or truncating.
Yes. While the Decimal input base is selected, typing a prefixed value like 0xFF, 0b1010, or 0o17 automatically switches the selector to the matching base and converts it. When a specific base is explicitly selected, that selector is always the source of truth.