01
Number Base Converter
Convert numbers between decimal, hex, binary and octal.
Bit width:
About this tool
Processing happens directly in your browser. No files are uploaded to the server.
Number Base Converter lets you type in any base (decimal, hex, binary or octal) and all other fields update in real time. Supports 8-bit, 16-bit and 32-bit display with leading zeros and two's complement for negative numbers.
How to use
- 1 Type a number in any of the four fields.
- 2 All other bases update instantly.
- 3 Choose 8/16/32-bit mode to control binary padding.
- 4 Prefix accepted: 0x for hex, 0b for binary, 0o for octal.
Frequently asked questions
What bases are supported?
Decimal (base 10), Hexadecimal (base 16), Binary (base 2) and Octal (base 8).
Does it support negative numbers?
Yes. Enable a fixed bit width and enter a negative decimal to see two's complement.
Is there a maximum value?
Up to 32-bit range (Β±2 147 483 647 for signed, 4 294 967 295 unsigned).
Is my data stored?
No. All conversion happens client-side.