Online Tool Store Online Tool Store

Binary Operations Calculator

Perform browser-only binary AND, OR, XOR, and shift operations with decimal and padded binary results shown side by side.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Result

6

0000 0110

12 XOR 10 → 1100 XOR 1010 = 0110

Example shown — values are treated as 32-bit integers.

How it works

  1. Enter two whole numbers.
  2. Select a bitwise operation.
  3. Review the decimal result and its padded binary representation.

Bitwise operations compare corresponding binary digits. AND requires both bits, OR requires either bit, and XOR requires exactly one bit.

FAQ

What does XOR do?

XOR sets a bit when the corresponding input bits differ.

What are shifts?

Shifts move binary digits left or right; left shifts commonly multiply by powers of two.

Are negative values supported?

They are handled as JavaScript 32-bit integers.

How we compare

FeatureOnline Tool StoreProgrammer calculatorManual conversion
Shows binary result Manual
No installation Varies

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.