0000 1000
Unsigned 8 · signed 8 · hex 0x8
Run AND, OR, XOR, NOT and bit shifts on decimal, binary, hex or octal integers with 8/16/32/64-bit masking.
0000 1000
Unsigned 8 · signed 8 · hex 0x8
Enter two integers in the base of your choice and apply a bitwise AND, OR, XOR, NOT or a left/right shift. The result is shown as unsigned and two's-complement signed decimal, hex, octal and space-grouped binary, all masked to the register width you pick (8, 16, 32 or 64 bits) so oversized values cannot silently overflow. Arithmetic uses JavaScript BigInt, which keeps 64-bit results exact.
Common questions and helpful answers about this utility.