Free Sudoku tool

Sudoku Solver Online

Paste any standard 9x9 Sudoku, type the givens into the grid, then solve instantly, reveal one move at a time, or export the puzzle as an 81-character string.

Filled 0
Blanks 81
Solution check Not checked

Enter digits, paste a puzzle string, or load the example grid.

Format: 81 characters read left to right, top to bottom. Use digits 1 to 9 for clues and 0 or . for empty cells.

What a Sudoku solver does

A Sudoku solver takes a standard 9x9 Sudoku grid and calculates a complete answer that obeys the three core rules: every row, every column, and every 3x3 box must contain the digits 1 to 9 exactly once.

That makes a solver useful for more than one kind of player. It helps beginners who need a way out of a dead end, experienced solvers who want to verify a hard puzzle, and puzzle creators who need to test whether a clue set is valid and well formed.

  • Check whether a puzzle is solvable.
  • Reveal a full completed grid.
  • Step through one correct cell at a time.
  • Export and share puzzles in a standard string format.

How to use this Sudoku solver

You can enter the puzzle manually by clicking a cell and pressing a number, or you can paste a full 81-character string into the import box. The import format is popular across Sudoku communities because it is compact, easy to share, and easy to store.

Once the clues are in place, choose Solve to complete the whole board or Step to reveal the next correct move. Step mode is especially useful when you want help without spoiling the entire puzzle.

  • Enter the givens in the grid or paste a puzzle string.
  • Use Solve for the complete answer.
  • Use Step for one correct move at a time.
  • Use Export to copy the current grid as a string.
  • Use Clear to start over.

Puzzle strings, validity, and uniqueness

A Sudoku string contains 81 characters, read left to right and top to bottom. Filled cells use digits 1 to 9. Empty cells use 0 or a dot. This format is ideal for online sharing because it is small and unambiguous.

Validity comes first. If a row, column, or 3x3 box already contains a duplicate digit, the grid is not a valid Sudoku state and no trustworthy solve should continue from there. After the grid passes validation, the solver can search for a solution and, when practical, test whether more than one answer exists.

  • Valid Sudoku input cannot contain duplicate digits in a row.
  • Valid Sudoku input cannot contain duplicate digits in a column.
  • Valid Sudoku input cannot contain duplicate digits in a 3x3 box.
  • A strong published puzzle should normally lead to one unique solution.

Why step-by-step solving matters

Many solver pages only dump the finished answer, which is useful for checking but not great for learning. A step-by-step tool is better when you want to stay in the puzzle and understand where the next confirmed digit belongs.

That makes this kind of page valuable for searchers looking for more than just a quick solve. It supports learning intent, not only answer intent, which is why good Sudoku solver content should explain both the tool and the reasoning around it.

How the solver works behind the scenes

This tool uses a backtracking search with a minimum remaining values style choice: it looks for the emptiest cell with the fewest legal candidates, tries the best options first, and backs out when a contradiction appears. That keeps solving fast even on hard grids.

For uniqueness checking, the solver searches for more than one valid completion. If it finds a second answer, the clue set is not unique. If the grid is extremely open, the page tells you that the puzzle solved but the uniqueness check was too open-ended to confirm quickly.

FAQ

Sudoku solver FAQ

How do I enter a Sudoku puzzle?

You can click cells and type digits 1 to 9, or import an 81-character string that uses 0 or . for empty cells.

Can this solver check whether my Sudoku has one solution?

Yes. After the grid is solved, the tool checks whether another valid completion exists. If a second answer appears, the puzzle is not unique.

What if my grid already has duplicates?

The solver validates the input first. If a row, column, or 3x3 box already breaks Sudoku rules, the page highlights the problem and stops.

What does the Step button do?

Step fills one correct cell from the solved grid instead of revealing the whole answer at once.

Does this Sudoku solver work on mobile?

Yes. The grid, number pad, buttons, and import tools are all designed to work on phones, tablets, and desktop screens.