Skip to content
Tejo Tools
Menu
Text toolsProcessed on your device

Caesar cipher

Shift each letter along the alphabet to encrypt your text, or shift it back to decrypt it. Your text is processed on your device.

0 characters · 0 lines
Mode
letters
Result

Your result will appear here.

0 characters · 0 lines

What it does

The Caesar cipher replaces each letter with the letter a fixed number of places further along the alphabet:

Capital letters stay capital and small letters stay small.

How to use it

  1. Choose Encrypt or Decrypt and set the Shift, then type or paste into “Your text”. Select “Try a sample” to see an example.
  2. The result appears next to your text and updates as you type.
  3. Select Swap to move the result into “Your text” and switch the mode, for example to check that your message decrypts back.
  4. Select Copy to put the result on your clipboard.

The rules

Limits

Your text can be up to 1,000,000 characters long.

Privacy

Your text is processed on your device: the shifting runs in your browser, and nothing you type or paste is uploaded. Only the mode and shift you chose are kept in your browser for next time.

Advertisements

Frequently asked questions

How does the shift work?

Each letter moves the same number of places along the alphabet, and wraps round from Z to A. With a shift of 3, A becomes D, B becomes E and X becomes A. Decrypt moves each letter the same number of places back.

Is ROT13 a Caesar cipher?

Yes. ROT13 is the Caesar cipher with a shift of 13. The alphabet has 26 letters, so encrypting twice with a shift of 13 gives back your text.

Is the Caesar cipher secure?

No. There are only 25 shifts, so anyone can try them all in seconds. Use it for puzzles, games and learning about ciphers, never to protect a password or private message.

What happens to accents, digits and punctuation?

They stay as they are. Only the letters A to Z, capital or small, are shifted; é, ß, digits, spaces, punctuation and emoji are kept in place.

Is my text uploaded?

No. Your text is processed on your device by your browser and is never sent to a server. Only the mode and shift you chose are remembered for your next visit.

Advertisements