← All tools

XOR Cipher

Apply a repeating UTF-8 key to data in UTF-8, hex or standard Base64, and choose the output encoding.

xor-cipherLOCAL WORKSPACE

Enabling local controls…

Settings

Local tool inputs

Maximum decoded input: 64 KiB. The UTF-8 key repeats from the first byte.

Inputs stay in this page’s memory. Export only what you choose to copy or download.

References checked on 2026-11-21 · RFC 4648 · Base16 and Base64 · XOR Cipher

Result

Run the tool to see the result.

How to use this tool

To reverse the result, swap the input and output encodings and apply the same key.

When not to use it

Repeated-key XOR is reversible obfuscation. Use authenticated encryption to protect confidential data.