Boggle Word Validator
Check whether a word can be formed on a Boggle board via King-style adjacency.
Overview
The Boggle Word Validator takes a 4x4 (or any rectangular) letter board and a candidate word, then tells you whether the word can be traced on the board following standard Boggle rules. Letters must be adjacent — horizontally, vertically, or diagonally — and no single board cell can be reused within the same word.
Use it to settle scoring disputes after a round, to check whether a long word you spotted is actually reachable, or to study how often particular high-value words can be formed on randomly shaken boards. The validator also handles the special Boggle tile Qu, which counts as two letters but occupies a single cell.
How it works
Validation is a depth-first search anchored at every cell that matches the word's first letter. From each starting cell the search explores up to eight neighbouring cells, descending only when the neighbour's letter matches the next letter of the word and hasn't already been visited on the current path. If the search finds a path that consumes every letter, the word is valid.
The visited set is per-path: a cell that was unusable on one branch may be fine on another, because the constraint is "no cell twice in the same word" rather than "no cell twice in the game". Backtracking unwinds the visited set as the search returns up the recursion, so all legal paths are explored without false rejections.
Examples
- Board
CATS / TREE / RAIN / BOATand wordCAT: valid via row 1 cells (0,0) -> (0,1) -> (0,2) — three adjacent letters. - Same board and word
STAR: valid by tracing (0,3) -> (0,2) -> (3,3) — wait, those aren't adjacent. The validator reports invalid because no King-move path exists. - Word
QUIETon a board containing aQutile only needs four cells, sinceQufills two letters from one cell. - A word repeated such as
LEVELrequires four distinct cells: the two Ls must be different cells on the board.
FAQ
Does the word need to exist in a dictionary?
This tool only validates the adjacency path. Pair it with a word list for full Boggle scoring.
Are diagonal moves allowed?
Yes. Boggle uses King-style adjacency — all eight neighbours of a cell are reachable.
How does the Qu tile work?
It occupies one cell but supplies both letters. A path entering that cell consumes Q and U in one step.
Can the same cell appear twice in one word?
No. Each board cell may be used at most once per word.
What's the maximum board size?
The validator handles boards of any reasonable size; classic Boggle is 4x4 and Big Boggle is 5x5.