Skip to content

Scytale Cipher

Write a message along a rod, then watch the strip unwind into ciphertext or wind back into plaintext.

Encode writes your message along the rod, row by row, then unwinds the strip: the strip order is the ciphertext. Switching tabs moves your result into the input.

How many letters fit once around the rod (2–24). The writer and the reader need rods of the same circumference.

Input

Output

The scytale rod

Plaintext runs along the rod, one row per side. The strip winds round it; unwound, it reads in ciphertext order.

Every other turn of the strip is tinted blue so you can count turns; the blue-outlined letter is the next one to move.

0%
0°

Drag the rod sideways (or use Turn the rod) to bring the back rows round. Hover or tap a letter to trace it everywhere; click to pin it.

Step-by-step transposition grid

Each row is one side of the rod; each column is one turn of the strip.

Press Play steps to trace the strip one letter at a time.

0 rows × 0 turns

Reading order

    Use the arrow keys inside the grid to move between letters; Enter pins the traced letter.

    Using This Tool: Guide & Notes Show guide

    Scytale rearranges symbols by writing across the rows of a wound strip and reading down the columns when it unwinds.

    How to use it

    • Choose Encode or Decode and type or paste your text. The result updates automatically. Switching modes moves the current result into the input when it fits.
    • Set the circumference (2–24 symbols per turn). That is the key; use the same setting in both directions.
    • Press Unwind or Wind on to animate the rod, or move the progress slider by hand. Turn the rod to see its back, or use the turn buttons to page through a long strip.
    • Step through the grid to see where each letter moves. Hover or tap a letter to trace it; in the grid, use arrow keys and Enter to pin a position.
    • Try every circumference in Decode compares previews for the possible settings. Pick a plausible result to apply that circumference. Copy or save either text box as a .txt file.

    Options and settings

    • Letters-only mode uppercases A–Z, simplifies some accented letters and ignores other characters. Grouping ciphertext in fives is display-only in this mode.
    • Keep spaces, symbols & case uses Unicode character clusters so it can preserve punctuation, spacing and most emoji. Use the same setting to decode. Some cluster sequences cannot be moved reversibly as plain text; the tool warns instead of returning a misleading result.
    • A short last turn needs no padding. Fill the last turn with X adds extra letters explicitly; remove those extra Xs by hand after decoding.
    • Show strip position numbers switches the indexing labels on or off. On smaller screens, open Options & stats to see formatting controls.

    Notes

    • The example I am hurt very badly help encodes to IRYYATBHMVAEHEDLURLP at circumference 4.
    • This is an educational transposition cipher, not secure encryption. It changes symbol order but does not hide which symbols were used.
    • Input stays on your device. Encode accepts up to 200,000 UTF-16 code units and Decode up to 250,000. The rod, grid and reading trail show bounded windows without truncating the result.
    Related Article

    How the Scytale Cipher Works: A Secret Wrapped Around a Stick

    Write along a rod, unwind the strip, and the letters change places. A worked example shows how to put them back—and where the history gets less certain.

    Read the article
    Signal acquired

    A note from the team

    We build these tools because we love cryptography, encoding, and making difficult ideas easier to explore. If they've helped you, even a small coffee means the world to the project. Thank you!

    Say thanks on Ko-fi