Base Converter
Convert between binary, octal, decimal and hex with bit-width and two's-complement view.
Digits 0-1. Spaces and
0b allowed.
Digits 0-7.
0o allowed.
Signed integer.
Digits 0-9 A-F.
0x allowed.
Limits range and enables two's complement.
How the decimal value is read.
Details
Bits set
–
Width
–
Bytes (LE)
–
Bytes (BE)
–
Notes
Type in any field and the others update live. Choosing a fixed bit width masks the value and, for signed mode, shows the two's-complement interpretation. Values that don't fit the selected width are rejected.