Compute bitwise operations
AND a mask, set a flag bit, shift a register value — see the binary while you do it.
Tools used in this guide
The job
Embedded flags and file permissions live in bits. 'What is 0xF0 & 0x3C' and 'what does x << 3 do' are faster answered by sight than by REPL.
Two operands, one width
Enter A and B in decimal or hex, pick 8/16/32/64-bit width and an operation. The result shows decimal, hex, and the full binary string.
Worked example
0xF0 & 0x3C = 0x30 (48); 5 << 3 = 40; ~0x0F at 8 bits = 0xF0. Width matters: ~0 at 8 bits is 255, at 64 it is 2^64−1.
Where it stops
BigInt arithmetic, exact at every width. Signed/unsigned interpretation is shown as unsigned bit patterns — two's complement is visible, not labeled.