Scytale Cipher Decoder with Known Columns
This workflow opens MMDEEAEAWTTN with four columns and no padding, returning MEETMEATDAWN. Paste your ciphertext, set the original column count, and match its padding convention. The grid fills down columns and is read across rows. Spaces, punctuation and Unicode code points remain characters. Unknown column counts are not recovered automatically, and apparent padding is retained until you explicitly remove it.
read back across the rows of the grid below
- Columns
- Rows
- 3
- Direction
- Padding
Decoding 12 characters in a grid 4 columns wide, 3 rows. Nothing at the end looks like padding.
The grid it wraps around
The message runs across the rows, 4 to a row, and the ciphertext is read down the columns: column 1 top to bottom, then column 2, and on to the end. Winding the strip onto a rod of the same thickness is the same move in reverse.
| Row | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 1 | M | E | E | T |
| 2 | M | E | A | T |
| 3 | D | A | W | N |
␣ a space in your text, kept as a space in the output· a cell nothing reached, because the last row is short
Worked examples
Common questions
- What key does the Scytale decoder need?
- The original number of columns, from 2 to 200 here. In the physical analogy this is how many characters fit around the rod. An incorrect count still gives a transposition, but usually not the intended message.
- How do I remove trailing padding?
- The tool identifies trailing characters matching your padding setting and offers an explicit removal action. It cannot tell real trailing characters from padding. Swap after encoding retains the exact original length for the same text, columns and padding.
- Can it recover unknown columns?
- No. This route decodes a supplied count. It is not an automatic unknown-key solver or a physical rod construction guide.
An exact rectangular transposition: the same column count decodes precisely what it encoded, and the grid is drawn so you can follow it. This is a classical cipher for learning and puzzles, and it offers no real security.