🔢 Number Base Converter
Instantly convert binary, octal, decimal, and hexadecimal numbers. Supports 0x / 0b / 0o prefixes, bit-length, and signed two's complement.
✅ 100% free, no signup, runs entirely in your browser
Bit representation
8-bit signed
8-bit unsigned
16-bit signed
16-bit unsigned
32-bit signed
32-bit unsigned
🔗 Related Tools
📖 How to Use
-
1
Enter a number in any fieldEnter a number in any of the DEC, HEX, BIN, or OCT fields. Prefixes 0x, 0b, and 0o are supported.
-
2
See instant conversion in other basesThe other three representations update automatically as you type.
-
3
Check bit representationThe bit panel below shows 8/16/32-bit signed and unsigned twos-complement representations.
❓ FAQ
Can I enter negative numbers?
Yes. Enter a negative number in the decimal field with a minus sign. The bit panel shows the twos-complement representation.
Can it handle very large numbers?
Yes — the tool uses JavaScript BigInt, so it handles arbitrary-precision integers.
Can I use separators like commas or underscores?
Yes. Commas, underscores, and spaces are automatically stripped before parsing.