Caesar Cipher Encoder and Decoder

Converters & calculators·Free · in browser

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.

Caesar Cipher Encoder and Decoder
All tools

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. 1.Type or paste your text.
  2. 2.Move the shift slider - 13 gives you ROT13.
  3. 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.

ShiftA becomesNameNote
1B-The classic one-step shift
3DCaesar's ownThe shift Suetonius records Caesar using
13NROT13Its own inverse - encoding twice returns the original
23XROT23Same as shifting back by 3
25Z-Same as shifting back by 1
26A-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

Tools that pair with this one

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.