XOR Cipher (Text to Hex)

Security Tools

XOR text with a repeating key and see the hex

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Key

Similar tools you may like

History

All history →

XOR Cipher (Text to Hex) — at a glance

XOR your text with a key and see the bytes in hex.

You paste
Hello
Run XOR
Result
23 0e 07 07 04

How to use it — step by step

Your text (or hex bytes to decode) and a key.

1

Add your text

Paste or type your input into the box. The Sample button fills in an example.

2

Choose the options

Pick the mode and settings you need. Results update when you run the tool again.

3

Press Run XOR

The result is made instantly inside your browser.

4

Copy the result

Use the Copy button, or send it to another tool.

Pro tips

Small things that make the result better.

✦The same key encodes and decodes.
✦The key repeats along your text.
✦XOR with a short key is not secure.

Quick facts

Freeno signup
Privateruns in your browser
Instantresult in a second
No limituse it as often as you like

Frequently Asked Questions

What does XOR do?+

It flips the bits of each byte wherever the key has a 1 bit. Doing it twice with the same key gives the original back.

What format is the output?+

Lowercase hex bytes separated by spaces. Decode accepts hex with or without spaces.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools