Most classical ciphers swap letters for other letters. The Caesar Box does something different — it keeps every letter exactly as it is, but scrambles the order by writing the message into a rectangle and reading it back out along a different path.
What Is the Caesar Box Cipher Tool?
Choose a rectangle width, and the tool writes your message row-by-row into a grid (padding the last row with underscores if needed), then reads the letters back column-by-column to produce the ciphertext. Decryption reverses the process: fill the grid column-by-column from the ciphertext, then read row-by-row to recover the original message.
How to Use It
- Open the tool at /tools/caesar-box-cipher.
- Type your message into the text field.
- Set the rectangle width (the height is calculated automatically from the message length).
- Click Encrypt to scramble, or paste ciphertext and click Decrypt to recover the original.
- Copy the result with one click.
Key Features
- Pure transposition, not substitution — every original letter is preserved, only repositioned.
- Automatic padding with underscore placeholders so any message length fits a clean rectangle.
- Verified against dCode’s published example, encrypting “DCODE” at width 3 to the exact reference ciphertext “DDCEO_”.
- Full round-trip decrypt, tested to recover the original message exactly.
- Fully client-side, nothing ever leaves your browser.
When to Use This Tool
- Studying classical transposition ciphers as a contrast to substitution ciphers like Caesar or Vigenère.
- Cryptography coursework covering route and columnar transposition techniques.
- Puzzle and escape-room design needing a simple, hand-solvable transposition cipher.
Try It Now
Open Caesar Box Cipher directly, or press ⌘K and type the tool name from anywhere on the site.
Part of the Security & Crypto collection on WebdevToolbox — free, browser-based developer tools with no login required.