Number Base
Convert between binary, octal, decimal and hex
About Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a number in any base and instantly see its representation in all other bases.
Frequently Asked Questions
What number bases are supported?▼
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) — the four most commonly used number systems in computing.
Does it support negative numbers?▼
The converter works with positive integers. For negative numbers, enter the positive value and apply two's complement manually if needed.
What's the maximum number size?▼
It supports numbers within JavaScript's safe integer range (up to 2^53 - 1, or 9,007,199,254,740,991).