Unicorn

Number Base Converter

Type a number in one base and read it in all the others. Conversion is done with integer arithmetic, so long hex masks and big binary strings come out exact rather than rounded by floating point.

Your data is processed only inside this browser tab.

How to use

Binary, octal, decimal and hex — exact, at any size. Your data is processed only inside this browser tab.

FAQ

How big can the input be?

Arbitrarily large — values are not limited to 32 or 64 bits.

Are prefixes accepted?

Yes, 0x / 0b / 0o prefixes are recognized on input, and you can also just pick the base.

Related tools