Caesar Cipher

Encrypt and decrypt text with the classic Caesar shift cipher. Choose any shift from 1–25. ROT13 ready. 100% private. Free online tool, no sign-up.

How to use

  1. Choose Mode — Pick Encrypt to shift forward, or Decrypt to shift back.
  2. Type Your Text — Letters are shifted; spaces, numbers, and punctuation pass through.
  3. Set the Shift — Any value from 1 to 25 works. Shift 13 is ROT13.
  4. Copy the Result — Use the encoded message for puzzles, games, or learning.

Frequently asked questions

Is the Caesar cipher secure?

No. With only 25 possible shifts, it is trivially brute-forced. Use it for puzzles or teaching only.

What is the connection to ROT13?

ROT13 is a Caesar cipher with a fixed shift of 13. Because 13 + 13 = 26, encryption and decryption are the same.

Does it preserve case?

Yes. Uppercase stays uppercase and lowercase stays lowercase after shifting.

What happens to numbers and symbols?

They are passed through unchanged. Only A–Z and a–z are shifted.

What shift should I use?

Caesar used 3. Any 1–25 works; 13 (ROT13) is convenient because encode = decode.

Does it handle case?

Yes — uppercase stays uppercase, lowercase stays lowercase.

What about numbers and punctuation?

Left unchanged — only A–Z and a–z are shifted.

Is this secure?

No. Treat as obfuscation only — Caesar is broken by hand in under a minute.

Is my message sent online?

No. Encoding/decoding runs locally.

Free Caesar Cipher

Encrypt and decrypt messages using the classic Caesar shift cipher named after Julius Caesar. Pick any shift from 1 to 25, or use shift 13 for ROT13.

Common Uses

  • Build escape-room and puzzle clues
  • Teach cryptography fundamentals in class
  • Decode classroom CTF challenges
  • Send playful hidden messages to friends
  • Demonstrate frequency analysis as a follow-up

How It Works

Each letter is shifted by the chosen amount within the 26-letter English alphabet. Non-letter characters are preserved exactly. Decryption uses the negative of the shift, with modular arithmetic to wrap around the alphabet.

Privacy

Everything runs locally. The text is never transmitted.

Related: ROT13 Encoder, Vigenere Cipher, Morse Code Translator.

Related free tools

  • Password Generator — Generate strong, random passwords with customizable length and character types.
  • MD5 Hash Generator — Generate MD5 hashes from any text. Useful for checksums and data verification.
  • SHA-256 Hash Generator — Generate cryptographic SHA-256 hashes. Industry-standard for security applications.
  • SHA-512 Hash Generator — Generate SHA-512 hashes with 128-character output. Strongest SHA-2 variant.
  • UUID Generator — Generate universally unique identifiers (UUID v4). Cryptographically random.
  • Random String Generator — Generate random alphanumeric or hex strings. Configurable length and quantity.
  • Password Strength Checker — Analyze password strength with entropy score and improvement suggestions.
  • HMAC Generator — Generate HMAC authentication codes with SHA-256, SHA-512, or SHA-1.
  • Bcrypt Generator — Generate bcrypt password hashes and verify them against passwords.
  • Credit Card Validator — Check Luhn checksum, detect card type (Visa, Mastercard, Amex, etc.), and verify number length instantly.
  • ROT13 Encoder / Decoder — Apply the ROT13 Caesar cipher or any custom shift. Encoding and decoding are the same operation.
  • Vigenere Cipher — Encrypt and decrypt messages with the classic polyalphabetic Vigenere cipher.

Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools