Sudoku Solver
Type any 9×9 grid, then hit Instant Solve, or Step by Step to see each Naked/Hidden Single named. Generates puzzles with 40, 32, 26 or 22 clues.
Still loading. If the tool doesn’t appear, reload this page.
How to play Sudoku Solver
- Keyboard
- Click/focus the grid, arrows move, 1-9 enter, 0/Backspace clear.
- Touch
- Tap a cell and use the number pad.
- Mouse
- Click a cell and type or use the pad.
Tips
- Step mode names the technique used, which is the fastest way to learn new strategies.
- Enter only the givens; extra wrong digits make a puzzle unsolvable.
About this tool
Sudoku Solver
Solve any Sudoku instantly or step-by-step with technique explanations. Generate new puzzles with unique solutions across four difficulty levels.
The Sudoku Solver takes any 9×9 grid you type in and either fills it instantly using backtracking with a fewest-candidates-first search, or walks the solution one deduction at a time, naming the technique behind each placement as a Naked Single or a Hidden Single in a row, column or box. It also generates fresh puzzles at four difficulties — 40, 32, 26 and 22 clues — each verified to have exactly one solution. Use it to finish a puzzle you are stuck on, or to see the reasoning you missed.
How to use Sudoku Solver
Click a cell and type 1–9 (arrow keys move, 0 or Backspace erase) or use the Number pad to enter your puzzle, or pick Easy, Medium, Hard or Expert and press Generate puzzle; conflicting cells turn red.
Press Instant Solve to fill the whole grid by backtracking; a clash shows Fix conflicting cells before solving, and an impossible grid shows No solution exists for this puzzle.
Press Step by Step to walk through the solution one cell at a time: each step names the technique, such as Naked Single or Hidden Single, the R?C? cell and value, with Prev, Next, Auto and Apply all buttons.
Press Hint to have the next logical cell suggested without filling it, Clear to empty the board, or Reset all to start fresh while the Timer runs.
When the grid is complete a Solved! card shows your time, and Your stats records solved counts and best times per difficulty in this browser.
Why use Sudoku Solver
Explains, not just answers
Step mode names the technique for every placement — naked single or hidden single by row, column or box — instead of dumping a finished grid.
Confirms the puzzle is well-formed
A solution counter stops at the second answer, so an ambiguous or contradictory grid is reported rather than silently guessed at.
Solves hard grids fast
The backtracking search always branches on the cell with the fewest remaining candidates, which prunes the tree far faster than scanning left to right.
Common use cases
- You are three cells from the end of a newspaper sudoku, something contradicts, and you want to know which entry was wrong rather than restarting.
- Learning to spot hidden singles: stepping through a hard grid and reading which unit forced each digit before you look at the next cell.
- Checking a puzzle you designed yourself actually has a single answer before you print it for a class or a puzzle night.
Frequently asked questions
Can it solve any sudoku, including the hardest ones?
Yes — the instant solve uses backtracking, which is exhaustive, so it finds an answer for any solvable grid regardless of difficulty. Step-by-step mode is different: it only applies naked and hidden singles, so on very hard puzzles it will place what it can and then tell you no further logical step is available.
Link to answerWhat is a naked single versus a hidden single?
Link to answerWhat happens if I enter an invalid puzzle?
You will be told the grid has no solution rather than getting a wrong answer, because the solver detects when a cell runs out of legal candidates. If your grid has more than one valid completion, the uniqueness check flags that too.
Link to answerHow hard are the puzzles it generates?
Easy grids keep 40 given clues, medium 32, hard 26 and expert 22, and each is carved from a full solution with every removal reverted unless the puzzle still solves exactly one way.
Link to answer