How the solver works
A sudoku is solved when every row, column and 3×3 box contains the digits 1 to 9 exactly once. The solver always tries the cell with the fewest possible digits, steps back when it reaches a dead end, and finds a solution whenever one exists. Everything runs in your browser.
Tips for solving by hand
Start with cells that allow only one digit (naked singles) and with digits that fit in only one place of a row, column or box (hidden singles). Note small candidates and cross them out as the grid fills. Use the solver to check your result or to get unstuck.
Want to solve it yourself?
Our guide explains the techniques step by step, from scanning and singles to pairs and X-Wing, so you can use the solver just to check your grid.
Sudoku solving techniques →Frequently asked questions
How do I use the sudoku solver?
Click a cell and type the digits you know (1–9). The cursor moves on automatically and you can use the arrow keys to jump around the grid. Press Solve to fill in the rest; digits added by the solver are shown in color. Example loads a sample puzzle and Clear empties the grid.
What does it mean when the solver reports a contradiction or no solution?
A contradiction means a digit appears twice in the same row, column or 3×3 box, which is usually a typing slip. The message that there is no solution means the digits do not clash directly but the puzzle cannot be completed. In both cases compare the grid with your puzzle and fix the wrong digit.
Why does the solver say there are several solutions?
A properly made sudoku has exactly one solution. If you enter too few digits, or the puzzle is flawed, several solutions can exist. The solver then shows one of them and tells you.
How does the solver find the solution?
It uses backtracking: it always picks the empty cell with the fewest possible digits, tries one, and steps back if it hits a dead end. This finds the solution of any valid 9×9 sudoku, even very hard ones, in a fraction of a second. It shows the finished grid, not the steps a human would take.
How can I solve a hard sudoku by myself?
Start with cells where only one digit fits and with digits that fit in only one place in a row, column or box. Then note candidates and look for pairs, which let you cross out digits elsewhere. If you get stuck, solve the grid here and look at just a single cell to get going again.
Are my digits sent anywhere?
No. The solver runs entirely in your browser and your puzzle never leaves your device.
A well-formed puzzle has exactly one solution. If yours has several, the solver shows one of them and says so. The digits you enter never leave your device.