Moving rather than replacing
A transposition cipher keeps every letter of the message and shuffles them by a rule. Letter counts therefore look like those of ordinary text, which is how it can be recognised.
The rail fence
The message is written in a zigzag over several lines, then copied line after line. With three rails, “WEAREDISCOVEREDFLEEATONCE” becomes “WECRLTEERDSOEEFEAOCAIVDEN”.
The scytale
The Spartans are said to have wound a strap around a rod before writing on it. Unwound, it only shows a jumble of letters, and a rod of the same size is needed to read it. Here the key is the number of faces: one letter in that many is taken, then again from the next one.
Using the tool
Choose the method and key, then type on either side. Spaces and punctuation move like letters; the “letters and digits” box removes them and switches to capitals. Without the key, paste the message into the second box: every key from 2 to 20 is shown, and the readable text stands out.
Frequently asked questions
Is it hard to break?
No: there are very few possible keys. It is a game, not a protection.
Why is my decrypted message shifted?
One space added or lost changes the place of every letter. Copy the message exactly, or encrypt keeping letters only.
Can two transpositions be combined?
Yes, by running the result again with another key: the puzzle gets tougher.
Is my message sent anywhere?
No. Everything is computed in your browser.
How can a transposition be recognised?
Count the letters: if E, T or A dominate as in normal text while nothing can be read, the letters have probably only changed places. A substitution, on the contrary, changes which letters are the most frequent. The Neogie cipher identifier does this count.