XOR Cipher
XOR-encrypt/decrypt text or hex data with a key string. Brute-force mode cracks single-byte XOR by printable ASCII score.
3b 00 0f 1e 0a 54 24 0a 11 1e 01
How XOR cipher works
XOR encryption applies the bitwise XOR operation between each byte of the plaintext and the corresponding byte of the key (repeating the key cyclically). XOR is its own inverse — the same operation decrypts the ciphertext. Single-byte XOR is a common challenge in CTF competitions; the brute-force mode here tries all 256 possible byte keys and ranks results by how many printable ASCII characters appear in the output.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Encoders & Decoders tools
Base64 Encoder
Encode or decode Base64 strings.
URL Encoder
Safely encode or decode URL parameters.
Base Converter
Convert numbers between binary, octal, decimal, hex, and base 2-36.
ROT13 Encoder / Decoder
Apply the reversible ROT13 letter-substitution cipher.
HTML Entity Encoder / Decoder
Escape or unescape HTML entities like & and <.
Punycode Converter
Convert internationalized domains to and from Punycode.
Text to Morse Code
Translate text into Morse code dots and dashes.
Morse Code to Text
Decode Morse code dots and dashes back into text.