Binary / Octal / Decimal / Hex Converter

Convert arbitrary-precision integers (BigInt) across Base 2, 8, 10, 16, and custom radixes 2–36.

How It Works & Reference

Type a number in any base (e.g., 255 in Decimal, FF in Hex, or 11111111 in Binary) to update all bases simultaneously.

Common Hex, Decimal & Binary Values

DecimalHexBinary (8-bit)
00x0000000000
100x0A00001010
160x1000010000
1270x7F01111111
2550xFF11111111

Frequently Asked Questions

Does this lose precision on 64-bit integers?

No. It uses JavaScript BigInt rather than 53-bit floats, so 64-bit, 128-bit, and 256-bit integers stay exact.

Are 0x and 0b prefixes allowed?

Yes, common 0x, 0b, and 0o prefixes are stripped automatically.

How do I convert negative numbers?

Yes, prefix with '-' to see signed representations.

Related Tools