QWERTYUIOPASDFGHJKLZXCVBNM
HELLO WORLD
ITSSG VGKSR
With the QWERTY key: H→I, E→T, L→S, O→G, W→V, R→K, D→R.
Encrypt and decrypt text with a classic Simple Substitution Cipher. Use a shuffled alphabet key, preserve spaces and punctuation, and learn how monoalphabetic substitution works.
QWERTYUIOPASDFGHJKLZXCVBNM
HELLO WORLD
ITSSG VGKSR
With the QWERTY key: H→I, E→T, L→S, O→G, W→V, R→K, D→R.
QWERTYUIOPASDFGHJKLZXCVBNM
ATTACK AT DAWN
QZZQEA QZ RQVF
With the QWERTY key: A→Q, T→Z, C→E, K→A, D→R, W→V, N→F.
QWERTYUIOPASDFGHJKLZXCVBNM
ITSSG VGKSR
HELLO WORLD
Reverse lookup: I→H, T→E, S→L, G→O, V→W, K→R, R→D.
QWERTYUIOPASDFGHJKLZXCVBNM
Meet at 10:00!
Dttz qz 10:00!
Only alphabet letters are substituted. Spaces, numbers, punctuation, and letter case are preserved.
The Simple Substitution Cipher is a classical monoalphabetic substitution cipher. It replaces each plaintext letter with the letter in the same position of a shuffled cipher alphabet. For English, the normal alphabet is ABCDEFGHIJKLMNOPQRSTUVWXYZ, while the key might be QWERTYUIOPASDFGHJKLZXCVBNM.
To encrypt, find a plaintext letter in the normal alphabet and take the matching letter from the key. With the QWERTY key, A becomes Q, B becomes W, C becomes E, and so on. To decrypt, reverse the lookup: find the ciphertext letter in the key and convert it back to the letter in the normal alphabet.
The same substitution table is used for the whole message, which is why this method is called monoalphabetic. Spaces, punctuation, digits, and other non-alphabet characters are preserved unchanged, and letter case is kept in the output.
This tool can encode plaintext into a substitution ciphertext or decode a ciphertext back into readable text when you know the same alphabet key. Enter your message, choose encrypt or decrypt, and provide a full shuffled alphabet as the key.
The service validates the key before processing. A valid key must contain every letter of one supported alphabet exactly once, with no missing or repeated letters. The alphabet is detected from the key, so an English key processes English letters, a Russian key processes Russian letters, and so on.
The key is the most important part of a simple substitution cipher. It is not a keyword or a numeric shift; it is the complete cipher alphabet written in substitution order. For a 26-letter English alphabet, the key must also contain 26 unique letters.
The tool supports multiple language alphabets, including English, Russian, Spanish, German, French, Italian, Portuguese, and Turkish. Characters that do not belong to the detected alphabet are left untouched, which makes it easy to keep word spacing, commas, periods, numbers, and formatting while encrypting only the letters.
A simple substitution cipher has a huge number of possible keys. For the English alphabet there are 26! possible alphabet permutations, far more than a person could test manually. However, the cipher is still not secure for real privacy.
Because each plaintext letter always becomes the same ciphertext letter, the statistical pattern of the language remains visible. Common letters, repeated words, double letters, and frequent bigrams can reveal the substitution table. This makes the cipher useful for learning, puzzles, escape rooms, and historical demonstrations, but not for protecting sensitive data.
Classic letter-shift cipher with custom shift values.
Online XOR encryption and decryption with text or hex keys.
Classic digraph substitution cipher with keyword matrix encryption.
Classical reciprocal cipher based on a keyword.
Vigenere-style classical cipher that uses a numeric key.
Keyword-based polyalphabetic encryption and decryption.