Skip to content
Crypto & Keys

Cipher Decoder

Caesar cipher decoder and classical cipher solver: crack Caesar, ROT13, Vigenère, Atbash, Affine, rail fence, Morse and more.

  • #caesar cipher decoder
  • #cipher decoder
  • #rot13 decoder
  • #cipher
  • #decode
  • #caesar
  • #vigenere
  • #cryptogram
  • #puzzle
100% client-side

Runs in your browser. Your data never leaves this device.

The Workbench
Cipher Decoder — workspaceLive

Enter ciphertext above to see ranked decoding candidates.

Try a sample

Candidates are ranked by English-likeness (letter frequency + common words). Vigenère key recovery uses the Index of Coincidence and works best on ciphertext longer than ~50 letters.

Network requests0
Bytes uploaded0
Trackers fired0
The Guide

About Cipher Decoder

/01 What this cipher decoder does

A cipher decoder is a tool that turns scrambled text back into readable words. You paste in the coded message, and it works out which cipher was used and what the original message said. This one runs fully in your browser, so nothing you paste is sent anywhere.

People reach for it for all sorts of reasons. Maybe you are stuck on a puzzle in a game. Maybe you found a cryptogram in a puzzle book or a newspaper. Maybe you are studying cryptography and want to see cipher breaking in action instead of just reading about it. Whatever the reason, the job is the same: read the hidden message without knowing the key in advance.

The tool gives you two ways to work. The automatic mode tries every common cipher at once and shows you the best answers. The manual mode lets you pick a cipher and turn its controls yourself, which helps when you already know what you are dealing with.

/02 The ciphers and codes it can read

The decoder covers the classic ciphers that show up again and again in puzzles and school work. Caesar shifts every letter by the same amount, and ROT13 is the special case where that amount is 13, so the same move encodes and decodes. Atbash flips the alphabet, turning A into Z, B into Y, and so on. Affine mixes letter positions with a little maths.

The star of the set is the Vigenère cipher, the repeating keyword code that people once called unbreakable. The tool can find the keyword on its own, which feels like magic the first time you see it happen.

It also reads the encodings that often get mixed up with ciphers: Morse code, Base64, Base32, hex, and binary. These are not ciphers at all. They just write the same letters in a different form, and anyone can reverse them without a key. The decoder spots them on sight and translates them instantly.

/03 How the automatic mode finds the answer

When you paste ciphertext into the automatic mode, the tool tries each cipher and scores every result on how much it looks like English. Two simple checks do most of the work. The first is letter frequency. In English text, E is the most common letter by a wide margin, followed by T, A, and O. A wrong guess leaves those letters in the wrong places. The second check is common words. When the result contains THE, AND, and OF in normal amounts, it is almost certainly the real message.

For the Vigenère cipher, the tool uses a measure called the Index of Coincidence to guess how long the keyword is. Once it knows the length, the message splits into simple Caesar ciphers that are each solved on their own. This works best on messages longer than about fifty letters. Short notes may not hold enough clues.

/04 Breaking a cipher by hand

The manual mode is there for the times you want full control. Pick the cipher from the list, then adjust its key until the output starts to make sense. With Caesar you slide through all twenty five shifts until words appear. With Vigenère you type in a keyword and watch the message change live. With Atbash and ROT13 there is no key to find, so the answer is instant.

Working by hand teaches you something the automatic mode hides: how little it takes to break these ciphers. One small change can turn gibberish into a sentence, and you start to see why letter patterns give everything away. If you are learning cryptography, spend time here first, then let the automatic mode check your answers.

/05 Fun to solve, safe to share

Every cipher this tool can break was broken long ago. Caesar, Atbash, and simple substitution fell to frequency analysis centuries back. Vigenère held out longer, but it has been fully understood since the 1800s. Modern encryption, the kind that protects your banking, uses completely different maths and cannot be cracked by anything on this page.

That is exactly why these ciphers are still worth playing with. They are safe to share, fun to solve, and they teach the core ideas of codebreaking without any risk. Use them for puzzles, games, treasure hunts, and classroom exercises. Use real encryption when something truly needs to stay secret.

One last thing worth knowing. Everything here runs on your own device. The messages you paste never leave your browser, so you can work on private puzzles and coursework with nothing sent to any server.

/06 How to decode a Caesar cipher

A Caesar cipher shifts every letter a fixed number of places along the alphabet. With a shift of 3, A becomes D, B becomes E and Z wraps round to C, so HELLO becomes KHOOR. It is named after Julius Caesar, who is recorded using a shift of three in his private letters.

Because English has only 25 possible shifts, a Caesar cipher is broken by trying them all, and exactly one produces readable text. This Caesar cipher decoder does that instantly and ranks the results by how closely their letter frequencies match real English, so the answer is at the top even for short messages. ROT13 is simply a Caesar cipher with a shift of 13, and because 13 is half the alphabet, applying it twice gives back the original text.

The same decoder handles Vigenère, Atbash, Affine, rail fence, Bacon's cipher, A1Z26, Morse code and Base64, useful for puzzle hunts, escape rooms, geocaches and CTF challenges.

FAQ

Questions about Cipher Decoder.

What ciphers can this decoder break?
It cracks Caesar, ROT13, Atbash, Affine and Vigenère ciphers automatically, and it also reads Morse code, Base64, Base32, hex and binary on sight. Paste your ciphertext and it scores every result on how much it looks like English.
How does automatic cipher detection work?
The tool tries each cipher, then checks two things: how closely the letter frequencies match English, and how many common words like THE and AND appear in the result. For Vigenère it also uses the Index of Coincidence to guess the keyword length before solving for the key.
What is the difference between a cipher and an encoding?
A cipher hides a message using a key that must be known to read it. An encoding like Base64, hex or Morse just writes the same text in a different form, so anyone can reverse it without a key. The decoder handles both.
How do I decode a Vigenère cipher without the key?
The automatic mode finds the keyword for you by measuring how the letters repeat, splitting the message into Caesar shifts, and solving each one. It works best on ciphertext longer than about fifty letters.
Can it break modern encryption like AES?
No, and nothing on this page can. The ciphers here were all broken a century or more ago. Modern encryption uses completely different maths and needs the key, not clever guessing, to open.
Is my pasted ciphertext sent to a server?
No. All decoding runs inside your browser, so your messages never leave your device. You can work on private puzzles and coursework with nothing transmitted anywhere.
What is a Caesar shift cipher?
A substitution cipher that replaces each letter with the letter a fixed number of positions further along the alphabet, wrapping from Z back to A. A shift of 3 turns ABC into DEF.
How do I decode a Caesar cipher without the key?
Try all 25 shifts and look for the one that reads as real words. The decoder does this automatically and ranks the options by English letter frequency, so the correct shift appears first.
What is ROT13?
A Caesar cipher with a shift of 13. It was popular for hiding spoilers and puzzle answers online, and because it shifts by half the alphabet, the same operation both encodes and decodes.