Loading...
Convert between binary, octal, decimal, and hexadecimal — with grouped output and a quick reference table.
Choose binary (base 2), octal (base 8), decimal (base 10), or hexadecimal (base 16).
Type a number in your selected base.
Instantly see the value converted to all four number systems.
Copy any individual result to your clipboard.
Binary, octal, decimal, and hexadecimal all at once.
Binary grouped in nibbles (4 bits), hex grouped in bytes for readability.
Real-time validation ensures only valid digits for the selected base.
Common values (0–1024) shown in all four bases.
All conversions happen in your browser.
Decimal input supports negative numbers. Binary/octal/hex inputs are treated as unsigned.
JavaScript safely handles integers up to 2^53 - 1 (9,007,199,254,740,991).
This tool converts integers only. For floating-point binary, use a specialized IEEE 754 converter.