Quick

Rail Fence Cipher

Encrypt or decrypt text with the classic zigzag transposition cipher.

About this tool

Writes the text in a zigzag down and up across the chosen number of rails, then reads each rail off left to right — a transposition (letter-reordering) cipher, not a substitution one, and not real security.