Join the Official Discord
Cipher guides · Grids & squares

How to Solve the ADFGVX Cipher

A grid cipher lays the alphabet out in a square — usually 5×5, with I and J sharing a cell — and describes each letter by where it sits. Some stop there; others shuffle those coordinates or push pairs of letters through the square together.

Free tool Have one to decode right now? Use the ADFGVX Cipher tool

How to recognise it

Digits that never go above 5, or letters drawn from a tiny set like A, D, F, G, V and X, mean coordinates. Ciphertext that always comes in an even number of letters points to a cipher that works on pairs.

ADFGVX Two keys, two steps. The 6×6 square starts with TREASURE and runs on through the alphabet and 0–9; each letter became its row and column label. Then the whole stream was written under GOLD and read out column by column in alphabetical order.

A worked example

Message

TREASURE MAP

Key

square TREASURE · columns GOLD

Encoded

DGXFG AAAAF GAAAA AAFVD VD

The alphabet sits in a square, and every letter is described by where it lives. Get the square right and the rest is bookkeeping. This one is ADFGVX. The key: square TREASURE · columns GOLD. Two keys, two steps. The 6×6 square starts with TREASURE and runs on through the alphabet and 0–9; each letter became its row and column label. Then the whole stream was written under GOLD and read out column by column in alphabetical order. Look the first pieces up in the square and they come out T R E. The answer was TREASURE MAP.

Working one out from scratch

Draw the square first, keyword and all, and keep it in front of you. Nearly every mistake on a grid cipher is a square built wrong — a repeated keyword letter left in, or J given its own cell.

ADFGVX days we’ve run

These have closed, so each one carries the full solution. Play them for practice — archive days never touch a streak.

  • Cipher #66 · 7 Nov 2026

    The alphabet sits in a square, and every letter is described by where it lives. Get the square right and the rest is bookkeeping. This one is ADFGVX. The key: square SILVER · columns MAP. Two keys, two steps. The 6×6 square starts with SILVER and runs on through the alphabet and 0–9; each letter became its row and column label. Then the whole stream was written under MAP and read out column by column in alphabetical order. Look the first pieces up in the square and they come out T H E. The answer was THE TREASURE WAS NEVER ON THE ISLAND.

Now try one

There’s a new cipher waiting today

One a day, three guesses, and a streak that breaks the moment you miss one. Today’s is cipher #69.