ADFGX Cipher
Use a keyed ADFGX square followed by keyed columnar transposition.
Input
Output
Using This Tool: Guide & Notes Show guide
ADFGX turns letters into coordinate pairs with a keyed 5x5 square, then applies columnar transposition.
How to use it
- Set the square key to build the Polybius-style alphabet square.
- Set the transposition key to control column order.
- Paste alphabetic plaintext or ciphertext into the input box.
- Use the same square and transposition keys when decrypting.
Options and settings
- Square key changes the first substitution stage.
- Transposition key changes the column readout stage.
- Grouping makes the final ADFGX stream easier to copy.
- I/J handling matters because the classic square has 25 cells.
Notes
- ADFGX uses only the symbols A, D, F, G, and X in its coordinate stream.
- Both stages matter. A correct square key with a wrong transposition key will not decrypt cleanly.
Related Article
ADFGX and ADFGVX: Fracturing Letters for Wartime Radio
The World War I field ciphers that split characters into coordinates, scattered those coordinates across the page, and made intercepted radio traffic far harder to analyse at speed.