Cipher Identifier

Identify any cipher free — paste mystery text and find out if it is Caesar, Morse, Base64, hex, binary or Atbash, with the decoded text. No sign-up.

Your text never leaves your browser.

What is a cipher identifier?

A cipher identifier takes a piece of mystery text and tells you which cipher or code most likely produced it. Instead of trying every decoder by hand — Caesar, then Morse, then Base64, then hex — you paste the text once and get a ranked list of candidates, each with the decoded reading and the reason it fits. It is the first step in solving a puzzle, a geocache clue, an escape-room note or a CTF challenge: first find out what it is, then decode it properly.

The tool works from two kinds of evidence. First, the character set: text made only of dots and dashes is Morse, only 0s and 1s is binary, only hex digits is hex, and the Base64 alphabet with a length that is a multiple of 4 is Base64. Second, the statistics: for letter ciphers it tries all 25 Caesar shifts, Atbash and reversed text, and scores each result by how much it reads like English — real words such as “the”, “and” and “hello” score high, random letters score near zero. That is why the results show a confidence label, not a verdict: a short message has too little evidence to be sure about.

How to use the cipher identifier

  1. Paste the mystery text into the box. Letters, numbers, dots and dashes, 0s and 1s — anything goes.
  2. Read the top candidate first. “Very likely” means the decoded text reads as English. “Likely” means it fits but the evidence is thinner.
  3. Copy the decoded text with the button under the winning candidate.
  4. If nothing matches, the message probably needs a key — Vigenère, Playfair and modern ciphers such as AES cannot be identified from the text alone. Try the table below to narrow it down by eye.
  5. Try an example if you want to see how it works: Caesar, Morse, Base64 and binary are one click away.

What each cipher looks like

Cipher or code“ATTACK AT DAWN” becomesTell-tale signs
Caesar (shift 3)DWWDFN DW GDZQWord lengths and punctuation survive; letter frequencies are English, shifted.
ROT13NGGNPX NG QNJAA Caesar shift of 13; applying it twice gives the original.
AtbashZGGZXP ZG WZDMA swaps with Z, B with Y — one fixed reversed alphabet.
Morse code.- – – .- -.-. -.- / .- – / -.. .- .– -.Only dots, dashes, spaces and slashes.
Binary (8-bit)01000001 01110100 01110100 01100001 01100011 01101011Only 0s and 1s, in groups of 8.
Hexadecimal41 74 74 61 63 6BOnly digits 0-9 and letters A-F, in pairs.
Base64QVRUQUNLIEFUIERBV04=Letters, digits, + and /, often ending in = padding.
A1Z261-20-20-1-3-11 1-20 4-1-23-14Only numbers 1-26, separated by dashes or spaces.

How cipher identification works

Every cipher leaves fingerprints. The character set is the first fingerprint: Morse can only contain dots and dashes, binary only 0 and 1, hex only 0-9 and A-F. The second fingerprint is the Index of Coincidence (IC) — the chance that two letters picked at random from the text are the same. Plain English sits near 0.067, because E, T and A repeat a lot. A Caesar or Atbash cipher keeps the same IC, because it only renames the letters. A Vigenère cipher flattens it well below English, because it uses several alphabets at once. That is why the tool shows the IC when your text is long enough: near 0.067 with no shift fitting means a substitution cipher, and far below it means a polyalphabetic cipher that needs a key.

Word patterns are the third fingerprint. In a Caesar cipher the word lengths never change, so a one-letter word is A or I, and a three-letter word that repeats its first letter twice is “the” or “and”. The tool uses exactly this: it scores each trial decryption by how many of its words are common English words, and the shift with the most real words wins.

What a cipher identifier cannot do

No automatic identifier is perfect, and an honest one says so. Very short messages do not contain enough letters for the statistics to be reliable — a five-letter sample may be ambiguous even when a paragraph would be obvious. Ciphers that need a key you do not have — Vigenère, Beaufort, Playfair, Hill, Enigma and AES — cannot be decoded automatically, because without the key there are too many possibilities and no way to tell the right one. Modern cryptography such as AES and RSA is designed so its output looks completely random and carries no identifying structure at all. Treat the results as expert hints that point you to the right decoder, not as a guaranteed verdict.

Where cipher identifiers are used

UseWhat to pasteWhat you get
Puzzle books and cryptoquotesA paragraph of lettersCaesar, Atbash or substitution — and the decoded text
Geocaching and escape roomsNumbers, dots and dashesMorse, binary, hex or A1Z26, decoded on the spot
CTF competitionsAny strange stringBase64, hex or a Caesar shift, ranked by confidence
Classroom cryptographyYour own encoded messageProof that the statistics really do point at the right cipher

Frequently Asked Questions

What is a cipher identifier?

A tool that analyses mystery text and tells you which cipher or code most likely made it — Caesar, Morse, Base64, hex, binary, Atbash and more — with the decoded text and a confidence rating.

Can it identify Vigenère?

Not reliably on its own. Vigenère needs a key, and a short Vigenère message looks like random letters. The tool shows a low Index of Coincidence as a hint that a polyalphabetic cipher is likely, but it cannot recover the key.

Why does it say “too short to be sure”?

Statistics need letters to work with. A five-letter sample has too little evidence, so several ciphers could fit. Paste a longer message — a sentence or more — for a confident answer.

Is the cipher identifier free?

Yes. It is completely free, needs no sign-up and has no limit. Everything runs in your browser, so nothing you paste is sent anywhere.

What is the Index of Coincidence?

The chance that two letters picked at random from the text are the same. Plain English is about 0.067. Caesar and Atbash keep it, Vigenère flattens it well below English.

Can it crack AES or RSA?

No — and no tool can from the text alone. Modern encryption is designed so its output looks random and carries no identifying structure. Only classical ciphers and common encodings can be identified this way.

Try another style