XOR Calculator
Your data never leaves your browserCalculate the XOR of two integers and display the result in decimal, hex, and binary.
Brie — Bug Reporting Tool
Found a bug while testing?
Brie captures screenshots, console logs, network data, and session replays in one click — so developers get the full context without the back-and-forth.
About XOR Calculator
Enter two integers and compute their bitwise XOR. The result is displayed in decimal, hexadecimal, and binary representations. Useful for bitmasking operations, cryptography, checksums, and understanding bitwise logic.
How to use
- Enter the first number in decimal format.
- Enter the second number in decimal format.
- The XOR result appears instantly in decimal, hex, and binary.
More Math / Calculators
Frequently Asked Questions
FAQs about XOR Calculator
What is XOR?
XOR (exclusive OR) is a bitwise operation that returns 1 for each bit position where the two operands differ, and 0 where they are the same.
What is XOR useful for?
XOR is used in checksums, error detection, simple encryption/obfuscation, toggle operations, and finding the single differing element in a list.
Can I enter negative numbers?
Yes. JavaScript uses 32-bit signed integers for bitwise operations, so negative inputs work correctly.
Why is the result shown in multiple bases?
Decimal is the most readable for humans, hexadecimal is standard for memory addresses and color codes, and binary shows exactly which bits differ.
Is my data safe?
All calculation runs in your browser. No data is sent to any server.