ROT13 / Caesar Cipher.
Encode and decode ROT13, ROT47, ROT5, ROT18 and Caesar shifts, with a brute-force view of all 25 shifts.
Runs in your browserAbout ROT13 / Caesar Cipher
This tool applies the classic letter-shift ciphers. A Caesar cipher replaces each letter with the one a fixed number of places further down the alphabet: with shift 3, A becomes D and "attack at dawn" becomes "dwwdfn dw gdzq". ROT13 is the special case with shift 13; because the alphabet has 26 letters, applying it twice gives back the original, which is why forums and newsgroups use it to hide spoilers and puzzle answers. ROT5 rotates only digits, ROT18 combines ROT13 and ROT5, and ROT47 rotates all printable ASCII characters from ! to ~, so punctuation and digits are scrambled too. Case is preserved, and characters outside the cipher's range, such as spaces, accented and non-Latin letters, are left as they are. If you have a Caesar-encrypted message but not the key, turn on "Show all 25 shifts": the table lists every possible decryption and ranks them by how many common English words they contain, so the right shift is usually at the top. For example, "Wkh txlfn eurzq ira" is immediately recognised as shift 3, "The quick brown fox". Use direction decode to shift backwards by the given amount. These ciphers are puzzles and teaching tools, not encryption: anyone can break them in seconds, exactly as the brute-force view shows. They are still useful for escape rooms, geocaching, CTF warm-ups, obfuscating email addresses in demos and explaining how substitution ciphers work. Everything runs locally in your browser.
How to Use
- Paste the text and pick ROT13, ROT47, ROT5, ROT18 or Caesar.
- For Caesar, set the shift and choose encode or decode.
- Turn on "Show all 25 shifts" to crack a message with an unknown key.
Frequently Asked Questions
Is ROT13 encryption?
No. It has no key and is reversed by applying it again. It only hides text from a casual glance, for example spoilers.
Why are Cyrillic or accented letters unchanged?
The Caesar and ROT13 implementations shift the 26 Latin letters A–Z only. Other characters, including digits (except in ROT5, ROT18 and ROT47), are left as they are.
How does the brute-force ranking work?
Each of the 25 possible shifts is applied and scored by counting very common English words such as "the", "and" and "you". The highest score is listed first.
Is my text sent anywhere?
No. Everything runs in your browser.
Related Tools
Translate text to International Morse code and Morse back to text, with auto-detection.
Convert text between case formats.
Convert text to 8-bit binary and binary strings back to UTF-8 text.
Convert text to hexadecimal bytes and hex dumps back to UTF-8 text.
Encode and decode Base64 strings.
Decode, inspect, and verify JSON Web Tokens.