Logo

Caesar Cipher & ROT13 Decoder

Classical ciphers and encodings — shift, rotate, encode, decode

These are puzzle ciphers, not protection. Every method here is reversible by anyone who recognises it, and that is what they are for — crosswords, CTFs, obfuscating a spoiler. To actually keep something private, use our AES-256 text encryption tool instead.

XOR (repeating key): A repeating-key XOR, the byte version of a Vigenère cipher. Fine for puzzles, and breakable without your key. For anything real, use the encrypt text tool.

Free Online Text Encryption & Decryption Tool

Encryption is the process of converting readable text into an unreadable format so that only someone with the right key or method can read it. It has been used for thousands of years — from Caesar\u2019s military messages to modern-day HTTPS connections. Whether you need to protect a message, learn how ciphers work, or encode data for storage, this tool has you covered.

This free Text Encrypt & Decrypt tool supports seven different methods. Choose a cipher, type or paste your text, and click Encrypt or Decrypt. Methods that require a key — the repeating-key XOR and the Caesar shift — let you set the key directly in the toolbar. Methods like ROT13, Base64, Reverse, Hex Encode, and Morse Code work without a key.

The Swap button moves your output back to the input field and switches the mode, so you can encrypt and then decrypt in seconds. Copy the result to your clipboard or clear everything and start over. All processing runs in your browser. No data is sent to any server. No account required.

Supported Encryption Methods

XOR (repeating key)

A repeating-key XOR encoded in Base64. Requires a secret key. Both parties must know the key to decrypt the message.

Caesar Cipher

One of the oldest ciphers. Each letter is shifted by a fixed number of positions. The key is the shift amount (default 3). Easy to break but great for learning.

ROT13

A special case of the Caesar cipher that shifts letters by 13. Since the alphabet has 26 letters, applying ROT13 twice returns the original text.

Base64 Encoding

Converts binary data to a text format using 64 printable characters. Not encryption — it is encoding. Commonly used in emails, data URIs, and APIs.

Hex Encoding

Converts each character to its hexadecimal (base-16) representation. Often used in programming, colour codes, and debugging network data.

Morse Code

Converts letters and numbers to dots and dashes. Originally developed for telegraph communication. Space between words is represented by a slash (/).

Frequently Asked Questions

Is this encryption tool free?+
Yes, completely free with no account, no limits, and no data collection.
Is the XOR method secure?+
No, and we would rather say so plainly. A repeating-key XOR can be broken without your key once there is enough text, which is why it belongs with the puzzle ciphers. For anything that matters, use our AES-256 encrypt text tool instead.
What is the difference between encryption and encoding?+
Encryption requires a key to reverse. Encoding (like Base64 or Hex) can be reversed by anyone without a key. Encoding is for data format, not security.
What key should I use for Caesar Cipher?+
The key is the shift amount. Enter a number (e.g., 3, 5, 13). The default is 3, which is the historical shift used by Julius Caesar.
Does ROT13 need a key?+
No. ROT13 always shifts by 13. It is symmetric: encrypting and decrypting use the same operation.
Can I decrypt without the original key?+
For the XOR and Caesar methods, you are meant to need the key. For ROT13, Base64, Hex, Reverse, and Morse, no key is required.
Does this tool send data to a server?+
No. All encryption and decryption run entirely in your browser. Your text never leaves your device.
Does the Swap button preserve the key?+
Yes. Swap moves the output to input, switches mode, and keeps your key and method unchanged.
Advertisement