Sudoku Generator - Create Printable Sudoku Puzzles
Games & Puzzles
Generate unlimited sudoku puzzles in Easy, Medium, Hard, or Expert difficulty. Play in your browser or print. 100% client-side.
Choose a difficulty and click New Puzzle to begin.
How to use this tool
- Choose a difficulty level.
- Click "New Puzzle" to generate a fresh board.
- Click a cell and type a digit 1–9. Use Backspace to clear.
- Click "Check" to highlight mistakes, or "Solve" to reveal the solution.
Sudoku rules
Sudoku is a 9×9 number puzzle divided into nine 3×3 boxes. Fill every cell with a digit from 1 to 9 so that each row, each column, and each 3×3 box contains every digit exactly once. The puzzle starts with some cells already filled (called “givens”); your task is to deduce the remaining digits using logic alone - no guessing is needed for a well-formed puzzle.
Difficulty levels and givens
| Difficulty | Approximate starting givens | Typical techniques at this density |
|---|---|---|
| Easy | ~46 | Naked singles |
| Medium | ~36 | Hidden singles |
| Hard | ~29 | Pointing pairs and naked/hidden pairs |
| Expert | ~24–25 | X-wing, XY-wing, or chains may be useful |
These are approximate starting clue counts observed from this generator. Expert puzzles may retain extra clues when the uniqueness check prevents further removals. The listed techniques are examples commonly associated with puzzles at this density; the generator does not grade by human techniques. Each difficulty sets a clue-removal target, and a removal is kept only when the puzzle remains uniquely solvable.
Core solving strategies
- Naked single: a cell has only one digit that can legally go there. This is the simplest technique and fills most cells in easy puzzles.
- Hidden single: within a row, column, or box, one digit has only one possible cell - even if that cell still has multiple candidates.
- Naked pair: two cells in the same unit share exactly the same two candidates. Those two digits can be eliminated from all other cells in that unit.
- Pointing pair/triple: if a digit’s candidates in a box all fall within the same row or column, that digit can be eliminated from the rest of that row or column outside the box.
- X-wing: if a digit appears in exactly two cells in each of two rows, and those cells share the same two columns, then that digit can be eliminated from the rest of those columns.
Solving strategy progression
Techniques in order of increasing difficulty - work through them in sequence when you get stuck:
- Naked singles: only one digit fits in the cell.
- Hidden singles: only one cell in a unit can hold a particular digit.
- Naked pairs/triples: two/three cells share the same two/three candidates.
- Pointing pairs: candidates in a box confined to one row or column.
- X-wing: a digit locked to two rows and two columns simultaneously.
- Swordfish: like X-wing but spanning three rows and three columns.
- Forcing chains / bifurcation: last resort - assume a candidate and follow consequences.
How the puzzle is generated
The generator starts by filling a complete valid 9×9 grid (which can be done quickly by solving an empty board with the backtracking algorithm). It then considers cell positions in randomized order and tries removing their clues one at a time. A removal is kept only when a solution count confirms the puzzle still has exactly one valid solution; otherwise the clue is restored. Each difficulty targets a number of clues to remove, rather than a target number of givens to keep. The generator stops when it reaches that removal target or has checked all positions, so Expert may retain extra clues if uniqueness prevents more removals. Difficulty tiers use removal targets and uniqueness checks, not human-technique grading.
Daily puzzle challenge
Many sudoku enthusiasts treat the puzzle as a daily mental exercise. Consider printing one Expert-level puzzle per week as a focused challenge - solving on paper without hints builds stronger pattern recognition than solving digitally. Newspaper sudoku puzzles are graded by day of the week, with Monday being easiest and Saturday the hardest.
Frequently asked questions
How are the puzzles generated?
The generator creates a fully solved board using a randomised backtracking algorithm, then removes cells according to the chosen difficulty level, ensuring the puzzle has a unique solution.
What do the difficulty levels mean?
Easy targets removing 35 clues, Medium 45, Hard 52, and Expert 58. Each removal is kept only if the puzzle still has one solution, so a puzzle may finish with extra clues when uniqueness prevents more removals, especially at Expert. Fewer starting clues can make a puzzle more challenging, but the generator does not grade by human techniques.
Can I print the puzzle?
After generating a puzzle, click Download PDF. Select Include answer key first if you want the solution on a second page. Ctrl+P / ⌘P is available as a browser-print fallback.
More games & puzzles
- 2048Slide numbered tiles on a 4×4 grid to combine them and reach the 2048 tile in this addictive puzzle game.
- Aim TrainerImprove your mouse accuracy and click speed. Targets appear at random positions - click them as fast as possible. Track your accuracy and average reaction time.
- Blind Spot TestFind your eye's natural blind spot (optic disc) using a monocular fixation test. Cover one eye, fixate on the cross, and discover where the dot vanishes from your field of view.
- Block StackerStack falling tetrominoes to clear lines in this Tetris-style puzzle game.
- Brick BreakerBreak all the bricks with a bouncing ball and paddle.
- Checkers GamePlay checkers (draughts) against an AI opponent in your browser.