Convert numbers between binary, octal, decimal and hexadecimal.
Number Base Converter
Decimal / Binary / Octal / Hex
Result will appear here…Which number bases are supported?
Binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16), converted simultaneously.
Can it handle negative numbers?
Yes — negative values and very large integers are converted exactly. Type decimal, or prefix input with 0x (hex), 0b (binary) or 0o (octal).
Looking for something else? Browse all Conversion tools or every category.