Cipher Decoder and Identifier
Paste a coded message and the decoder tries Morse, binary, hex, Base64, Caesar, ROT13, Atbash, Vigenère, Braille and more, then shows the most likely answer.
How it works
The decoder runs your message through every code and cipher it knows. Strict formats are checked first: Morse code (dots, dashes and slashes), binary bytes, hexadecimal and decimal byte values, Base64, URL encoding, Braille cells, Bacon groups of A and B, tap code and letter numbers from 1 to 26. Then it tries the letter ciphers: all 25 Caesar shifts (shift 13 is ROT13), Atbash, leet speak, reversed text, and the Vigenère cipher without a key. For Vigenère it estimates each key length from 2 to 16 letters, picks each key letter by comparing letter frequencies with English, and keeps the key that gives the most readable text. Every candidate is scored by how much it looks like English: the share of common English words, how close its letter frequencies are to English, and whether all characters are printable. The best one is shown first, with the other readings below it. Nothing is sent to a server.
Example: Uryyb, jbeyq! is decoded as ROT13 and reads Hello, world! The message .... . .-.. .-.. --- is Morse code for HELLO, and SGVsbG8= is Base64 for Hello.
Codes and ciphers the decoder recognizes
| Code | What it looks like | Example | Decodes to |
|---|---|---|---|
| Morse code | dots, dashes, slashes | .... .. | HI |
| Binary | groups of 0 and 1 | 01001000 01101001 | Hi |
| Hexadecimal | pairs of 0–9 and A–F | 48 69 | Hi |
| Decimal ASCII | numbers 32 to 126 | 72 105 | Hi |
| Base64 | letters, digits, + / and = | SGk= | Hi |
| URL encoding | %20 and similar | Hi%21 | Hi! |
| Letter numbers (A1Z26) | numbers 1 to 26 | 8-9 | HI |
| Caesar / ROT13 | readable shape, wrong letters | Uv | Hi |
| Atbash | mirrored letters | Sr | Hi |
| Vigenère | like Caesar but no single shift fits | LXFOPV… | ATTACK… |
| Bacon | groups of five A and B | AABBB ABAAA | HI |
| Tap code / Polybius | pairs of digits 1 to 5 | 23 24 | HI |
| Braille | Unicode dot cells | ⠓⠊ | hi |
| Leet speak | digits inside words | h1 | hi |
| Reversed text | text written backwards | iH | Hi |
How to identify an unknown cipher
- Only dots and dashes: Morse code. Only 0 and 1: binary. Only A and B in groups of five: the Bacon cipher.
- Pairs of characters from 0–9 and A–F: hexadecimal bytes. Numbers up to 26: letter numbers. Digits 1 to 5 in pairs: the tap code or a Polybius square.
- Letters, digits, + and / with = at the end: Base64. Percent signs followed by two characters: URL encoding.
- Normal-looking words with the wrong letters: a substitution cipher. If one shift fixes every letter, it is Caesar or ROT13; if the alphabet is mirrored, Atbash; if no single shift works, try Vigenère.
- Symbols made of lines, angles and dots: probably the pigpen cipher. Use the pigpen page and its symbol key.
When the decoder cannot find the answer
Some ciphers cannot be solved without their key, or need more text than a short note gives. Playfair, keyed Polybius squares and general substitution alphabets fall into this group. If you know or can guess the key, open the page for that cipher and enter it there.
Check that you copied the whole message: a missing character breaks Base64 and binary. Puzzles sometimes stack two steps, for example Base64 of a Caesar text. Decode the first layer, then paste the result into the decoder again.
Frequently asked questions
How do I decode a secret message?
Paste the whole message into the box. The decoder tries every code it supports and shows the most likely plain text first. If the first answer is not readable, look through the other readings, or open the page of a specific cipher to set a key or shift yourself.
Can it identify which cipher was used?
Yes. The label above each result names the code or cipher that produced it, for example Caesar cipher with shift 3 or Base64. The confidence line tells you how sure the match is.
Which codes and ciphers can it decode?
Morse code, binary, hexadecimal, decimal ASCII, Base64, URL encoding, letter numbers (A1Z26), the Caesar cipher with any shift, ROT13, Atbash, Bacon, tap code, the Polybius square, Braille, leet speak, reversed text and the Vigenère cipher without the key.
Can it break a Vigenère cipher without the key?
Often, yes. It needs about 80 or more letters of English text. Short messages do not have enough letters for the frequency analysis, so for them use the Vigenère page and enter the key.
Why does it say low confidence?
None of the readings looks like English. The message may use a cipher that needs a key, such as Playfair, or a substitution alphabet, or it may be in another language.
Does it work for languages other than English?
Formats such as Morse, binary, hex and Base64 decode any text. The ranking of letter ciphers is tuned for English, so for other languages check all the readings yourself.
Is my text sent to a server?
No. Everything runs in your browser and the text you type is not sent anywhere.
Can it decode a message that was encoded twice?
Decode one layer at a time. Paste the message, copy the most likely answer, and paste that answer into the box again until it reads as plain text.
Why is the Vigenère answer slightly wrong?
With short messages some key letters are guessed from too few letters. Note the key shown in the label, fix the letters that look wrong and use the Vigenère page with the corrected key.
More text tools
Morse Code Translator
Binary Translator
ASCII Converter
Hex to Text Converter
Leet Speak Translator
Caesar Cipher Encoder and Decoder
Vigenere Cipher Encoder and Decoder
Atbash Cipher Encoder and Decoder
Word Counter and Character Counter
ROT13 Decoder and Encoder
Playfair Cipher Encoder and Decoder
Rail Fence Cipher Encoder and Decoder
Braille Translator
Pigpen Cipher Translator
Letter to Number Converter (A1Z26)
Bacon Cipher Encoder and Decoder
Tap Code Translator
Polybius Square Cipher
The ranking is a statistical guess tuned for English. Check the answer, especially for short messages.