Rail fence cipher

Client

Write text in a zigzag across rails, then read row by row—compare Atbash.

About Rail fence cipher

Encode or decode zigzag rail fence transposition ciphers—configurable rails, in your browser. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.

How to use this page

Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.

Nearby workflows on Toolcore

  • Atbash cipherEncode or decode text with Atbash letter substitution (a↔z)—reversible, in your browser. for the next text or markup step in your edit loop.
  • ROT13 & Caesar cipherRotate Latin letters A–Z and a–z: ROT13 (self-inverse) or Caesar shift 0–25—other characters unchanged, local only. for the next text or markup step in your edit loop.
  • Reverse textFlip string character order by Unicode code point—copy reversed text locally in your browser. for the next text or markup step in your edit loop.
  • Pig Latin translatorConvert English text to Pig Latin—move leading consonants and append ay, locally. for the next text or markup step in your edit loop.

Common use cases

  • Decode classic transposition homework.
  • Demonstrate zigzag ciphers in puzzles.

Common mistakes to avoid

  • Wrong rail count

    Encoding and decoding must use the same number of rails.

FAQ

Are spaces preserved?

Yes—every character including spaces is transposed.

Is data uploaded?

No.

Related utilities you can open in another tab—mostly client-side.