Free online Caesar cipher and ROT13 tool
Encrypt and decrypt text with a classic Caesar shift cipher — or the popular ROT13 variant — right in your browser. Pick any shift from 0 to 25, choose whether to encode or decode, and watch the result update live as you type. Each letter is rotated through the alphabet while spaces, numbers, and punctuation stay exactly as they are. It is a great way to learn how substitution ciphers work, hide a spoiler or puzzle answer, or crack a message by trying every shift.
How to use the Caesar cipher tool
- Choose Encode to scramble your text, or Decode to reverse it.
- Set the shift with the slider or the number box — the default is 3, the shift Caesar himself used.
- Type or paste your message into the input box on the left.
- Read the transformed text in the result box; it updates automatically.
- Press Set ROT13 for a quick shift of 13, Copy result to grab the output, or Swap to move the result back into the input.
Why ROT13 is special
ROT13 is simply a Caesar cipher with a shift of 13. Because the alphabet has 26 letters, rotating by 13 and then rotating by 13 again lands you back on the original letter — so ROT13 is its own inverse. Encoding and decoding are the same action, which is why one Encode pass both hides and reveals text. It is widely used on forums to conceal spoilers in plain sight.
Ciphers, encodings, and related tools
A Caesar cipher is fun but offers no real security — with only 25 keys it is trivial to break. If you want to make data safe for transport rather than secret, try the Base64 encoder / decoder, and if you enjoy old-school codes, translate dots and dashes with the Morse code translator.