HomeDev ToolsNumber Base Converter
🔢

Number Base Converter

Convert between Binary, Octal, Decimal and Hexadecimal instantly

Convert numbers instantly between Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16). Enter any number and see all conversions instantly.

Decimal
Base 10
Binary
Base 2
0b
Hexadecimal
Base 16
0x
Octal
Base 8
0o
Dec
Bin
Hex
Oct

Frequently Asked Questions

Used in color codes, memory addresses, and encoding. More compact than binary.
The native language of computers, used in bitwise operations and data representation.
Numbers convert accurately up to JavaScript's safe integer limit (2^53 − 1, about 9 quadrillion) — far more than typical binary, hex, or octal conversion needs.
No — enter it into whichever base field it currently matches (binary, octal, decimal, or hex), and the other three fields update automatically.