XOR Calculator

Bitwise XOR two equal-length hex strings.

Inputs


Sponsored

How it works

How it works

  • Treats each pair of hex digits as a byte and XORs corresponding bytes from A and B.
  • XOR is reversible: A ^ B = CA = B ^ C. It’s used in checksums, ciphers, and bitmasking.
  • Inputs must be even‑length hex and the same length; otherwise there’s no 1:1 byte pairing.

Privacy & Security

No data leaves page.

Accuracy, Limits & Tips

Requires even-length, same-size hex inputs.

Examples

  • a1ff00 XOR ffffff → 5e00ff

Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).