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

Developer Tools

XOR Encrypt

Encrypt text with an XOR key instantly for learning, testing, and basic reversible obfuscation.

Tool

Use this XOR Encrypt tool to combine text with a key using the XOR operation and produce a hexadecimal output. It is useful for learning basic cryptography concepts, CTF practice, reversible obfuscation demos, byte-level debugging, and understanding how key-based XOR transforms plain input. Paste text and a key to generate XOR-encrypted output instantly.

About this tool

Use this XOR Encrypt tool to combine text with a key using the XOR operation and produce a hexadecimal output. It is useful for learning basic cryptography concepts, CTF practice, reversible obfuscation demos, byte-level debugging, and understanding how key-based XOR transforms plain input. Paste text and a key to generate XOR-encrypted output instantly.

Use xor encrypt 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, then the text below it
  2. Click Run Tool to XOR the text with the key
  3. Review the hexadecimal output
  4. Copy the result for testing or challenge work
  5. Use XOR Decrypt with the same key to reverse it

Examples

Example

Input

key
hello

Output

030015070A

The first line is the key, and the lines below are the plaintext.

Example

Input

abc
Attack

Output

20161700010A

Useful for seeing how a short repeating key affects multiple characters.

Common errors

The user forgets to include a key

Fix: Put the key on the first line and the plaintext below it.

The user expects secure modern encryption

Fix: XOR with a repeating key is educational, not secure for real protection.

The wrong key is used for decryption later

Fix: You must use exactly the same key to reverse the result.

The user expects text output instead of hex

Fix: This tool returns hexadecimal so the XOR result stays readable and copy-safe.

The input format is reversed

Fix: Always place the key first, then the source text on the following lines.

FAQ

What does XOR Encrypt do?

It combines the text with a key using XOR and returns a hexadecimal result.

How do I enter the key?

Put the key on the first line and the plaintext below it.

Is XOR secure encryption?

Not in this simple repeating-key form. It is mainly useful for learning and testing.

Why is the output shown as hex?

Hex keeps the XOR result readable and easy to copy.

What is the reverse of XOR Encrypt?

The reverse tool is XOR Decrypt using the same key.

Use cases

Related tools