Secret Codes and Ciphers

About this tool

Type a message and encode it with a Caesar cipher on a wheel you can turn, Atbash, a keyword cipher, a rail fence or pigpen symbols, or decode one a student wrote. Choose the 26-letter alphabet or the 27-letter one with Ñ; accents are folded and punctuation is left alone. Crack the Code gives four short coded messages with a letter-frequency chart to compare against typical text, plus hints and an answer check. Each cipher has a short history note. Print the coded message, with or without the key, for students to swap.

Classroom ideas

  • Turn the Caesar wheel on the board and let students call out the shift as the class message changes.
  • Give each pair a printed pigpen message to decode with the key on the back.
  • Use the frequency chart to teach why a simple substitution cipher can be broken, then compare it with the rail fence.

Related tools