Developer
Base Converter
Convert binary, octal, decimal, and hexadecimal integer values in one place.
| Base | Value | Copy |
|---|---|---|
| Binary | 101010 | |
| Octal | 52 | |
| Decimal | 42 | |
| Hexadecimal | 2A |
FAQ
Questions people ask
Which bases are supported?
The converter supports binary base 2, octal base 8, decimal base 10, and hexadecimal base 16.
Can I use prefixes like 0x?
Yes. The tool accepts common 0b, 0o, and 0x prefixes and removes them before conversion.
Does it support large integers?
Yes. It uses BigInt, so large integer values can be converted without normal JavaScript number precision loss.
Related tools