Caesar Cipher Encoder and Decoder
Shift letters by any amount to encode or decode a Caesar cipher, including ROT13, with all 25 possible shifts shown at once for cracking.
A Caesar cipher shifts every letter a fixed number of places through the alphabet. A shift of 13 is ROT13, which is its own inverse. It has 25 possible keys, offers no security at all, and exists today for puzzles, spoiler-hiding and teaching.
Runs entirely in your browser · no signup · nothing is uploaded · updated 2026-08-29
How to use it
- 1.Type or paste your text.
- 2.Move the shift slider - 13 gives you ROT13.
- 3.If you are decoding an unknown shift, read down the list of all 25.
Caesar shift reference
There are only 25 usable shifts, which is why trying them all breaks the cipher in seconds.
| Shift | A becomes | Name | Note |
|---|---|---|---|
| 1 | B | - | The classic one-step shift |
| 3 | D | Caesar's own | The shift Suetonius records Caesar using |
| 13 | N | ROT13 | Its own inverse - encoding twice returns the original |
| 23 | X | ROT23 | Same as shifting back by 3 |
| 25 | Z | - | Same as shifting back by 1 |
| 26 | A | - | No change - the alphabet wraps fully |
Embed this caesar cipher on your site
Free to use on any blog, class page or wiki. Paste the snippet and keep the credit line under it.
<iframe src="https://rankcert.com/embed/caesar-cipher" title="Caesar Cipher" width="100%" height="600" style="border:0;border-radius:12px" loading="lazy"></iframe> <p style="font-size:13px">Free <a href="https://rankcert.com/tools/caesar-cipher">caesar cipher</a> by RankCert</p>
Frequently asked questions
What is ROT13?
A Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying it twice returns the original - which is why it is used to hide spoilers rather than secrets.
How do I crack a Caesar cipher?
Try all 25 shifts and read which one produces words. That is why this tool lists them all - with only 25 possibilities there is nothing to break.
Is a Caesar cipher secure?
Not remotely. It has 25 possible keys and falls instantly to frequency analysis. It is a teaching tool and a party trick, never a security measure.
What happens to numbers and punctuation?
They pass through unchanged. Only the 26 letters are shifted, and case is preserved.
How do I decode a Caesar cipher without the key?
Try all 25 shifts and read which produces words - a brute force that takes seconds. For longer texts, letter frequency alone reveals the shift immediately.
What is the difference between a Caesar cipher and ROT13?
ROT13 is a Caesar cipher with the shift fixed at 13. Because 13 is half of 26, encoding and decoding are the same operation.
Why is a Caesar cipher not secure?
The key space is 25. Any computer tries every option instantly, and even by hand frequency analysis breaks it in minutes. It was adequate when most opponents could not read at all.
What is a Vigenere cipher?
A Caesar cipher with a shift that changes per letter according to a keyword. It resisted analysis for three centuries and is still trivially broken today, but it is the natural next step up.
The guide behind this tool

Morse code: how it works and how to learn it
The structure of International Morse Code, the timing ratios that make it readable, and why learning it by lookup table caps you at a few words a minute.
3 min read
Base64 explained: what it is, and when to use it
How base64 encoding works, why it makes data 33% larger, the difference between base64 and base64url, and the one case where inlining is worth it.
2 min read
Tools that pair with this one

Morse Code Translator
Translate text to Morse code and back, covering all 26 letters, 10 digits and 18 punctuation marks. Runs in your browser with no signup.
Converters & calculators
Percentage Calculator
Work out X% of Y, what percentage one number is of another, and percentage increase or decrease between two values.
Converters & calculators
Roman Numeral Converter
Convert any number from 1 to 3999 into roman numerals and back, with validation that rejects malformed numerals like IIII. Instant, free, no signup.
Converters & calculators
Unit Converter
Convert between metric and imperial units for length, weight, volume, time, digital storage and temperature, with exact conversion factors.
Converters & calculators