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 |
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.
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.
Tools that pair with this one
Code 128 Barcode Generator
Generate a Code 128 barcode from any text or number and download it as a PNG. Full ASCII, automatic subset switching, no signup and nothing uploaded.
EAN-13 Barcode Generator
Generate a valid EAN-13 retail barcode, with the check digit calculated for you, and download it as a print-ready PNG. Free, no signup, nothing uploaded.
UPC Barcode Generator
Generate a 12-digit UPC-A retail barcode with the check digit calculated automatically, and download it as a print-ready PNG. Free and entirely in your browser.
Code 39 Barcode Generator
Generate a Code 39 barcode from uppercase letters, digits and a handful of symbols, and download it as a PNG. Free, no signup, runs in your browser.
Built something?
RankCert is a weekly launch board where products rank on domain control we verify ourselves - not upvotes. Listing is free and the link is dofollow whether or not you display our badge.