Encode or decode text online with the Caesar cipher. Choose alphabet (Latin, Cyrillic, Greek, Hebrew, Arabic), set shift value, and switch between encode and decode.
The Caesar cipher is a classic substitution cipher where each letter in the alphabet is shifted by a fixed number of positions. To encode, you shift letters forward; to decode, you shift them back. Our free Caesar cipher shifter lets you choose the alphabet (Latin, Cyrillic, Greek, Hebrew, or Arabic), enter a shift value (0 to 100), and switch between Encode and Decode mode. Non-letter characters (spaces, numbers, punctuation) are left unchanged.
Select your alphabet to match the language of your text. Latin is used for English and many European languages; Cyrillic for Russian and others; Greek, Hebrew, and Arabic for those scripts. The shift value determines how many positions each letter moves. For example, with Latin and shift 2, 'a' becomes 'c', 'b' becomes 'd', and 'z' wraps to 'b'. Decode mode reverses the shift, so the same shift value that encoded the text will decode it back.
The Caesar cipher is useful for learning cryptography, creating simple secret messages, puzzles, and educational exercises. It is not secure for real secrecy—it can be broken by trying all possible shifts or by frequency analysis—but it is a great way to understand how substitution ciphers work. All encoding and decoding runs in your browser; no data is sent to a server.
Enter your text in the input box, choose the alphabet, set the shift value (e.g. 2 for a classic Caesar shift of 2), and select Encode or Decode. The result updates instantly. To decode a message, use the same alphabet and the same shift value that was used to encode it, and select Decode mode.
Input: addasdaw. Alphabet: Latin. Shift: 2. Mode: Encode. Result: cffcufcy (each letter shifted forward by 2: a→c, d→f, s→u, w→y). To decode cffcufcy back to addasdaw, use the same settings and select Decode.