ToolPuma Logo

XOR Decrypt

Decrypt XOR-encoded hex or text back to plaintext.

Note: The input is treated as hex if it is a valid even-length hex string, otherwise as raw text. XORing with the same key twice recovers the plaintext.

What Is a XOR Decrypt?

The XOR Decrypt tool reverses XOR-encoded data back into plaintext. Because XOR is symmetric, decrypting applies exactly the same operation as encrypting: XOR each byte with the same repeating key. It accepts hex ciphertext or raw bytes.

How to Use This XOR Decrypt

  1. 1
    Enter KeyType the same key string used to encrypt.
  2. 2
    Paste CiphertextPaste the hex XOR ciphertext (or raw bytes).
  3. 3
    DecryptClick 'XOR Decrypt' to recover the plaintext.

Frequently Asked Questions

That means the key does not match, the input is not valid hex, or the data was not produced by XOR encryption with this key.
Only with a truly random key at least as long as the data (a one-time pad). Repeating short keys are not secure.