Caesar Cipher
Encrypt and decrypt text with a configurable shift.Runs in this tab.⌘ ↵ runs it
How to use Caesar Cipher
- Choose Encrypt or Decrypt. Encrypt shifts forward. Decrypt applies the negative of the shift you enter.
- Set Shift. The number field and the slider both run from 1 to 25. The page opens at 13, which is ROT13.
- Type in Plain Text or Cipher Text. Only A-Z and a-z move, and case is kept. Change Shift to try another key. There is no button that tries all 25 shifts for you.
Caesar shifts, including ROT13
Encrypt moves letters forward by Shift. Decrypt moves them backward by the same number. Only A-Z and a-z change. Case stays. Digits and punctuation stay. The shift wraps with modulo 26.
Shift 3
| Mode | Shift | Input | Output |
|---|---|---|---|
| Encrypt | 3 | HELLO |
KHOOR |
| Decrypt | 3 | KHOOR |
HELLO |
The default shift is 13
The page opens with Shift at 13. That is ROT13. Hello, World! becomes Uryyb, Jbeyq!. The comma, space, and exclamation mark stay. The ROT13 encoder is this same shift with the number locked at 13.
Trying shifts until the words appear
There is no button that runs all 25 shifts. Choose Decrypt, paste KHOOR, and change Shift:
| Shift | Decrypt of KHOOR |
|---|---|
| 1 | JGNNQ |
| 2 | IFMMP |
| 3 | HELLO |
| 4 | GDKKN |
| 5 | FCJJM |
Shift 3 is the one that reads as a word. The alphabet here is the 26 English letters.
Next step
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeQuestions
How do I use a Caesar cipher decoder?
How do I use this as a Caesar cipher solver?
Is the Caesar cipher secure?
Does it shift anything besides English letters?
Comments
More in Encoding & Decoding
- Base64 Encoder / Decoder
- URL Encoder / Decoder
- HTML Entity Encoder / Decoder
- JWT Decoder
- Base32 Encoder / Decoder
- ROT13 Encoder / Decoder
- Morse Code Translator
- Binary to Text Converter
Comments