Number Base
Convert numbers between binary, octal, decimal, and hexadecimal in real time.
Runs entirely in your browser — files never uploaded
Binary (base 2)
Octal (base 8)
Decimal (base 10)
Hex (base 16)
Supports arbitrarily large numbers (BigInt). Hex is shown lowercase.
How to use Number Base
- 1. Type into any field. Binary, octal, decimal, or hex — pick whichever you have.
- 2. Other bases update live. All four representations stay in sync as you type.
- 3. Copy the format you need. Each row has its own copy button.
FAQ
What's the largest number supported?
Effectively unlimited — we use JavaScript BigInt, so numbers with hundreds of digits work fine.
Are negative numbers supported?
Not yet. Most binary/hex use cases are unsigned. For signed two's complement representation, we'll add a dedicated mode later.
Can I add a 0x or 0b prefix?
No — enter the digits only. We'll add prefix toggles in a future version.
Related tools
Advertisement