XOR Cipher Decrypter

What is XOR Cipher Decrypter

This tool decrypts XOR ciphertext: paste the hex and the key that was used to encrypt, and it XORs the bytes back into the original text. XOR is symmetric, so the same key both encrypts and decrypts. Everything runs in your browser, and nothing you paste is uploaded.

How to use

  1. Paste the hex ciphertext.
  2. Enter the same key used to encrypt.
  3. Read the recovered text in the output box.
  4. Copy it, or share the link with the hex filled in.

When to use it

Got a block of hex from a CTF challenge and the XOR key? Paste both here and read the message in one click. It pairs with the XOR encrypt tool: whatever was XORed with a key, you recover with the same key. If the output looks like gibberish, the key is wrong or the data was not XOR-encrypted text.

Frequently asked questions

What input does it expect?

Hex, the output of the XOR encrypt tool. Spaces are ignored. If the hex is invalid or an odd length, decryption cannot run.

Why is my output gibberish?

The key is probably wrong, or the hex was not XOR-encrypted text. XOR needs the exact same key that encrypted it; a different key gives scrambled bytes.

Is decryption private?

Yes. It runs entirely in your browser. Your hex and key are never uploaded or stored.

Can I share this with my hex pre-filled?

Yes. The URL updates automatically as you type. Copy it from the address bar or use the Copy link button, and anyone who opens it sees your exact hex ready to go. The key is never put in the link, so send it separately.

Related tools