How to Encode and Decode a Caesar Cipher Online
Turn a message into Caesar cipher text, or decode a coded message back into plain text. Type the text, set the shift and copy the result.
3 min read

To encode a message with the Caesar cipher, open the Caesar cipher encoder and decoder and type your text into the Plain text box. The coded text appears in the Cipher text box while you type. To decode, pick "Cipher text" under Source and paste the coded text. Then enter the shift that was used to encode it. The text is converted in your browser and is never uploaded.
The shift is the number of places each letter moves in the alphabet. It starts at 3, so A becomes D and B becomes E.
How to encode a message with the Caesar cipher
- Leave Source on "Plain text".
- Type or paste your message into the Plain text box.
- Type a number in the Shift field under the box, or keep 3.
- Click the copy button under the Cipher text box.
With shift 3, the message Surprise party on Saturday at 7! Bring balloons. turns into Vxusulvh sduwb rq Vdwxugdb dw 7! Eulqj edoorrqv. in the Cipher text box. Send the coded text, and tell the other person the shift.
How to decode a Caesar cipher message
- Pick "Cipher text" under Source. Target changes to "Plain text" by itself.
- Paste the coded message into the Cipher text box.
- Enter the shift that was used to encode it.
- Read the message in the Plain text box.
Use the same shift in both directions. Paste Vxusulvh sduwb rq Vdwxugdb dw 7! Eulqj edoorrqv. with shift 3, and the party message comes back.
After you encode a message, click the swap button with two arrows between the boxes. The coded text moves into the input box, and the original text comes back as the result. Use it to check a message before you send it.
How to find the shift of a coded message
Paste the coded message with "Cipher text" picked under Source, and try the shifts one at a time. Type 1 in the Shift field and read the result. Then type 2, and so on up to 25. The result changes as soon as the number changes. Stop when the text turns into real words.
Numbers above 25 repeat the same results. Shift 26 leaves the text as it is, like shift 0, and 29 works like 3.
What happens to capital letters, digits and accents
- Letters from A to Z move by the shift.
- Capital letters stay capital, and small letters stay small.
- Digits, spaces, punctuation and line breaks stay the same.
- Letters outside A to Z stay the same too, such as ç, ñ, ş and ğ. With shift 3,
cafébecomesfdié.
Type your message, set the shift and copy the coded text.
Ready to try it yourself?
Caesar Cipher Encoder
Encode text with the classic Caesar cipher: every letter moves forward by the shift you pick. Type a message and copy the cipher text as you type.