$ base

Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal, with two\x27s complement and bit breakdown for any width.

Enter in any base
Details
Ad slot

Reading the details

Grouped binary shows nibbles (4 bits) so you can map each group to one hex digit. Two\x27s complement is how CPUs store negative integers: a negative decimal is shown as the unsigned pattern it occupies at the chosen bit width. Prefixes 0x, 0b and 0o are accepted in the input fields. Values use BigInt, so 64-bit numbers are exact.