Classic Cipher Tool

Encode or decode text with Caesar, ROT13, Atbash & Vigenère ciphers — great for puzzles and learning cryptography basics.

Text Tools Free

Options

Result

About this tool

What this cipher tool does

It encodes and decodes text using four classic ciphers: the Caesar cipher (shift every letter by a fixed amount), ROT13 (the classic fixed 13-shift used all over the internet for spoiler text), Atbash (reverse the alphabet), and the Vigenère cipher (a keyword-based cipher that shifts each letter by a different amount). These are historical and educational ciphers, not real security — they're for puzzles, learning cryptography basics, and internet-culture uses like ROT13'd spoilers, not for protecting sensitive data.

Who it's for

Students learning the basics of cryptography, puzzle and ARG (alternate reality game) enthusiasts decoding a clue, and anyone who needs to quickly ROT13 a spoiler or ranked answer before posting it online.

How to use it

  • Pick a cipher: Caesar, ROT13, Atbash, or Vigenère.
  • Choose Encode or Decode (ROT13 and Atbash are their own inverse, so this toggle doesn't change their output).
  • For Caesar, set the shift amount (1–25); for Vigenère, enter a keyword.
  • Paste your text and the result updates live — toggle whether to preserve letter case and whether spaces/punctuation pass through unchanged.
  • For Caesar specifically, scroll down to see all 25 possible shifts at once — handy for cracking a Caesar-encoded message when you don't know the shift.

Real-world use cases

  • Posting spoilers or puzzle answers online: ROT13 is the internet-standard way to obscure text so it isn't accidentally read at a glance, while still being trivially reversible for anyone who wants to see it.
  • Cryptography homework or a first intro to ciphers: see exactly how each classic cipher transforms text, which is a common starting point before learning modern encryption.
  • Solving an ARG or escape-room style puzzle that uses a Caesar or Vigenère cipher — the brute-force view tries every possible Caesar shift so you don't have to.
  • Decoding a message with an unknown Caesar shift: the "try all 25 shifts" table lets you scan for the one that produces readable text.

Frequently asked questions

Are these ciphers secure for protecting sensitive information?

No — Caesar, ROT13, Atbash, and even Vigenère are all trivially breakable with basic frequency analysis or, for Caesar, simply trying all 25 shifts. They're historical and educational tools, not real encryption. For anything sensitive, use a proper modern cryptographic method.

What's the difference between Caesar and ROT13?

ROT13 is just a Caesar cipher with the shift fixed at 13 — which happens to make it its own inverse, since shifting by 13 twice (26 total) brings you back to the start. That's why ROT13 doesn't need a separate "decode" mode.

How does the Vigenère cipher work?

Instead of shifting every letter by the same amount like Caesar, Vigenère uses a keyword — each letter of your message is shifted by the corresponding letter of the repeating keyword, which makes simple frequency analysis much harder than with a single-shift cipher.

What is the Atbash cipher?

Atbash simply reverses the alphabet: A becomes Z, B becomes Y, and so on. It's one of the oldest known ciphers, originally used for Hebrew text, and like ROT13 it's its own inverse.

Why isn't my punctuation showing up in the result?

Turn on "Keep spaces & punctuation as-is" — with it off, only letters are kept in the output, which is how these ciphers were traditionally used (strip everything except the letters being encoded).