UTILS.
100% in-browser

XOR Cipher

XOR-encrypt a message with a repeating key, producing hex output you can decrypt back.

— output appears here —

About this tool

Encrypt text by XOR-ing each UTF-8 byte of the message with a repeating key, all inside your browser. Encryption outputs hex; decryption turns hex back into text.

Frequently asked questions

Why is the output in hexadecimal?
XOR can produce non-printable bytes, so the ciphertext is shown as hex to stay copy-safe and reversible. Decrypt expects that same hex back.
Is XOR encryption secure?
A repeating-key XOR is easily broken and is meant for learning or light obfuscation, not for protecting sensitive data.

More tools