Number Base Converter
Type in any base and see binary, octal, decimal, and hex update live. Toggle bit grouping for readability.
How to Use
Type a value into the binary, octal, decimal, or hex input — the other three update automatically.
All four base outputs are shown side by side. Use the copy button on any row.
Enable bit grouping to space binary digits in groups of four. Hex is always grouped in fours.
FAQ
Are negative numbers supported?
Yes. Negative decimals show with a sign in other bases. Toggle the option to view 32-bit two's complement representation.
How big can the input be?
Accurate up to JavaScript's safe integer range (~±9×10¹⁵). Enable BigInt mode for arbitrarily large integers.
Are decimals supported?
No, this tool handles integers only. For floating-point base conversion, use a dedicated IEEE 754 tool.
Do I need 0x prefixes?
They're optional but accepted. 0x, 0o, and 0b prefixes are auto-recognized.
Is anything sent to a server?
No. All conversions happen in your browser; nothing leaves the page.