Tool to shuffle letters. Mixing letters of a message is enough to make it incomprehensible. It is possible to perform blocks permutations to make group of shuffled letters.
Shuffled Letters - dCode
Tag(s) : Word Games
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Letter shuffling involves changing the order of the characters in a message. Mathematically, it means permuting the positions of the letters.
In cryptography, this process corresponds to a transposition cipher: the letters remain the same, only their order changes. For the operation to be reversible, the shuffling must meet certain criteria.
Several methods are possible:
Mix by writing backwards
An easy reversible mixing is to write backward, the message become less readable.
Example: ABCDEF becomes FEDCBA (reversal of order)
Start-end cycle shuffle
The first letter goes at the beginning, the next at the end, then at the beginning and so on
Example: ABCDEF turns successively into A, AB, CAB, CABD, ECABD and ECABDF
Mix by random write
If all the letters are randomly shuffled once, it will be very difficult (if not impossible) to recover the original message without knowing the permutation used.
Split by words
In order not to make too complex mixtures, the message can be broken down into words. It will then generate an anagram of the word (which exists or not).
Split by blocks
For an easier shuffling, the message may be broken down by a fixed block size. Generally, it is best to use short blocks.
Example: If the block size is 2, take the letters in pairs, and reverse their position DCODE becomes CDDOE.
dCode offers a tool for performing transposition ciphers.
Deciphering involves finding the inverse permutation applied during the shuffling.
If permutation P was used, simply applying its inverse permutation P-1 restores the original order.
— Case of a single word: find all possible anagrams. A word of N letters has a maximum of N! (factorial of N) permutations.
— Case of a fixed-size block: Test the possible permutations of the block.
— Case of a complete sentence without a key: Exhaustively exploring this space is unrealistic without structural clues (language, letter frequencies, syntactic constraints).
Thus, keyless deciphering relies on statistical, linguistic, or heuristic methods, but quickly becomes impractical as the length increases.
dCode has a tool for mixing the letters of a message while keeping it (theoretically) readable by a human: see the typoglycemia tool.
Example: Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, etc.
dCode retains ownership of the "Shuffled Letters" source code. Any algorithm for the "Shuffled Letters" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Shuffled Letters" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Shuffled Letters" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Shuffled Letters" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Shuffled Letters on dCode.fr [online website], retrieved on 2026-03-15,