How it works
This columnar cipher decoder numbers the columns from your key word, refills the grid and reads the rows. A columnar transposition keeps every letter and changes only their order. Below are 39 worked keys and routes.
Read the full guide
Key word first, then the code
The page numbers the key's letters alphabetically, equal letters from left to right, so SECRET becomes 5 2 1 4 3 6. The opening example puts 33 letters in six columns, so only the three leftmost columns get a sixth letter.
No key word, or a route instead
With no key, open Try every order. It lists the ten orders of 2 to 7 columns most like English. Press Use on the best. For a route cipher decoder, set Method to A route through the grid. If the page asks for a full grid, set Columns in the grid to a width it lists. Then open Try every route and press Use on the row that reads.
Tips
- A key like 3 1 4 2 may label the columns or order them. Try The numbers are both ways.
- Count the letters first. If no sensible width divides the total, the last row is short.
- Spiral? Set The message was written to Down the columns. Written across, a top left spiral leaks the first row.
Questions and answers
How do I know a code is a transposition?
Count the letters. Only the order has changed, so E and T still lead, and a count close to plain English most likely means transposition. If Q, X and Z crowd the code, the letters were replaced, and no grid will help.
Why does the right key word give nonsense?
Usually the sender numbered repeated key letters alike, so TOMATO becomes 4 3 2 1 4 3. That is Myszkowski's 1902 rule: set Method to Repeated key letters share a number. If not, suspect a second key word.
What is double columnar transposition?
The same grid worked twice, often under two key words. Wikipedia traces serious use into the 1950s, though French codebreakers regularly solved Germany's in 1914. Under More options, fill in Second key word, if there is one. Keep it for puzzles.