Cipher Encoder and Decoder

Encode and decode text with Caesar, Atbash, Vigenère or Morse code.

Cipher Encoder and Decoder— runs in your browser

How to use it

  1. Choose a cipher. Caesar needs a shift; Vigenère needs a keyword.
  2. Type your message and press Encode or Decode.
  3. For Morse, letters are separated by spaces and words by /.

About

These are the classic ciphers from puzzle books, escape rooms and school projects:

  • Caesar moves every letter along the alphabet by a fixed number. Julius Caesar is said to have used a shift of 3.
  • Atbash swaps A with Z, B with Y and so on. Encoding and decoding are the same step.
  • Vigenère uses a keyword to shift each letter by a different amount, which hides letter patterns far better than Caesar. Only letters use up the keyword, so spaces and punctuation don’t change the result.
  • Morse turns letters and digits into dots and dashes.

Results come back in capitals, since the ciphers work on the 26 letters. None of these are secure by modern standards; use them for fun, not secrets.

Questions

How do I crack a Caesar cipher?

Try decoding with every shift from 1 to 25. Only one will produce readable words.

Why do some characters come back as "?" in Morse?

They’re codes the decoder doesn’t recognise, usually a typo. They’re listed under the result.