The complete reference
Types of Ciphers and Codes
Every cipher and code on CipherPad in one list: what type of scheme it is, how many keys it has, when it appeared and what HELLO looks like in it. Below the list are the six types explained, the full charts for Morse, binary, braille, the NATO phonetic alphabet, pigpen and the Polybius square, and a one-line summary of every classic cipher.
Last updated 15 October 2026
All 21 ciphers and codes at a glance
Each name opens its translator. The type says what the scheme does to a letter, the key space says how many keys there are to try, and the era is when its history on this site places it.
| Cipher or code | Type | Key space | Era | HELLO |
|---|---|---|---|---|
| Morse Code | Encoding | None | 1844 | .... . .-.. .-.. --- |
| Binary Code | Encoding | None | 1940s | 01001000 01000101 01001100 01001100 01001111 |
| Text to Binary | Encoding | None | 1963 | 01001000 01000101 01001100 01001100 01001111 |
| Binary to Text | Encoding | None | 1960s | 01001000 01000101 01001100 01001100 01001111 |
| Braille | Encoding | None | 1824 | ⠓⠑⠇⠇⠕ |
| Caesar Cipher | Substitution | 25 keys | Julius Caesar | KHOOR |
| ROT13 | Substitution | None (fixed shift of 13) | 1980s | URYYB |
| Atbash Cipher | Substitution | None (fixed mirror) | Hebrew Bible | SVOOL |
| Vigenere Cipher | Polyalphabetic | 26^n for a key of n letters, but recoverable from ciphertext alone | 16th century | RIJVS |
| Pig Latin | Word game | None | Early 20th century | Ellohay |
| Leetspeak (1337) | Word game | None | 1980s | H3110 |
| A1Z26 | Substitution | None | 8-5-12-12-15 | |
| Tap Code | Encoding | None (fixed 5x5 grid) | Vietnam War | .. ... . ..... ... . ... . ... .... |
| NATO Phonetic Alphabet | Encoding | None | 1950s | Hotel Echo Lima Lima Oscar |
| Base64 Text | Encoding | None | Early email | SEVMTE8= |
| Pigpen Cipher | Substitution | None (fixed symbol set) | 18th century | |
| Playfair Cipher | Digraphic | 25! grid arrangements, far fewer in practice from real keywords | 1854 | DB NV MI |
| Rail Fence Cipher | Transposition | One key per rail count, typically under 30 | Antiquity | HOELL |
| Bacon Cipher | Substitution | None (fixed biliteral code) | c. 1605 | AABBB AABAA ABABB ABABB ABBBA |
| Affine Cipher | Substitution | 312 keys | RCLLA | |
| Polybius Square | Substitution | None (fixed 5x5 grid) | c. 150 BCE | 23 15 31 31 34 |
The six types of ciphers and codes
Every scheme on CipherPad does one of a handful of things to a letter: rewrites it in another alphabet, swaps it for something else, swaps it differently each time, swaps it two at a time, moves it, or plays with the word around it.
Encodings (8)
An encoding rewrites each letter in another public alphabet: dots and dashes, raised dots, code words, bits or taps on a grid. There is no key, so anyone who recognises the system can read it straight back.
Substitution ciphers (8)
A substitution cipher replaces every letter with another letter, number or symbol, always the same one for the same letter. The letter frequencies survive the swap, which is why frequency analysis breaks them.
Polyalphabetic ciphers (1)
A polyalphabetic cipher switches between several substitution alphabets as it goes, chosen by a keyword, so the same letter is enciphered differently in different places. That flattens the letter frequencies a simple substitution gives away.
Digraphic ciphers (1)
A digraphic cipher enciphers letters in pairs instead of one at a time, which hides the single-letter frequencies that betray simple substitutions.
Transposition ciphers (1)
A transposition cipher keeps every letter but changes their order. The letter frequencies stay exactly those of the original text, and that is the giveaway.
Word games (2)
A word game reshapes words by a fixed, public rule, for play rather than secrecy: moving sounds around, or swapping letters for lookalike digits.
Morse code alphabet
The full A to Z, built so common letters get the shortest codes. See the alphabet guide or open the Morse translator.
Morse code numbers
Binary alphabet (8-bit ASCII)
Each letter as its 8-bit binary byte. More in the binary guide, or convert your own with the binary translator.
Braille alphabet
Grade 1 braille, one cell per letter, with the dot numbers for each. See the braille guide or the braille translator.
Braille numbers
Digits reuse the letters A to J behind the numeric indicator. Full detail and a 1 to 100 chart in the braille numbers guide.
| Number | Braille | Reuses letter | Dots in the digit cell |
|---|---|---|---|
| Numeric indicator | ⠼ | none | 3-4-5-6 |
| 1 | ⠼⠁ | A | 1 |
| 2 | ⠼⠃ | B | 1-2 |
| 3 | ⠼⠉ | C | 1-4 |
| 4 | ⠼⠙ | D | 1-4-5 |
| 5 | ⠼⠑ | E | 1-5 |
| 6 | ⠼⠋ | F | 1-2-4 |
| 7 | ⠼⠛ | G | 1-2-4-5 |
| 8 | ⠼⠓ | H | 1-2-5 |
| 9 | ⠼⠊ | I | 2-4 |
| 0 | ⠼⠚ | J | 2-4-5 |
NATO phonetic alphabet
Alfa to Zulu, the words that survive a noisy radio. Full detail in the NATO guide.
Pigpen cipher
The Freemason symbol cipher, letter by letter. Learn it in the pigpen guide.
Polybius square
Every letter as a row and column number on a 5x5 grid. Read the full story in the Polybius square guide or open the Polybius square translator.
Classic ciphers at a glance
Read the theory in what is a cipher, the Caesar explainer and the Vigenere explainer.
All translators
Classic ciphers
Alphabets
For fun
All guides
Frequently asked questions
What are the cipher codes I can use with letters?
Almost every scheme in the list works on letters. Substitution ciphers such as Caesar, Atbash, A1Z26 and pigpen swap each letter for another letter, number or symbol, Vigenere and Playfair add a keyword, and the rail fence reorders the letters instead. Codes such as Morse, braille, the NATO alphabet and binary spell each letter as dots, raised dots, words or bits, and each one has a free translator here.
How many types of ciphers and codes are there?
This reference sorts the 21 schemes on CipherPad into six types: encodings, substitution ciphers, polyalphabetic ciphers, digraphic ciphers, transposition ciphers and word games. Underneath, there are two basic moves: replace the letters (substitution) or rearrange them (transposition). Polyalphabetic and digraphic ciphers are cleverer ways of substituting.
Are any of these ciphers secure?
No. Every scheme in the list is either an encoding with no key at all or a historical cipher that standard cryptanalysis breaks in well under a second on a modern computer. Use them for puzzles, teaching and games, and use modern encryption such as the Web Crypto API for anything that matters.