TT Text Tools

Caesar Cipher

Encode or decode text with a Caesar shift cipher, including a ROT13 preset, entirely in your browser.

๐Ÿ”’ Runs entirely in your browser โ€” nothing is uploaded

Was this tool useful? Rate it:

Shift letters with a classic cipher

A Caesar cipher is one of the simplest ways to transform a message. Each letter moves forward or backward through the alphabet by the same shift amount, while spaces and punctuation stay in place. This makes it easy to create puzzle clues, classroom exercises, lightweight obfuscation and examples for explaining substitution ciphers. The tool updates immediately as you type, so you can try a shift, decode a sample, switch directions or use ROT13 without leaving the page.

The converter preserves uppercase and lowercase letters separately. A shifted uppercase letter remains uppercase, and a shifted lowercase letter remains lowercase. Non-letter characters are copied unchanged, which keeps sentences readable and makes it easier to compare the transformed output with the original message. The slider supports every shift from 0 to 25, with 0 included for checking formatting.

ROT13 and decode mode

ROT13 is a special Caesar cipher that shifts by 13 places. Because the alphabet has 26 letters, running ROT13 again returns the original text. It is often used for spoilers, simple forum jokes and examples where reversible obfuscation is enough. Decode mode simply shifts in the opposite direction, so it can recover messages made with the same shift.

Use it for learning, not security

Caesar ciphers are historically interesting but not secure encryption. Anyone can try all 26 shifts in seconds, and patterns in the language remain visible. Do not use this tool for passwords, private notes or sensitive business information. Use it for safe educational examples, games and quick demonstrations. All processing runs locally in browser JavaScript, so the page itself does not upload or store the messages you enter.

Like the rest of Text Tools, this page is designed for quick, repeatable utility work rather than account-based storage. Keep the original text nearby when the output matters, review the result, and copy only the final version you want to use. Refreshing the page clears the working area from the browser interface.

How to use

  1. Paste textEnter the message you want to shift.
  2. Choose shift and directionMove the slider from 0 to 25, use encode or decode, or click ROT13.
  3. Copy the resultCopy the transformed text while punctuation and spacing stay unchanged.

Frequently asked questions

What is a Caesar cipher?
It shifts each letter by a fixed number of places in the alphabet.
Is this secure encryption?
No. Caesar ciphers are educational and puzzle-friendly, not secure for secrets.
What does ROT13 mean?
ROT13 is a Caesar shift of 13. Applying it twice returns the original text.
Are numbers shifted?
No. The tool shifts A-Z letters and leaves numbers, punctuation and whitespace unchanged.