Caesar cipher
Shifts every letter by the same number of places.
Ciphertext
Khoor, Zruog!
Step by step
Step 2 of 13e moves 3 places forward in the alphabet and becomes h.
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
Try every key
Only 25 keys exist. Switch to decrypt and paste a ciphertext: one of these lines will be readable.
All ten ciphers
Your text through every cipher, each with its own key. Pick one to switch.
Letter frequency
- A: 0 in the input, 0 in the output
- B: 0 in the input, 0 in the output
- C: 0 in the input, 0 in the output
- D: 1 in the input, 0 in the output
- E: 1 in the input, 0 in the output
- F: 0 in the input, 0 in the output
- G: 0 in the input, 1 in the output
- H: 1 in the input, 1 in the output
- I: 0 in the input, 0 in the output
- J: 0 in the input, 0 in the output
- K: 0 in the input, 1 in the output
- L: 3 in the input, 0 in the output
- M: 0 in the input, 0 in the output
- N: 0 in the input, 0 in the output
- O: 2 in the input, 3 in the output
- P: 0 in the input, 0 in the output
- Q: 0 in the input, 0 in the output
- R: 1 in the input, 2 in the output
- S: 0 in the input, 0 in the output
- T: 0 in the input, 0 in the output
- U: 0 in the input, 1 in the output
- V: 0 in the input, 0 in the output
- W: 1 in the input, 0 in the output
- X: 0 in the input, 0 in the output
- Y: 0 in the input, 0 in the output
- Z: 0 in the input, 1 in the output
Caesar and Atbash only move the bars around, so the most common letter gives the key away. Vigenère flattens them, the rail fence keeps them exactly.
About this tool
Encoding is not encryption
Morse code and Base64 hide nothing: anyone who knows the code can read them. Encryption needs a secret key.
Unbreakable for three centuries
The Vigenère cipher, described in 1553, was called le chiffre indéchiffrable. Only in 1863 did Friedrich Kasiski publish a general way to break it.
The one perfect cipher
XOR with a truly random key as long as the message, used only once, is the one-time pad. Claude Shannon proved in 1949 that it cannot be broken.
Learn more
Keyboard
- Space
- Play or pause the steps
- ←→
- Next or previous step
- M
- Switch between encrypt and decrypt
- S
- Swap input and result
- E
- Load the example
- N
- Next cipher
- K
- Random key