Caesar Cipher

A simple substitution cipher for text.

About the Caesar Cipher

The Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, 'D' would be replaced by 'A'. This tool allows you to both encrypt and decrypt messages using this classic method, making it a fun way to learn about the basics of cryptography.

How to Use This Tool

  1. Enter Text: Type or paste the message you want to work with into the main text area.
  2. Set Shift Amount: Enter a number between 0 and 25 in the "Shift Amount" field. This is the key for the cipher.
  3. Encrypt or Decrypt: Click "Encrypt" to shift the letters forward, or "Decrypt" to shift them backward.
  4. View Result: The transformed message will appear in the "Result" box.