How the sudoku solver works
The solver first checks your grid for clashes: the same digit twice in a row, a column or a 3×3 box. Clashing cells turn red so a typo is easy to find. If the grid is clean, it searches for solutions with a fast backtracking algorithm that always tries the cell with the fewest options first. Most puzzles, including the hardest sudoku ever made, are solved in a few milliseconds.
It does not stop at the first answer. It keeps looking for a second one, because a proper sudoku has exactly one solution. If it finds two, it shows you both and outlines the cells where they differ, which usually points straight at a missing clue. If it finds none, it tells you the grid cannot be finished even though nothing repeats.
Paste a puzzle in any format
You do not need to type 81 cells by hand. Paste a string such as 530070000600195000... where 0 or a dot means blank, or copy a grid from a forum post or a document with spaces, lines and borders. The solver keeps the digits and ignores the rest. Arrow keys move around the grid, Backspace clears a cell, and on a phone the number pad sits right under the board.
Solve it, or learn from it
Seeing the answer is useful to check your work or settle an argument, but it skips the fun part. To learn the logic instead, send the grid to the step-by-step solver, which explains each move with the technique behind it, from hidden singles to the X-Wing. Or press Play to solve it yourself with notes and hints.
Want a new puzzle afterwards? Try today's daily sudoku, or pick a level from easy to evil.
