XOR Hex

Bytewise XOR of two hex strings; optional uppercase.

XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails.

What XOR Hex does

XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails.

The interactive controls for XOR Hex load after this article so crawlers still read the instructions. Path /crypto/xor-hex is the canonical address. Work happens on this device; Tool-You does not take a copy of the file or pasted text for XOR Hex.

How to use XOR Hex

  1. Keep this tab on XOR Hex (/crypto/xor-hex). Pasting into the wrong Crypto tool (for example Hex Encode) changes the job.
  2. Paste or type the input XOR Hex expects. Path hint: crypto · xor hex. Bytewise XOR of two hex strings; optional uppercase.
  3. Apply the XOR Hex action only. HMAC-SHA256 is a different transform (HMAC-SHA256 hex and Base64; optional uppercase.). XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails.
  4. Copy the output of XOR Hex if you need it elsewhere. Size/complexity still follows: Equal even-length hex. Optional uppercase.
  5. If the text job is actually Hex encode/decode with bytes., leave XOR Hex and open Hex Encode.

When not to use XOR Hex

Skip XOR Hex when a neighbor tool matches better — start with Hex Encode or HMAC-SHA256 — or when the description already warns the job will fail. In the tool’s own words: XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails.

Questions about XOR Hex

What does XOR Hex do that other Crypto pages on this site do not?
XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails. Short version: Bytewise XOR of two hex strings; optional uppercase.
Does XOR Hex upload my file or text to Tool-You servers?
No. XOR Hex runs in this browser tab. Files stay on the device. Limit note: Equal even-length hex. Optional uppercase.
Should I use Hex Encode instead of XOR Hex?
Use XOR Hex when you need Bytewise XOR of two hex strings; optional uppercase. Use Hex Encode when you need Hex encode/decode with bytes. They share a category (Crypto) but not the same job.
What are the limits of XOR Hex?
Equal even-length hex. Optional uppercase. Also: XORs two even-length hex strings of equal size. Optional uppercase. Unlike Hex Encode this is not UTF-8 to hex. Odd length or mismatch fails.