Simple online tools for developers, networking, text and conversions.

Developer Tools

XOR Decrypt

Decrypt XOR-encrypted hexadecimal text with the same key instantly.

Tool

Use this XOR Decrypt tool to reverse XOR-encrypted hexadecimal text using the same key that was used for encryption. It is useful for CTF practice, cryptography basics, byte-level debugging, reversible obfuscation demos, and understanding how XOR transforms can be undone when the key is known.

About this tool

Use this XOR Decrypt tool to reverse XOR-encrypted hexadecimal text using the same key that was used for encryption. It is useful for CTF practice, cryptography basics, byte-level debugging, reversible obfuscation demos, and understanding how XOR transforms can be undone when the key is known.

Use xor decrypt when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Enter the key on the first line and the hexadecimal ciphertext below it
  2. Click Run Tool to decrypt the value
  3. Review the readable plaintext output
  4. Copy the result for analysis or notes
  5. Use XOR Encrypt to create matching test samples

Examples

Example

Input

key
030015070A

Output

hello

The same key used for encryption is required to recover the plaintext.

Example

Input

abc
20161700010A

Output

Attack

Useful for reversing a repeating-key XOR sample.

Common errors

The wrong key is used

Fix: Use exactly the same key that was used to encrypt the text.

The ciphertext is not valid hex

Fix: Enter only hexadecimal characters with an even total length.

The user pastes plaintext instead of XOR hex

Fix: This tool expects hexadecimal ciphertext, not ordinary text.

The input format is reversed

Fix: Put the key first and the hex ciphertext below it.

The user expects modern secure cryptanalysis

Fix: This tool only reverses simple XOR when the key is already known.

FAQ

What does XOR Decrypt do?

It reverses XOR-encrypted hex using the provided key.

What format should the ciphertext use?

Use hexadecimal characters with an even total length.

Do I need the same key used for encryption?

Yes. XOR decryption requires the exact same key.

Why does the output look wrong?

The most common reasons are the wrong key or invalid ciphertext format.

What is the reverse of XOR Decrypt?

The reverse tool is XOR Encrypt.

Use cases

Related tools