Number Base Converter
Convert a number between decimal, hex, binary, octal or any base, edit its bits, and run bitwise AND, OR, XOR, shifts and rotations on it
Digits 0 to 9, or a number with a 0x, 0b or 0o prefix.
Digits 0 to 9 and letters a to f.
Only 0 and 1.
Digits 0 to 7.
Type in any field. Whole numbers of any size, negative ones included; spaces and _ are ignored. Digits above 9 are the letters a to z, so base 32 here is not the Base32 encoding of RFC 4648.
Bits
Click a bit to flip it. A negative number is shown in two's complement.
Bitwise
In decimal, or with a 0x, 0b or 0o prefix. Computed on the width chosen above, in two's complement.