Encryption & Ciphers100% Client-Side

Decode Repeating-Key XOR Text

Paste the hexadecimal output of a repeating-key XOR transformation and enter the same key used to create it. Applying the operation again restores the original bytes, which the tool reads as UTF-8 text. Use a short public fixture to see how the key aligns with the bytes. Keep leading zeroes in both fields so the decoder reads their intended pairs without shifting the positions.

Legacy cipher for compatibility and learning only. It does not authenticate messages. Use AES-GCM for confidential data.

Configuration Options

Enter a repeating key of 1–64 bytes. Enter two hexadecimal digits per byte. Use Load Sample to try a public example.

Input
0 chars•0 lines
Output

Reverse tool

Repeating-Key XOR Text Encoder

Transform UTF-8 text with a repeating hexadecimal key and copy the resulting hex bytes. Use the matching decoder for educational round-trip examples.

Open Repeating-Key XOR Text Encoder
Example input
Hello
Example output
032e272724

How to Use the Repeating-Key XOR Text Decoder Online

  1. 1Paste the complete hexadecimal value, with two digits for each byte.
  2. 2Enter the identical hexadecimal key used to produce it.
  3. 3Read the recovered text or verify the byte pairs if the result cannot be read as UTF-8.
  4. 4Compare the output with the original fixture before reusing it.

Input & Output Examples

Public example key 4b. Applying the same one-byte key recovers the five original letters.

Input Sample
032e272724
Expected Output
Hello

Public example key 0102. The decoded bytes form one accented letter when read as UTF-8.

Input Sample
c2ab
Expected Output
é

Practical Developer Workflows

  • Verify a public XOR example by reversing the transformation.
  • Check whether a copied fixture preserved all leading zeroes.
  • Compare single-byte and multibyte plaintext after decoding their separate test vectors.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Yes. The same sequence of key bytes must align with the same positions in the ciphertext. A key with a different value or a missing initial byte generally produces a different result.

Explore Other Tools

12 suggested tools

View all tools