Sudoku Variant Generator
This is the sudoku a solver reaches for once the plain one has stopped surprising them: the same grid, with one or more further rules laid over it. The usual rows, columns and boxes always apply — these are sudoku with more rules, never sudoku with different ones — and every extra rule is a setting rather than a page of its own. That means you can do the thing a book of variants cannot offer, which is switch two of them on together and find out what happens. What happens is checked rather than assumed: the finished grid is solved again under whatever rules are on, and a puzzle that turns out to have two answers is never handed over.
What this generator does
Lays one or more extra rules over an ordinary sudoku grid, fills a grid that satisfies all of them, then removes clues only for as long as the puzzle still has exactly one answer under those same rules.
How to use this tool
- Choose the grid size and how hard you want it.
- Tick the extra rules. One is plenty to start with; two makes a very different puzzle.
- Make the puzzle. A grid with several rules on it can take a few seconds to settle.
- Show the answer, or print the puzzle with the answer on a second sheet.
- Give a seed if you want the same puzzle again.
Understanding the controls
- Grid size
- Four, six or nine. Not every rule fits every size, and the ones that do not are simply not offered rather than offered and then refused.
- How hard
- Sets how few clues to aim for. Fewer than a plain sudoku of the same name, because the extra rules do some of the work a clue would otherwise have to do.
- The extra rules
- Tick as many as you like. Two at once is a genuinely different puzzle, and the answer is re-proved unique under whatever combination is on.
- Seed
- A word gives back exactly the same grid and the same clues, which is what you want when a room needs the same puzzle.
Common use cases
- A solver who has run out of interest in the plain grid
- A puzzle page where the rules have to be printed alongside
- Testing whether two rules can be satisfied at once
- A club or classroom set where everyone gets the same grid
- Practice at a specific technique that a rule forces
Randomness and fairness
The filled grid and the order clues are removed in are decided using the browser's secure generator. Typing a seed switches to a repeatable sequence so the same puzzle can be printed twice; that path exists for reproducibility and is not cryptographically strong.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- Two of the rules cannot be met at the same time on a nine grid, and one of them has no grid at all on a four. Those come back and say so rather than producing a puzzle that does not work.
- A grid with several rules on it takes a few seconds to settle, and a combination with no answer at all takes a few seconds to be sure of. That is the cost of proving the answer rather than assuming it.
- The clue counts are targets, not promises. Carving stops the moment the next clue removed would give the grid a second answer, so a puzzle sometimes keeps more clues than the setting asked for.
- Difficulty here is the clue count and the rules, not a measurement of which solving techniques are needed. The plain sudoku page grades by technique; this one does not claim to.
Related generators
- Sudoku GeneratorPrint a sudoku with exactly one solution — 4x4, 6x6 or full 9x9, four difficulties, with the answer key and a seed to reprint it.
- Killer Sudoku GeneratorSudoku with no digits given: the grid is divided into cages with totals, and only one grid fits them.
- Printable Puzzle Book GeneratorBuilds a printable book of up to 250 sudoku, mazes, word searches, nonograms, fill-in crosswords and codewords — sectioned, ramped from gentle to hard, numbered front to back, with an answer key that matches.
- Tarsia Puzzle GeneratorCut-out triangle matching puzzles that fit together into one large triangle only when every touching edge is a question and its own answer, with the finished shape as the answer sheet.