Columnar Transposition Demo

EDUCATIONAL DEMONSTRATION ONLY — The Columnar Transposition cipher writes the plaintext into a grid row by row, then reads the columns in an order determined by the keyword. It was used in World War I and II.

Privacy: this tool processes your data entirely in your browser. Nothing you paste or type is sent to the server.

Determines column reading order.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Encrypt with key ZEBRA

  • text = WEAREDISCOVEREDFLEEATONCE
  • key = ZEBRA
  • mode = encrypt

Result: EASEAEOVRDECFCWLEEDNET

Frequently asked questions

How does the key determine column order?

The key letters are sorted alphabetically. The column under the first letter in the sorted key is read first, then the second, and so on.

Is this cipher secure?

No. It is breakable by trying different key lengths and using frequency analysis on the columns.

Copied!