Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) instantly.
Binary (base 2)—
Octal (base 8)—
Decimal (base 10)—
Hex (base 16)—
Tools run in your browser. Shared links may include your input; check the URL before sharing.
How to use
- Enter a number and select its original base.
- Copy the result in your target base.
This example illustrates one supported operation. Choose the matching mode and settings above; generated values and formatting may vary.
Example input or settings
255 (base 10)Example result
base 2: 11111111
base 8: 377
base 16: FFWhy is a digit invalid?
Each base allows different digits. Binary uses only 0 and 1, and octal excludes 8 and 9.