Cipher Decoder
Not sure what kind of code you have? Paste it here and see which decoders make sense of it.
How the decoder works
Most coded messages give themselves away by the characters they use. This decoder looks at your text, works out which codes it could be, runs each one and shows you the results that come out readable.
How to recognise a code by sight
- Only 0 and 1: binary. Usually in groups of eight.
- Dots and dashes: Morse code.
- Digits and the letters A to F, in pairs: hexadecimal.
- Mixed case letters and digits, ending in = or ==: Base64.
- Numbers from 1 to 26: letter positions, known as A1Z26.
- Pairs of digits from 1 to 5: a Polybius square or tap code.
- Only the letters A and B in groups of five: Bacon's cipher.
- Ordinary letters that spell nonsense, with normal looking word lengths: a substitution cipher such as Caesar or Atbash.
- Normal letter frequencies but scrambled words: a transposition cipher such as rail fence.
For letter ciphers, the decoder tries all 25 Caesar shifts and Atbash, then scores each result against the letter pattern of normal English. Short messages give it less to go on, so check the full list on the Caesar decoder page if the top guess looks wrong.
Ciphers that need a keyword, such as Vigenère or Playfair, cannot be opened automatically here. You will need the key, or a much longer message and some patience.
Common questions
Can this crack any cipher?
No. It handles encodings and the simple classical ciphers that have few possible keys. Anything with a keyword, and all modern encryption, is out of reach for a tool like this.
My message is letters but nothing decodes. What next?
Count the letters. If E, T and A are the most common, the letters are probably just rearranged, so try rail fence or columnar transposition. If odd letters such as X or Q are common, it is likely a keyed substitution, and the cryptogram solver will help.