Fun & Games
Sudoku Generator
Generate printable Sudoku puzzles with a unique solution — easy, medium, hard or expert — with the answer key.
How to use
- 1Choose a difficulty.
- 2Press New puzzle, then print or copy it. Tick 'Show solution' to reveal the answer.
How it's calculated
A full valid grid is built by randomized backtracking, then clues are removed one at a time, keeping only removals that leave exactly one solution.
Frequently asked questions
Does every puzzle have one solution?
Yes — each removal is checked with a solver, so every puzzle has exactly one solution.
What makes a puzzle harder?
Fewer clues generally means harder: easy puzzles keep about 40 clues, expert ones about 24–28.
Can I solve my own puzzle?
Use the Sudoku Solver tool — paste the grid and it fills in the answer.
Building a puzzle backwards, from a finished grid
The generator doesn't build a puzzle directly — it first fills an entire valid 81-cell grid using randomized backtracking (trying digits in random order at each empty cell, so the same difficulty setting still produces a different grid every time), then works backward by erasing clues one at a time. Each erasure is only kept if a solver check confirms the remaining grid still has exactly one solution; if removing a clue would allow two different solutions, that cell is put back and a different one is tried instead.
What the difficulty levels mean in clue count
Difficulty here is purely a target number of remaining clues: Easy aims for about 40 clues left on the board, Medium for about 33, Hard for about 28, and Expert for about 24. Fewer starting clues generally means more deduction steps are needed to solve the puzzle, which is why Expert grids look far emptier than Easy ones — there's no separate logic-difficulty rating beyond how sparse the grid ends up.
Worked example: generating a Hard puzzle
Targeting 28 clues starts from a complete solved grid of 81 filled cells, then visits cells in random order, blanking each one and immediately re-solving: if the solver still finds exactly one solution with that cell blank, the removal sticks and the clue count drops by one; if blanking it would create a second valid solution, the digit goes back. This continues until either 28 clues remain or no further cell can be safely removed — in practice the target is reachable for Hard and Expert settings, since 9×9 Sudoku has enough structure to support puzzles well below 24 clues.
The guarantee behind 'exactly one solution'
Every single clue removal is checked against a solver configured to stop after finding 2 solutions rather than just 1 — if it finds a second one, that's proof the puzzle would be ambiguous, and the removal is undone. This check-before-committing approach is what lets every generated puzzle claim a unique solution, rather than relying on erasing a fixed pattern of cells and hoping for the best.
Medium is selected, and the solution stays hidden
Difficulty opens on Medium and Show solution is off, so I get a puzzle and a clue count without the finished grid. Easy, hard, and expert are the other choices, and they change how many clues are left, not a separate scoring rule. A puzzle is built on load. The button says New puzzle. Turning Show solution on adds the finished grid under the puzzle, and turning it off removes it on the next draw. Each new puzzle is a different grid. I do not get a pack of several puzzles from one press.
Related tools
- Word Search Maker
Make a printable word search puzzle from your own word list — choose the grid size and difficulty (including diagonal and backwards words).
- Trivia Quiz Generator
Generate a random trivia quiz for pub quiz, family game night or classrooms — pick categories and number of questions, with an answer sheet.
- Crossword Puzzle Maker (Printable)
Make your own crossword puzzle from a list of words and clues — the grid is built automatically, numbered, and printed with an answer key. Perfect for classrooms, parties and gifts.
- Flip a Coin
Flip a virtual coin — heads or tails — once or up to 1,000 times, with a tally of the results. Fair, secure randomness.
- Random Team Generator
Split a list of names into random, balanced teams or groups — by number of teams or by people per team.
- Tournament Bracket Generator
Make a single-elimination tournament bracket from a list of teams or players — seeded or random, with byes handled automatically.