Tools
English

Neogie Caesar · Word games

Caesar Cipher: Encode and Decode Online

Pick a shift, or paste an unknown message and read all 25 attempts, ranked from the most to the least likely.

Settings

Everything happens in your browser: nothing you type is sent.

How does the Caesar cipher work?

Every letter is replaced by the one a fixed number of places further along the alphabet. With a shift of 3, A becomes D, B becomes E, and Z wraps round to C: “HELLO” is written “KHOOR”. To decrypt, you step back by the same amount.

The name comes from Julius Caesar: the historian Suetonius reports that he shifted some of his messages by three letters in this way.

Decrypting without knowing the shift

Paste the message into the “Encrypted message” box. As there are only 25 useful shifts, the tool tries them all and lists them. It ranks them by comparing letter frequencies with those of the page language: in English, E dominates. The “Use” button applies the shift you pick.

The ranking is sometimes wrong for a message of a few words: scan the list, and the readable text jumps out.

What gets encrypted

Only the letters A to Z rotate, keeping their case. Digits, punctuation and spaces stay as they are, and so do accented letters unless you tick “Remove accents”.

A game, not a protection

The Caesar cipher can be broken by hand in minutes. It is for puzzles, treasure hunts and discovering cryptography. Never trust it with a secret: use modern encryption, such as AES.

Frequently asked questions

What is the shift of the “real” Caesar code?

Three, according to Suetonius. Any shift from 1 to 25 is still a Caesar cipher; the one with 13 is called ROT13.

Why only 25 keys?

A shift of 26 puts every letter back in place. That leaves only 25 options that actually change the text.

Does the tool always find the right answer?

No. It puts first the text whose letters look most like the page language. A short text, or one in another language, can mislead it.

Is my message sent anywhere?

No. Everything is computed in your browser, and only your settings are kept on your device.

Similar tools

Neogie BrailleBraille Translator: Text to Braille and BackType text to see it in braille, or paste braille signs to read them. Neogie A1Z26Letters to Numbers Converter (A=1, Z=26)Type words to get numbers, or paste numbers to read the words. Neogie SemaphoreSemaphore Flag Alphabet: Encode and DecodeType a message to see the flag positions, or tap the drawings to read it. Neogie AffineAffine Cipher: Encode and Decode OnlineChoose a and b, or paste an unknown message: the most likely keys are suggested. Neogie BaconBacon's Cipher: Encode and Decode (A and B)Five signs per letter: write a message or paste A and B groups to read it. Neogie PlayfairPlayfair Cipher: Encode and DecodeEnter a keyword: the square is drawn and the message is encrypted two letters at a time. Neogie VigenereVigenère Cipher: Encode, Decode and Find the KeyWith the key, the message reads at once; without it, the tool suggests the most likely keys. Neogie SubstitutionSubstitution Cipher and Frequency AnalysisEncrypt with your own alphabet, or rebuild the alphabet of an unknown message letter by letter. Neogie TranspositionRail Fence and Scytale Transposition CipherThe letters do not change, they change places: pick the method and the key. Neogie AtbashAtbash Cipher: the Reversed Alphabet OnlinePaste your text on either side: the same operation encodes and decodes. Neogie MorseMorse Code Translator with SoundType a message to see and hear it in Morse, or paste dots and dashes to read them. Neogie PigpenPigpen (Masonic) Cipher: Encode and DecodeType a message to draw it in symbols, or tap the symbols to decipher it. Neogie SyllablesOnline syllable counter: poems, haiku, textsType or paste a text: syllables are counted as you go, line by line and word by word. Neogie RhymesRhyming Dictionary: Find Words That RhymeType a word and see the words that rhyme with it, for a poem, a song or a game. Neogie AnagramAnagram generator: all the words from a set of lettersType some letters: all the words you can form with them, from longest to shortest. Neogie IdentifyCipher Identifier: Which Code Is This?A mysterious message? Paste it: leads are listed from the most to the least likely. Neogie TilesBest words from letter tiles, with pointsEnter the letters on your rack: the possible words, ranked from most to least profitable. Neogie ROT13ROT13 and ROT47: Encode and Decode OnlineThe same operation encodes and decodes: paste your text on either side. Neogie GuessWord of the Day Solver: right and wrong letter positionsEnter your guesses and their colours: the tool keeps only the words that are still possible. Neogie CrosswordCrossword and arrow puzzle solver by known lettersType the letters you have and one question mark per empty cell: the matching words appear.