Encode or decode text with the Caesar shift cipher. See ROT13, ROT47, Atbash and every shift from 1 to 25 at once β so decoding an unknown message is as simple as spotting the readable row.
ROT13 (encode/decode)
ROT13 (encode/decode): Attack at dawn
Shift +1
Shift +1: Attack at dawn
Shift +3 (classic Caesar)
Shift +3 (classic Caesar): Attack at dawn
Shift +5
Shift +5: Attack at dawn
Shift +7
Shift +7: Attack at dawn
Shift +10
Shift +10: Attack at dawn
Shift β3 (decode Caesar)
Shift β3 (decode Caesar): Attack at dawn
Shift β5
Shift β5: Attack at dawn
Shift β7
Shift β7: Attack at dawn
Atbash (AβZ)
Atbash (AβZ): Attack at dawn
ROT47 (letters, digits, symbols)
ROT47 (letters, digits, symbols): Attack at dawn
ROT18 (ROT13 + ROT5 digits)
ROT18 (ROT13 + ROT5 digits): Attack at dawn
Shift +2
Shift +2: Attack at dawn
Shift +4
Shift +4: Attack at dawn
Shift +6
Shift +6: Attack at dawn
Shift +8
Shift +8: Attack at dawn
Shift +9
Shift +9: Attack at dawn
Shift +11
Shift +11: Attack at dawn
Shift +12
Shift +12: Attack at dawn
Shift +14
Shift +14: Attack at dawn
Shift +15
Shift +15: Attack at dawn
Shift +16
Shift +16: Attack at dawn
Shift +17
Shift +17: Attack at dawn
Shift +18
Shift +18: Attack at dawn
Shift +19
Shift +19: Attack at dawn
Shift +20
Shift +20: Attack at dawn
Shift +21
Shift +21: Attack at dawn
Shift +22
Shift +22: Attack at dawn
Shift +23
Shift +23: Attack at dawn
Shift +24
Shift +24: Attack at dawn
Shift +25
Shift +25: Attack at dawn
Styled letters are Unicode characters, not fonts β screen readers may read them letter by letter and search engines don't match them to plain words, so keep essential details in plain text. Learn more
The Caesar cipher shifts every letter a fixed number of places along the alphabet β with a shift of 3, A becomes D and βattackβ becomes βdwwdfnβ. Julius Caesar reportedly used it for military messages; today it is the standard introduction to cryptography, the engine behind ROT13 on forums and the most common cipher in puzzle hunts and escape rooms.
Type plain text to encode it with any shift, or paste a coded message: because every shift from 1 to 25 is listed, one of the rows will be readable English and that is your decode. ROT13 is its own inverse (apply it twice to get back), Atbash mirrors the alphabet (AβZ, BβY) and ROT47 also shifts digits and punctuation for text that must hide numbers.
Type a message to encode, or paste ciphertext to decode.
Scan the rows β for decoding, look for the one that reads as normal language.
Copy the row you need. Tell the recipient the shift number (or βROT13β).
Each letter is replaced by the letter n positions later, wrapping from Z back to A. Case is preserved and anything that is not a letter is left alone, so spaces and punctuation reveal word lengths β one reason the cipher is easy to break.
With only 25 possible keys the fastest attack is to try them all, which the page does for you. If none of the rows reads clearly, the message may use a different cipher: check whether the letters are mirrored (Atbash), whether digits are involved (ROT47 / ROT18), or whether it is a substitution with a random key, which needs frequency analysis rather than shifting.
ROT13 became the convention on Usenet and Reddit for hiding spoilers, punchlines and puzzle answers: it is not secret, it just stops you reading something by accident. Because 13 is half the alphabet the same operation encodes and decodes. ROT5 rotates digits (0β9) in the same spirit, and ROT18 combines the two.
Paste the text and look through the 25 shift rows β exactly one will be readable.
ROT13 is a Caesar cipher with a fixed shift of 13, chosen because applying it twice restores the original.
Plain shifts and ROT13 leave digits alone. ROT47 shifts letters, digits and symbols; ROT18 shifts digits by 5.
No β it can be broken instantly. Use it for games, puzzles and spoilers, never for real secrets.
Yes.
20 font styles, 5000+ symbols and a full Unicode text editor. Everything runs in your browser and your text never leaves your device.