gizmobench
BrowseDaily

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.

plaindecoded, 4 columns
MEETMEATDAWN

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.

Row1234
1MEET
2MEAT
3DAWN

␣ a space in your text, kept as a space in the output· a cell nothing reached, because the last row is short

Worked examples

  • 4 columnsMEETMEATDAWN, a grid that fills exactly
    MMDEEAEAWTTN
  • Decodethe same 4 columns, and the message is back
    MEETMEATDAWN
  • Text not filling the grid13 characters, padded to 16 with X
    MMDXEEAXEAWXTTNX
This is a puzzle cipher, not protection. A transposition moves characters and changes none of them, so the ciphertext has exactly the letters of the message and gives its letter counts away. There are only a couple of hundred sensible column counts, and trying all of them takes a computer no time at all. Use it for puzzles, treasure hunts, classroom work and games. Anything that genuinely has to stay private needs modern encryption.
Accuracy. 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.

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.