Number Base Converter
Convert between binary, octal, decimal, and hexadecimal. Supports large numbers. 100% client-side.
—
—
Enter a value above
—
Frequently Asked Questions
How do I convert binary to decimal?▼
Select 'Binary (Base 2)' as the input base, type your binary number (e.g. 11010110), and all other base values update instantly. The decimal value appears in the 'Decimal (Base 10)' card. All conversion happens in your browser.
How do I convert hex to binary?▼
Select 'Hexadecimal (Base 16)' as the input base, enter your hex value (e.g. D6), and the binary representation appears instantly with optional 4-bit grouping for readability.
Does this support large numbers?▼
Yes! This converter uses JavaScript BigInt internally, so it can handle arbitrarily large numbers far beyond the 64-bit integer limit. There's no practical size restriction.
What does the Bit Information section show?▼
It shows the number of bits needed to represent the value, the byte count, the smallest unsigned integer type it fits in (uint8, uint16, uint32, uint64), and whether the number is signed (negative).
Is my data safe?▼
Absolutely. This tool runs 100% in your browser. No data is sent to any server. Your numbers never leave your device.
Can I use separators in binary input?▼
Yes, you can use spaces or underscores as separators for readability (e.g. 1101_0110 or 1101 0110). They are automatically stripped before conversion.