Skip to content
PrivBay

Sudoku solver and generator

Solve a standard 9×9 grid or generate a fresh puzzle to play. Work directly in the grid or paste the starting clues.

Enter digits in the grid, or paste 81 cells with 0 or . for blanks. Use arrow keys to move.

Ready.

How to solve a puzzle with the Sudoku solver

  1. Enter the starting digits in the grid or paste 81 cells into Paste puzzle text and select Load puzzle.
  2. Fix any marked conflicts, then select Solve to see whether the puzzle has a unique solution.
  3. Select Copy solution if you want the solved grid as nine lines of text.
  4. To play a new puzzle, switch to Generate, choose Starting clues, then select Generate.

Check the clues in a Sudoku puzzle

Use the Sudoku solver when a printed or handwritten Sudoku puzzle has you stuck. Enter only the digits given by the puzzle if you want to check the original. Include your guesses if you want to see whether your current board can still be completed. The solver marks repeated digits in each row, column and three-by-three box before searching. The solution appears below the grid, so you can compare it with the clues and any entries you made.

You can also use the 9×9 grid to check a puzzle you wrote. A valid completion uses every digit from 1 to 9 once per row, column and box. A puzzle intended for play usually has one completion. If the solver finds more than one, try adding a clue where the possible completions could differ.

Play a generated grid

Mode or feature Supported rules in Sudoku solver
Solve mode Accepts 81 digits with 0 or . blanks; flags row/column/box conflicts
Uniqueness check Detects valid single solutions or stops once multiple solutions exist
Generate mode Builds unique single-solution grids (e.g. 40 or 34 starting clues)
Play helpers Toggleable candidate pencil marks, Check puzzle, Reset puzzle, Copy solution

The Sudoku generator starts from a completed 9×9 grid and strips digits while verifying a unique answer at each step. Choose more starting clues for quicker warmups or fewer clues for deeper logical deductions, toggle pencil marks while testing candidates, and use Check puzzle against the verified grid anytime. Prefer a vocabulary challenge? Play the daily word game.

Frequently asked questions

What can I paste into the Sudoku solver?

Paste 81 digits or dots, with zeros or dots for empty cells. Spaces and line breaks are ignored.

Why does a grid with no repeated digits have no solution?

A set of clues can block every possible completion without repeating a digit in any row, column or box.

What happens when a puzzle has multiple solutions?

The solver stops counting after finding two and shows one possible completion.

Does the Sudoku generator make unique puzzles?

Yes. It checks that each generated puzzle has exactly one completion before showing it.

How do I use pencil marks in Sudoku?

In Generate mode, turn on Pencil marks, focus an empty cell and enter a candidate digit. Enter that digit again to remove its mark.

Last updated November 12, 2026