Established 2026  ·  Free Printable Puzzles & Solving Guides  ·  New Puzzles Every Week
The Puzzle Solver
Free Printable Puzzles
Home » Tools » Sudoku Solver

🧩 Stuck on a sudoku puzzle? Pick your grid size below, type in the numbers you already have, and let the solver fill in the rest — instantly, right in your browser.

Sudoku Solver

Free Tool · ThePuzzleSolver.net
Numbers you type stay black. Numbers the solver fills in appear in red.

How This Sudoku Solver Works

Type the numbers you already know into the grid and leave the rest blank. When you click Solve It, the tool checks every row, column, and box for conflicts, then works through the remaining empty cells until every square has a valid number. If your starting numbers break the rules of sudoku — the same digit twice in a row, column, or box — the tool will tell you exactly that instead of guessing.

Under the hood it uses a method called backtracking. It goes to the first empty square, puts in the smallest number that doesn’t clash with its row, column or box, and moves on to the next square. When it reaches a square where nothing fits, it knows an earlier guess was wrong, so it backs up and tries the next number there instead. A computer can do this thousands of times a second, which is why even a hard 9×9 comes back almost instantly.

Once it has an answer, the solver also checks whether that answer is the only one. A well-made sudoku always has exactly one solution. If the numbers you entered allow more than one, the tool solves it anyway but warns you — usually it means a starting number is missing or was typed in the wrong square.

Worked Example: A 4×4 Sudoku by Hand

Here’s the 4×4 sample that loads when you click Load Sample on the 4×4 size. It has just six starting numbers and exactly one answer. Every row, every column and every 2×2 box has to end up holding 1, 2, 3 and 4 once each.

13
31
42
The puzzle
4123
3241
2314
1432
The solution
  1. Finish the nearly full column. The second column already has 1, 3 and 4. The only number missing is 2, so the empty square in row 2 must be 2.
  2. Use the bottom row. Row 4 has 4 and 2, so it needs 1 and 3. The third column already has a 1 (in row 3), so the 1 can’t go there — the third-column square gets 3 and the first square gets 1.
  3. Work the top-left box. That box already holds 1 and the 2 you just placed, so its two empty squares need 3 and 4. Row 1 already has a 3, so row 1 gets the 4 and the square below it gets the 3.
  4. Finish with singles. Every remaining square now has only one possible number. Row 1 needs a 2; row 2 needs 4 and 1, and the 1 can’t share a column with row 3’s 1; row 3 takes the last 2 and 4.

That “find the square with only one option” habit is the same skill that carries you through a 9×9 — there are just more squares to check.

Tips for Using the Solver

Mr. Puzzle says: the 6×6 grid is the most underrated size in sudoku. It uses the same tricks as the 9×9, but you can see the whole puzzle at a glance, which makes it the best practice ground for spotting singles.

Prefer Solving It Yourself First?

If you'd rather work through the logic on paper before checking your answer here, browse our printable sudoku puzzles in Easy and Hard — all playable right in your browser — or read our complete guide to solving sudoku for corner-starting strategy, pencil marks, and advanced techniques like X-Wing and Swordfish.