AB
aiBytes
125 tools in one library
Live workspace

Rail Fence Cipher

Visualize zig-zag transposition patterns and encoded output.

Classical Ciphers
Input

Rail Fence Cipher

Encrypt or decrypt zig-zag transposition text with a configurable rail count.

  • Use at least 2 rails for a meaningful transform.
  • Higher rail counts create denser transposition patterns.
  • Spacing is preserved in the backend transformation.
Status
Waiting for input
Output

Rail Fence result

Review the transformed text and copy the output you want to keep.

Output preview

The transformed text and rail count will appear here.