Caesar Cipher Encryptor

Encrypt and decrypt text using a configurable Caesar cipher algorithm

Text Input

Characters: 0

Cipher Shift Configuration

Quick shift presets:

Output Text

Characters: 0

About Caesar Cipher

The Caesar cipher is one of the simplest encryption techniques. It works by shifting each letter in the plaintext by a fixed number of positions down or up the alphabet.

For example, with a shift of 3:

  • A → D
  • B → E
  • C → F
  • ... and so on

Non-alphabet characters (spaces, numbers, punctuation) are not shifted.

To decrypt, simply apply the same shift in the opposite direction.

How to Use

  1. Enter your text in the input field
  2. Adjust the shift value using the slider or preset buttons
  3. Click "Encrypt Text" to encode your message
  4. Click "Decrypt Text" to decode an encrypted message
  5. Use the same shift value to encrypt and decrypt
  6. Copy the result to clipboard if needed

History

The Caesar cipher is named after Julius Caesar, who used it with a shift of 3 to protect military messages.

While not secure by modern standards, it's a great introduction to cryptography concepts.