Caesar Cipher
Free online caesar cipher tool, no installation required
About Caesar Cipher
Encrypts and decrypts text with the classic Caesar substitution cipher, shifting only the 26 letters A-Z/a-z while leaving digits, punctuation, and other characters unchanged. The shift is adjustable from 1 to 25 positions via either a number input or a slider, and a built-in brute-force view lists all 25 possible shifts at once so you can identify an unknown ciphertext.
How to Use
1. Pick Encrypt or Decrypt mode using the toggle at the top. 2. Type or paste text into the input box. 3. Set the shift value (1-25) using the number field or slider. 4. The output updates live in the output box; use Swap to feed the output back as input and flip modes, Copy to copy it, or Clear to reset. 5. Toggle Brute Force to display all 25 candidate shifts side by side for cracking.
Shift Math & Brute Force
Encryption maps each letter c to ((c - base + shift) mod 26 + base); decryption subtracts the same shift. The modulo handles wrap-around (e.g., Z shifted by 3 becomes C). Brute force computes every shift from 1 to 25 against the current input and mode, giving you 25 candidate plaintexts; since the keyspace is only 25, exhaustive search is always feasible.
▶Why are numbers and punctuation unchanged?
▶Is shift 26 different from shift 0?
▶Can I decrypt without knowing the shift?
▶What does the Swap button do?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee