Caesar Cipher Encoder & Decoder
The classic Caesar cipher replaces each English letter with the letter three positions further along the alphabet, wrapping Z back to A. Decryption moves three positions back. This tool uses that fixed shift; use our Shift Cipher tool to choose another key.
Classic Caesar cipher: fixed shift of 3.
0 / 50,000 characters
Letter mapping · Shift 3
| Input alphabet | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Output alphabet | 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 |
Your text is processed in this browser. It is not uploaded or saved by this tool. No account required.
Decode without knowing the shift
Try all 26 possible shifts on your input, including 0 (unchanged). Read the candidates to find meaningful text; this tool does not automatically identify the correct answer.
How to encrypt or decrypt a Caesar cipher
Enter your text
Paste plaintext to encrypt, or a Caesar message to decrypt.
Choose an operation
Encrypt moves letters forward by 3; decrypt moves them back by 3. The result updates as you type.
Use the result
Copy or download the result. Reverse it to verify that the original text returns.
Caesar cipher example: HELLO → KHOOR
With a shift of 3, H becomes K, E becomes H and L becomes O. HELLO, WORLD! becomes KHOOR, ZRUOG!; decrypting restores HELLO, WORLD!. X, Y and Z wrap to A, B and C.
Number A–Z from 0 to 25. Encryption is E(x) = (x + 3) mod 26; decryption is D(x) = (x − 3 + 26) mod 26.
Supported text and limits
- Only A–Z and a–z are shifted; uppercase and lowercase are preserved. Digits, punctuation, spaces, accented letters, Chinese, Cyrillic and emoji stay unchanged.
- Up to 50,000 characters per input. Use this classical cipher for learning and puzzles; it is easily broken and should not protect sensitive information.
Frequently asked questions
What is a Caesar cipher?
A Caesar cipher is a substitution cipher that moves letters a fixed distance along the alphabet. The historical Caesar key is 3, which this page uses. The term also commonly refers to other fixed shifts.
How do I decrypt a Caesar cipher with shift 3?
Select Decrypt and paste the ciphertext. Each English letter moves three positions back: KHOOR becomes HELLO, and A wraps back to X.
How is Caesar cipher different from shift cipher?
They use the same rotation method. This Caesar page fixes the key at 3; our Shift Cipher page lets you choose any whole-number key, including 13 for ROT13.
Can I decode a Caesar cipher without the key?
Yes. Open the candidate section to see all 26 possible shifts and look for readable text. There are only 25 nonzero shifts for the English alphabet.
Does the tool change Chinese text or punctuation?
No. Only ASCII English letters A–Z and a–z rotate. Letter case is preserved; other characters, including accented letters, remain unchanged.
Is Caesar cipher secure, and is my text uploaded?
Caesar cipher is easy to break and is useful for learning and puzzles, not protecting secrets. This tool processes your text locally in the browser without uploading or saving it.
More Tools
PDF to Markdown
Convert PDFs into clean Markdown for writing and AI workflows
PDF to Word
Convert PDFs into editable Word documents (.docx) with the layout preserved
Word to Markdown
Convert Word documents (.docx) into clean Markdown for writing and AI workflows
URL to Markdown
Fetch a web page and convert its content to Markdown with headings, lists, tables, and links
Markdown Editor & Preview
Edit Markdown online with live lists, tables, and Mermaid diagrams; export a .md file
Markdown to PDF
Edit or upload Markdown and save the rendered document as a PDF
Shift Cipher Encoder & Decoder
Encrypt or decrypt a shift cipher with a custom key. Supports negative shifts, ROT13, all 26 decode candidates and local text processing. Free, no signup.