Runs locally
Bitwise Calculator
AND, OR, XOR and 32-bit NOT.
Ctrl+Enter runs. Ctrl+Shift+Backspace clears.
Export and import are available after you sign in. Sign in
AND, OR, XOR and 32-bit NOT. Runs in the browser. Nothing is uploaded.
About this tool
Combine two integers bit by bit or invert one with NOT. Useful when working with permission flags, bit masks, network code or embedded programming.
How to use it
- 01
Choose the operation: AND, OR, XOR or NOT.
- 02
Enter A, and B if the operation needs two values.
- 03
Read the result.
FAQ
Frequently asked questions
Why is NOT limited to 32 bits?
Inverting a number needs a fixed width; 32 bits matches the integers used by most languages for bitwise work.
Can I enter hex or binary?
Enter decimal integers. Convert hex or binary first with the number base converter.