Skip to main content

Caesar Cipher

Encode and decode the Caesar cipher with any shift, or try all 25 shifts and see the most likely one. Keeps case and punctuation. Free and private.

More options

This is not secure encryption: anyone can break it. Use AES encryption for real secrets.

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Next steps

Done here? Use the Send to… menu on the result to carry it on to Vigenère Cipher or ROT13 / ROT47.

Free Caesar Cipher

Move every letter along the alphabet by a fixed number. Type your text and the shift to encode, or use Decode with the same shift. A table of all shifts helps when the shift is not known. It gives developers a quick browser-based way to solve a focused caesar cipher task before moving the result into a project.

How to use Caesar Cipher

Choose Encode or Decode and set the shift. The table below tries every shift on your text and marks the most English-looking one.

Common mistakes

  • Using it to protect real information: use AES instead.
  • Decoding with the wrong direction: Decode with the same shift reverses Encode.

Frequently asked questions

What is the Caesar cipher?
A substitution cipher named after Julius Caesar. Each letter is replaced by the letter a fixed number of places further on. A shift of 3 turns A into D.
How is the best shift chosen?
Each shift is scored by how closely its letter counts match English. The lowest score is marked. Very short texts can be marked wrongly.
Is it secure?
No. There are only 25 keys, so it can be broken by trying them all. It is for learning and puzzles.
Is anything uploaded?
No. The calculation runs in your browser and nothing you enter is sent to a server.
How do I use this caesar cipher tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.

More Security & Auth

View all Security & Auth tools →