Caesar cipher and ROT13

TX-10Text

Encrypt or decrypt text with a Caesar shift of any size, including ROT13.

Direction
Alphabet

Last updated: October 2026 · Report a calculation error

How the Caesar cipher works

One of the oldest ciphers: every letter is replaced by one a fixed number of places further in the alphabet. Julius Caesar used a shift of 3, so A became D, B became E and so on, wrapping around at the end: X → A.

Example: “Veni, vidi, vici” with a shift of 3 becomes “Yhql, ylgl, ylfl”. To decrypt, shift the other way — just choose “Decrypt”.

ROT13 and other alphabets

  • ROT13 is a Caesar cipher with a shift of 13. The Latin alphabet has 26 letters, so the same operation encrypts and decrypts: “Hello” ↔ “Uryyb”. It was used online to hide spoilers and puzzle answers.
  • The tool also offers the 32-letter Polish alphabet, which shifts letters such as ą, ł and ż too. Digits, spaces and punctuation stay unchanged.

Is the Caesar cipher secure?

No. There are only 25 possible shifts in the Latin alphabet, so you can try them all by hand in minutes, and letter-frequency analysis breaks it too. It is fine for games, treasure hunts and learning the basics of cryptography — real data protection uses modern algorithms such as AES.

Frequently asked questions

How do I crack a Caesar cipher without the key?

Try every shift from 1 to 25 in “Decrypt” mode — only one gives readable text. In longer texts, the most common letter of the ciphertext usually stands for “e”.

Is capitalisation kept?

Yes — capitals stay capitals, and characters outside the alphabet (digits, spaces, commas) don’t change.

See alsoWhole category

  1. TX-01Character and word counterCount characters, words, sentences and paragraphs in any text.
  2. TX-02Lorem Ipsum generatorGenerate Lorem Ipsum placeholder text by paragraphs, sentences or words.
  3. TX-03Case converterConvert text to UPPERCASE, lowercase, Title Case or sentence case.
  4. TX-04Sort lines and remove duplicatesSort lines alphabetically, reverse their order or remove duplicate lines.