About the Sudoku Solver
Stuck on the newspaper sudoku, or not sure whether an entry is right? This sudoku solver finishes any standard 9 × 9 puzzle in a moment, but it can also help without spoiling the fun: ask for one explained hint at a time or check your entries for mistakes. Puzzles can be typed into the grid or pasted as 81 digits, and new puzzles are available at four difficulty levels. It also warns when clues clash or a puzzle has no unique solution.
If you would rather solve it yourself, use Hint. Each hint fills in one cell and explains why that number must go there, starting with the easiest deductions: a cell with only one possible number left, or a number that fits in only one place in a row, column or box. Check compares your entries with the solution and marks any mistakes in red, and the candidates view shows the pencil marks for every empty cell.
You can also play. New puzzle generates a fresh sudoku with exactly one solution at easy, medium, hard or expert level, with a timer that stops when you complete the grid. The number pad makes it comfortable on a phone, and your puzzle and progress are saved in your browser, so you can close the page and carry on later on the same device.
Sudoku is a fine workout for logic and concentration. For other quick brain games and number practice, try the reaction time test, print a multiplication table, or roll numbers with the dice roller.
How to use the Sudoku Solver
- Enter the puzzleType the given numbers into the grid, or paste 81 digits with dots or zeros for blanks and press Load.
- Solve or get a hintPress Solve to fill the whole grid, or Hint to reveal one cell together with the reason.
- Check your workCheck marks wrong numbers in red; the candidates view shows the possible numbers for each cell.
- Play a new puzzlePick a level and press New puzzle for a fresh sudoku with exactly one solution.
Sudoku Solver features
- Solves any valid 9×9 sudoku in milliseconds
- Detects clashes and puzzles with no or several solutions
- Hints that explain the logic
- Check your answers and see mistakes
- Pencil-mark candidates view
- New puzzles at four levels
- Timer, number pad and saved progress
- Paste or copy puzzles as text
Common uses
- Checking a newspaper sudoku when you are stuck
- Getting one hint without spoiling the whole puzzle
- Verifying that a puzzle you made has one solution
- Practising sudoku logic at your own pace
- Playing new puzzles on a phone or computer
Solving sudoku in practice: getting unstuck without spoiling the puzzle, techniques worth learning, checking entries, puzzles for children and the 17-clue fact
A sudoku solver can finish any valid puzzle in an instant, but most players want help that keeps the fun. Used thoughtfully, it checks entries, reveals the next logical step and teaches techniques. This guide gets unstuck on a newspaper puzzle without spoiling it and covers techniques, checking mistakes, puzzles for children, a remarkable mathematical fact and keeping the game enjoyable.
A worked example: stuck halfway
A puzzle fan, stuck halfway through a newspaper sudoku, enters the given numbers and the ones already filled in. Instead of revealing the whole solution, she checks her entries, which shows that one number placed earlier is wrong, explaining why nothing fits now. After correcting it, she finishes the puzzle herself, with the satisfaction intact.
Techniques worth learning
A naked single is a cell where only one number is possible. A hidden single is a number that can go in only one cell of a row, column or box. Naked pairs, two cells in a unit that can only hold the same two numbers, remove those numbers from other cells. Learning these in order lets players solve most everyday puzzles without guessing.
Pencil marks
Candidates, the small numbers noting what could go in each cell, make advanced techniques visible. Keeping candidates updated as you place numbers reveals pairs and patterns that are impossible to see in your head on harder puzzles.
Checking instead of solving
When a puzzle feels impossible, the usual cause is an earlier mistake. Checking entries against the solution, or asking for a single hint, keeps most of the solving to you. Revealing everything is best saved for confirming a finished puzzle.
Puzzles for children
Smaller grids, such as 4 by 4 with the numbers 1 to 4, introduce the rules gently to children. Once they are confident, 6 by 6 grids bridge the gap to standard puzzles. Sudoku builds logical thinking and patience without needing arithmetic.
A remarkable fact
Mathematicians proved in 2012, using an exhaustive computer search, that a standard sudoku needs at least 17 given numbers to have exactly one solution. Puzzles with fewer clues always allow more than one answer, which is why well-made puzzles never go below 17.
Learning from the solver
After solving a hard puzzle, comparing your approach with the solver's logical steps can reveal techniques you have not used yet. Trying those techniques on the next puzzle steadily raises the level of puzzles you can enjoy.
Keep it enjoyable
Sudoku is a pleasant mental exercise, but claims that it prevents memory decline are not firmly established. Play because you enjoy it, take breaks when frustrated and choose difficulty levels that challenge without discouraging.
Common mistakes
- Revealing full solutions instead of checking entries.
- Guessing instead of using logical techniques.
- Letting candidate notes go out of date.
- Starting children on full-size puzzles too early.
Related tools
For random number games, use Random Number Generator. To time your solving, try Stopwatch and Timer, and to sketch puzzles for teaching, Online Whiteboard.
Advanced patterns
When singles and pairs run out, advanced patterns such as the X-Wing come into play: if a number can appear in only two cells in each of two rows, and those cells share columns, the number can be removed from other cells in those columns. Learning one advanced pattern at a time keeps progress steady.
Misprinted puzzles
Occasionally a printed puzzle contains an error, leaving no solution or several. If the solver reports either problem after you have entered the givens correctly, the puzzle itself is likely at fault, which saves hours of frustration hunting for a mistake that is not yours.
Making your own puzzles
To create a puzzle, start from a completed grid and remove numbers while checking that exactly one solution remains. The solver can confirm uniqueness at each step. Making puzzles for friends or students is a satisfying challenge in its own right.
Timed practice
Recording solving times for puzzles of the same difficulty shows improvement over weeks. Keep comparisons fair by timing only puzzles rated at the same level, since difficulty varies widely between sources.
Solving together
Family members or friends can solve a puzzle together, taking turns to find the next number and explaining their reasoning. Sharing techniques this way teaches beginners quickly and turns a solitary puzzle into a social game.
In the classroom
Teachers can use sudoku to teach logical reasoning: students explain why a number must go in a cell, not just where it goes. Discussing reasoning develops the habit of justifying answers, which carries over to mathematics and science.
A screen-free travel companion
A printed puzzle book is a screen-free way to pass time on long bus or train journeys. Bring a pencil and an eraser, start with easier puzzles when tired and save the hardest ones for when you feel fresh. Checking answers later with the solver confirms your work.
Take a break when stuck
When several minutes pass without progress, a short break often helps more than staring at the grid. Returning with fresh eyes, many players immediately spot a single they had missed. Stepping away also keeps the puzzle enjoyable rather than frustrating.
Privacy
Puzzles are solved in your browser. Nothing is uploaded, and progress stays on your device.
Frequently asked questions
How does the sudoku solver work?
It uses constraint propagation with backtracking: it keeps track of the digits still possible in every row, column and box, always fills the cell with the fewest options first, and backs up when it reaches a dead end. Even the hardest puzzles take only milliseconds.
What if my puzzle has more than one solution?
A proper sudoku has exactly one solution. If yours has several, the solver says so and shows one of them. Usually a clue was typed wrongly or missed, so compare the grid with your source and try again.
Why does it say there is no solution?
Either two clues clash, such as two 5s in the same row, column or box, which is highlighted in red, or the clues look consistent but cannot all be satisfied at once. Look for a typing mistake in the grid.
How do I enter a puzzle quickly?
Click a cell and type a digit; the arrow keys move around the grid and Backspace clears a cell. You can also paste the puzzle as 81 characters, row by row, with a dot or a zero for each empty cell, and press Load.
How are the difficulty levels made?
Each new puzzle starts from a random completed grid. Numbers are removed in symmetric pairs while the solver confirms that exactly one solution remains. Easy puzzles keep about 40 clues, medium about 32, hard about 27 and expert as few as 23.
What are candidates?
Candidates, or pencil marks, are the digits that could still go in an empty cell given the numbers already in its row, column and box. Turning them on helps you spot cells with only one option left.
Is my progress saved?
Yes. The current puzzle, your entries and the timer are saved in your browser's local storage, so you can close the page and continue later on the same device. Nothing is uploaded anywhere.
Can it solve other sudoku variants?
It solves classic 9×9 sudoku with the usual row, column and 3×3 box rules. Variants with extra rules, such as killer, diagonal or jigsaw sudoku, need a different solver.