Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal instantly. Free online base converter, runs in your browser.
How to Use
- Select the input base from the dropdown (Binary, Octal, Decimal, or Hex).
- Enter your number in the input field.
- All conversions update instantly in the results below.
- Click Copy on any result to copy it to your clipboard.
Worked Examples
Decimal 255
Enter 255 with Decimal selected:
- Binary:
11111111 - Octal:
377 - Hex:
FF
Hex FF
Enter FF with Hex selected — same results as above.
Common Conversions
Number base conversion is essential in programming, networking, and digital electronics. Binary is the native language of computers, hex is used for memory addresses and color codes, and octal appears in Unix file permissions.
FAQ
What number bases are supported?
Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16).
Can it handle large numbers?
Yes. The converter uses BigInt internally, so it can handle arbitrarily large integers without precision loss.
Is my data sent anywhere?
No. All conversion runs 100% in your browser using JavaScript. Your data never leaves your machine.