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?+
Is the XOR method secure?+
What is the difference between encryption and encoding?+
What key should I use for Caesar Cipher?+
Does ROT13 need a key?+
Can I decrypt without the original key?+
Does this tool send data to a server?+
Does the Swap button preserve the key?+
Related Tools You Might Like
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, and more
Password Generator
Generate secure, random passwords with custom options
Word Counter
Count words, characters, paragraphs, and reading time
Base64 Encoder & Decoder
Encode and decode Base64 for text, files, and images with Data URI output
File to Base64
Encode any file type to Base64 or a Data URI, with the MIME type filled in
Base64 to File
Decode a Base64 string into a real file, with the type read from its header bytes
Understanding Text Encryption
Text encryption transforms readable text into unreadable ciphertext. Our tool offers multiple methods ranging from simple ciphers (ROT13, Caesar) to more complex encoding (AES, Hex). This is perfect for learning about cryptography, sending simple encoded messages, or encoding data for web use.
How to use the Free Text Encrypt & Decrypt
- Enter or paste your text.
- Select an encryption method.
- Choose Encrypt or Decrypt mode.
- For AES/Caesar, enter a secret key.
- View and copy the result.
What this tool handles
AES Encryption
XOR-based encryption with a custom secret key and Base64 output.
Caesar Cipher
Classic shift cipher with configurable key value.
ROT13
Rotate-by-13 substitution cipher — widely used in online forums.
Morse Code
Convert text to and from Morse code dots and dashes.
